hanchenye-llvm-project/clang/lib/Basic
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
..
Builtins.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
CMakeLists.txt Fix cmake failure trying to get SVN info for non-SVN trees. 2009-10-24 20:32:58 +00:00
ConvertUTF.c Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Diagnostic.cpp Introduce a limit on the depth of the template instantiation backtrace 2010-04-20 07:18:24 +00:00
FileManager.cpp Removing trailing directory separator, to make stat work 2009-12-18 14:18:21 +00:00
IdentifierTable.cpp Add support for '-fgnu-keywords' and '-fasm' to Clang's driver. They are not 2010-04-17 20:17:31 +00:00
Makefile -fno-rtti is now the default. 2010-01-24 20:43:31 +00:00
SourceLocation.cpp Update get*LineNumber() and get*ColumnNumber() functions to pass the 2010-03-16 20:53:17 +00:00
SourceManager.cpp Disable diag::err_file_modified on Win32 completely, until someone cares to fix 2010-04-10 01:17:16 +00:00
TargetInfo.cpp clang -cc1: Add a -fno-bitfield-type-align option, for my own testing purposes. 2010-04-15 15:06:22 +00:00
Targets.cpp add haiku support, patch by Paul Davey! 2010-04-11 19:29:39 +00:00
TokenKinds.cpp This patch adds a PUNCTUATOR macro (specialization of TOK) in TokenKinds.def and makes use of it in tok::getTokenSimpleSpelling. 2009-11-28 16:09:28 +00:00
Version.cpp Make sure the raw_string_ostream gets flushed so we don't accidentally return an empty string. 2010-03-05 15:39:20 +00:00