1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00
Find a file
Nathan Ridge 48d5342815 Bug 519121 - Avoid building excessively long type strings in ASTTypeUtil
A type can appear as a constituent of another type multiple times.
For example, in 'A<T, T>', 'T' appears as a constituent twice.

When building a type string for 'A<T, T>', this means the type string
of 'T' will appear in the type string of 'A<T, T>' twice.

If such a duplication occurs at every level of a deeply nested type
structure, the length of the type string can become exponential in
the nesting depth.

To avoid this, an optimization is added where, past a length threshold,
type strings refer to constituent types "by reference" rather than
by containing the contents of the constituent type's type string.

Change-Id: Iaea268449a11b598f113a49fc61e9993bb6451da
2017-10-16 13:53:43 -04:00
.mvn releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00
build Allow for changing manually setting toolchains for build configs. 2017-10-12 16:03:58 -04:00
codan Bug 525438 - Fix file path comparison in AbstractIndexAstChecker.getLineCommentsForLocation() 2017-10-13 13:53:17 -04:00
core Bug 519121 - Avoid building excessively long type strings in ASTTypeUtil 2017-10-16 13:53:43 -04:00
cross Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
debug Allow for changing manually setting toolchains for build configs. 2017-10-12 16:03:58 -04:00
doc Bug 517516: Update N&N in CDT docs 2017-05-31 07:39:52 -04:00
dsf Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
dsf-gdb Allow for changing manually setting toolchains for build configs. 2017-10-12 16:03:58 -04:00
jtag Allow for changing manually setting toolchains for build configs. 2017-10-12 16:03:58 -04:00
launch Fix Default toolchain name in common build tab. 2017-10-16 13:49:38 -04:00
llvm Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
lrparser Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
lsp4e-cpp lsp4e-cpp: Generate LSP FileEvents from ResourceChangeEvents 2017-09-26 14:07:03 -04:00
memory Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
native Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
qt Allow for changing manually setting toolchains for build configs. 2017-10-12 16:03:58 -04:00
releng Update cdt.target file to point to '4.7' instead of '4.7milestones', 2017-10-11 14:15:15 -04:00
remote Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
testsrunner Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
toolchains/arduino Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
upc Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
util Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
visualizer Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
windows Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
xlc Add UI tests plugin for CMake. Fix a couple of bugs it found. 2017-10-06 16:36:51 -04:00
.gitignore Ignore NFS-created files. 2012-11-08 13:34:54 -08:00
pom.xml Point help docs run at released 4.7 platform. 2017-10-12 16:54:07 -04:00