hanchenye-llvm-project/clang/Driver
Douglas Gregor fcd5db3bfa Limit the template instantiation depth to some user-configurable value
(default: 99). Beyond this limit, produce an error and consider the
current template instantiation a failure.

The stack we're building to track the instantiations will, eventually,
be used to produce instantiation backtraces from diagnostics within
template instantiation. However, we're not quite there yet.

This adds a new Clang driver option -ftemplate-depth=NNN, which should
eventually be generated from the GCC command-line operation
-ftemplate-depth-NNN (note the '-' rather than the '='!). I did not
make the driver changes to do this mapping.

llvm-svn: 66513
2009-03-10 00:06:19 +00:00
..
ASTConsumers.cpp Fix warnings in build on clang-x86_64-freebsd buildbot. 2009-03-07 18:35:41 +00:00
ASTConsumers.h move debug info generation flag into CompileOptions. 2009-03-09 22:00:34 +00:00
Analyses.def Make 'RangeConstraintManager' the default ConstraintManager. 2009-02-20 21:49:22 +00:00
AnalysisConsumer.cpp Rename lib/Driver (etc) to lib/Frontend in prep for the *actual* 2009-03-02 06:16:29 +00:00
Backend.cpp move debug info generation flag into CompileOptions. 2009-03-09 22:00:34 +00:00
CMakeLists.txt Implement the machinery that can process TableGenerated warning options. 2009-03-06 17:41:35 +00:00
CacheTokens.cpp PTH: Cache *un-cleaned* spellings for literals instead of cleaned spellings. 2009-02-24 01:26:56 +00:00
DependencyFile.cpp fix a crash I introduced, thanks to Ted for the awesome reduced 2009-01-28 05:42:38 +00:00
DiagChecker.cpp Rename lib/Driver (etc) to lib/Frontend in prep for the *actual* 2009-03-02 06:16:29 +00:00
HTMLPrint.cpp this massive patch introduces a simple new abstraction: it makes 2009-01-17 06:22:33 +00:00
Makefile Rename lib/Driver (etc) to lib/Frontend in prep for the *actual* 2009-03-02 06:16:29 +00:00
PrintParserCallbacks.cpp Implemented access check for ivars accessed inside 2009-03-04 22:30:12 +00:00
PrintPreprocessedOutput.cpp factor token concatenation avoidance logic out of 2009-02-13 00:46:04 +00:00
RewriteBlocks.cpp Create a new TypeNodes.def file that enumerates all of the types, 2009-02-26 23:50:07 +00:00
RewriteMacros.cpp rename getFullFilePos -> getFileOffset. 2009-01-27 06:27:13 +00:00
RewriteObjC.cpp Fix <rdar://problem/6640991> Exception handling executes wrong clause (Daniel, please verify). 2009-03-03 19:52:17 +00:00
RewriteTest.cpp Add newline at the end of file, to silence compiler warning. 2008-10-20 08:12:48 +00:00
SerializationTest.cpp [LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that 2008-11-13 05:09:21 +00:00
Warnings.cpp implement -Wsystem-headers, eliminating the wierd thing I added for testing. 2009-03-09 20:44:22 +00:00
clang.cpp Limit the template instantiation depth to some user-configurable value 2009-03-10 00:06:19 +00:00
clang.h Implement the machinery that can process TableGenerated warning options. 2009-03-06 17:41:35 +00:00