clang-1/lib
Douglas Gregor 1a49af9681 Add QualifiedDeclRefExpr, which retains additional source-location
information for declarations that were referenced via a qualified-id,
e.g., N::C::value. We keep track of the location of the start of the
nested-name-specifier. Note that the difference between
QualifiedDeclRefExpr and DeclRefExpr does have an effect on the
semantics of function calls in two ways:
  1) The use of a qualified-id instead of an unqualified-id suppresses
     argument-dependent lookup
  2) If the name refers to a virtual function, the qualified-id
  version will call the function determined statically while the
  unqualified-id version will call the function determined dynamically
  (by looking up the appropriate function in the vtable).

Neither of these features is implemented yet, but we do print out
qualified names for QualifiedDeclRefExprs as part of the AST printing.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61789 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-06 05:10:23 +00:00
..
AST Add QualifiedDeclRefExpr, which retains additional source-location 2009-01-06 05:10:23 +00:00
Analysis Add QualifiedDeclRefExpr, which retains additional source-location 2009-01-06 05:10:23 +00:00
Basic Misc changes to SourceManager::ContentCache: 2009-01-06 01:55:26 +00:00
CodeGen Add QualifiedDeclRefExpr, which retains additional source-location 2009-01-06 05:10:23 +00:00
Driver Add Fedora 10 GCC paths. 2008-12-25 09:28:01 +00:00
Headers Add a MS specific intrinsic. 2008-12-27 04:26:15 +00:00
Lex Optimize stringification a bit to avoid std::string thrashing and 2009-01-05 23:04:18 +00:00
Parse rename tok::annot_qualtypename -> tok::annot_typename, which is both 2009-01-06 05:06:21 +00:00
Rewrite CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Sema Add QualifiedDeclRefExpr, which retains additional source-location 2009-01-06 05:10:23 +00:00
CMakeLists.txt CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Makefile add a libDriver, for now only move the text diangostics stuff from Driver to there 2008-08-05 23:33:20 +00:00