clang-1/test
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
..
Analysis Add an option to make 'RemoveDeadBindings' a configurable behavior. This enables 2008-12-22 01:52:37 +00:00
CodeGen rename these tests to match the attribute. 2009-01-05 23:10:19 +00:00
CodeGenCXX Add codegen support for __null 2008-12-21 22:39:40 +00:00
CodeGenObjC Fix a grep error that caused CodeGenObjC/encode-test.m to fail. 2008-12-28 15:48:05 +00:00
Coverage Patch to diagnose a variety of misuse of property 2008-12-06 01:12:43 +00:00
Driver Change -verify mode to find the "expected-error" and "expected-warning" strings 2008-11-21 01:18:36 +00:00
Lexer rdar://6060752 - don't warn about trigraphs in bcpl-style comments 2008-12-12 07:34:39 +00:00
Misc fix bogus run line. 2008-08-18 19:54:48 +00:00
Parser rename these tests to match the attribute. 2009-01-05 23:10:19 +00:00
Preprocessor Add test case for __ASSEMBLER__ definition. 2008-12-01 19:23:47 +00:00
Rewriter Fix <rdar://problem/6465284> clang ObjC rewriter: objc_super messed up again. 2008-12-23 20:11:22 +00:00
Sema Diagnose declarations that don't declare anything, and fix PR3020. 2008-12-28 15:28:59 +00:00
SemaCXX Add QualifiedDeclRefExpr, which retains additional source-location 2009-01-06 05:10:23 +00:00
SemaObjC add RUN line 2008-12-27 23:47:34 +00:00
SemaObjCXX Add some block-pointer conversions in C++ 2008-12-23 00:53:59 +00:00
Serialization Added "complex.c" (a copy of test/Codegen/complex.) to the serialization 2007-11-29 19:05:51 +00:00
Makefile Add test case for __ASSEMBLER__ definition. 2008-12-01 19:23:47 +00:00
TestRunner.sh Test commit. 2008-10-15 00:26:06 +00:00