llvm-project/clang/lib
Douglas Gregor 9720642c68 Push nested-name-specifier source location information into elaborated
name types, e.g., "enum clang::NestedNameSpecifier::SpecifierKind".

Aside from the normal changes, this also required some tweaks to the
parser. Essentially, when we're looking at a type name (via
getTypeName()) specifically for the purpose of creating an annotation
token, we pass down the flag that asks for full type-source location
information to be stored within the returned type. That way, we retain
source-location information involving nested-name-specifiers rather
than trying to reconstruct that information later, long after it's
been lost in the parser.

With this change, test/Index/recursive-cxx-member-calls.cpp is showing
much improved results again, since that code has lots of
nested-name-specifiers.

llvm-svn: 126737
2011-03-01 03:11:17 +00:00
..
AST Push nested-name-specifier source location information into elaborated 2011-03-01 03:11:17 +00:00
Analysis Get rid of the areExceptionsEnabled() getter from LangOptions. 2011-02-28 00:33:03 +00:00
Basic Teach TextDiagnosticPrinter to print out '-Werror' in addition to the warning flag for a warning mapped to an error. 2011-02-25 01:28:26 +00:00
CodeGen -fwrapv should turn off the inbounds markers from geps used for pointer 2011-03-01 00:03:48 +00:00
Driver Don't warn about "clang -use-gold-plugin -c ...". With this users can say 2011-02-28 23:29:45 +00:00
Frontend [analyzer] Remove '-analyzer-check-objc-mem' flag, the nominee for best misnomer award. 2011-02-28 19:49:42 +00:00
FrontendTool Intoduce '-analyzer-checker-help' flag which outputs a list of all available static analyzer checkers. 2011-02-25 00:09:51 +00:00
Headers CMake: updated list of installable header files. PR9321. 2011-02-27 13:33:31 +00:00
Index Give some convenient idiomatic accessors to Stmt::child_range and 2011-02-13 04:07:26 +00:00
Lex Rename tok::eom to tok::eod. 2011-02-28 02:37:51 +00:00
Parse Push nested-name-specifier source location information into elaborated 2011-03-01 03:11:17 +00:00
Rewrite Fix objc rewriting bug casting to qualified objective-c pointetr. 2011-02-26 01:31:36 +00:00
Sema Push nested-name-specifier source location information into elaborated 2011-03-01 03:11:17 +00:00
Serialization Push nested-name-specifier source location information into elaborated 2011-03-01 03:11:17 +00:00
StaticAnalyzer [analyzer] Also make sure that the parameter is coming from the current stack frame. 2011-03-01 01:59:41 +00:00
CMakeLists.txt [analyzer] Move the files in lib/StaticAnalyzer to lib/StaticAnalyzer/Core. 2011-02-08 22:30:36 +00:00
Makefile Chris Lattner has strong opinions about directory 2010-12-23 19:38:26 +00:00