llvm-project/clang/lib/Frontend
Douglas Gregor ffed1cb339 Introduce a limit on the depth of the template instantiation backtrace
we will print with each error that occurs during template
instantiation. When the backtrace is longer than that, we will print
N/2 of the innermost backtrace entries and N/2 of the outermost
backtrace entries, then skip the middle entries with a note such as:

  note: suppressed 2 template instantiation contexts; use
  -ftemplate-backtrace-limit=N to change the number of template
  instantiation entries shown

This should eliminate some excessively long backtraces that aren't
providing any value.

llvm-svn: 101882
2010-04-20 07:18:24 +00:00
..
ASTConsumers.cpp Add raw_ostream operators to NamedDecl for convenience. Switch over all users of getNameAsString on a stream. 2010-04-17 09:33:03 +00:00
ASTMerge.cpp Make Diagnostic reference-counted, which is simpler than juggling 2010-04-05 23:52:57 +00:00
ASTUnit.cpp Fix -Wcast-qual warnings. 2010-04-19 16:39:44 +00:00
AnalysisConsumer.cpp Add raw_ostream operators to NamedDecl for convenience. Switch over all users of getNameAsString on a stream. 2010-04-17 09:33:03 +00:00
CMakeLists.txt Update CMake makefiles 2010-02-25 04:52:01 +00:00
CacheTokens.cpp Make some typedefs private 2010-03-18 07:45:30 +00:00
CodeGenAction.cpp Fix -Wcast-qual warnings. 2010-04-19 16:39:44 +00:00
CompilerInstance.cpp Once we've emitted a fatal diagnostic, keep counting errors but with a 2010-04-14 22:19:45 +00:00
CompilerInvocation.cpp Introduce a limit on the depth of the template instantiation backtrace 2010-04-20 07:18:24 +00:00
DeclXML.cpp Improve XML output for C++ classes, from Olaf Krzikalla! 2010-03-08 18:51:03 +00:00
DependencyFile.cpp PPCallbacks: Add hook for reaching the end of the main file, and fix DependencyFile to not do work in its destructor. 2010-03-23 05:09:10 +00:00
DiagChecker.cpp Kill a few more random stderr uses. 2009-12-03 09:14:02 +00:00
DocumentXML.cpp First part of changes to eliminate problems with cv-qualifiers and 2009-11-16 21:35:15 +00:00
FixItRewriter.cpp Add a write(raw_ostream&) method to RewriteBuffer. This uses an inefficient 2010-04-16 18:49:45 +00:00
FrontendAction.cpp Make Diagnostic reference-counted, which is simpler than juggling 2010-04-05 23:52:57 +00:00
FrontendActions.cpp Teach -fixit to modify all of its inputs instead of just the main file, unless 2010-04-15 06:46:58 +00:00
FrontendOptions.cpp recognize .hpp as c++ (needed for ./configure'ing boost) 2009-11-17 15:36:35 +00:00
GeneratePCH.cpp Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend. 2009-11-28 10:07:24 +00:00
HTMLDiagnostics.cpp Reinstate my CodeModificationHint -> FixItHint renaming patch, without 2010-03-31 17:46:05 +00:00
HTMLPrint.cpp Fix for PR4642: move work in HTMLPrinter out of the destructor. 2009-12-12 03:36:52 +00:00
InitHeaderSearch.cpp Fix -Wcast-qual warnings. 2010-04-19 16:39:44 +00:00
InitPreprocessor.cpp Only predefine the macro _GNU_SOURCE in C++ mode when we're on a 2010-04-16 06:31:05 +00:00
LangStandards.cpp rename llvm::llvm_report_error -> llvm::report_fatal_error 2010-04-07 22:58:06 +00:00
Makefile Allow users to set CPPFLAGS and CXXFLAGS on the make command line. 2010-03-12 22:55:16 +00:00
PCHReader.cpp Add support for '-fgnu-keywords' and '-fasm' to Clang's driver. They are not 2010-04-17 20:17:31 +00:00
PCHReaderDecl.cpp Keep track of the actual storage specifier written on a variable or 2010-04-19 22:54:31 +00:00
PCHReaderStmt.cpp Use ASTVector instead of std::vector for the Exprs in InitListExpr. Performance 2010-04-13 23:39:13 +00:00
PCHWriter.cpp Add support for '-fgnu-keywords' and '-fasm' to Clang's driver. They are not 2010-04-17 20:17:31 +00:00
PCHWriterDecl.cpp Keep track of the actual storage specifier written on a variable or 2010-04-19 22:54:31 +00:00
PCHWriterStmt.cpp Extend ObjCMessageExpr for class method sends with the source location 2010-03-08 16:40:19 +00:00
PlistDiagnostics.cpp Move BugReporter.h, PathDiagnostic.h, and BugType.h to 'include/Checker/BugReporter' 2010-01-25 17:10:22 +00:00
PrintParserCallbacks.cpp Make CXXScopeSpec invalid when incomplete, and propagate that into any 2010-04-08 16:38:48 +00:00
PrintPreprocessedOutput.cpp Remove this hard-coded buffer size. In some basic experiments preprocessing 2010-04-16 16:28:05 +00:00
RewriteMacros.cpp Entering the main source file in the preprocessor can fail if the 2010-03-17 15:44:30 +00:00
RewriteObjC.cpp Keep track of the actual storage specifier written on a variable or 2010-04-19 22:54:31 +00:00
RewriteTest.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
StmtXML.cpp Use the llvm coding convention for indentation for switch. 2010-01-20 02:03:14 +00:00
TextDiagnosticBuffer.cpp Add TextDiagnosticBuffer::FlushDiagnostics, for forwarding the buffered diagnostics to a different diagnostics engine. 2009-11-30 08:41:34 +00:00
TextDiagnosticPrinter.cpp Fix a bug in caret-line-pruning logic that only happens when we have a 2010-04-16 00:23:51 +00:00
TypeXML.cpp Use the llvm coding convention for indentation for switch. 2010-01-20 02:03:14 +00:00
VerifyDiagnosticsClient.cpp Fix PR5633 by making the preprocessor handle the case where we can 2009-11-30 04:18:44 +00:00
Warnings.cpp Introduce a limit on the depth of the template instantiation backtrace 2010-04-20 07:18:24 +00:00