hanchenye-llvm-project/clang/test
Douglas Gregor 91f84216f7 Unifies the name-lookup mechanisms used in various parts of the AST
and separates lexical name lookup from qualified name lookup. In
particular:
  * Make DeclContext the central data structure for storing and
    looking up declarations within existing declarations, e.g., members
    of structs/unions/classes, enumerators in C++0x enums, members of
    C++ namespaces, and (later) members of Objective-C
    interfaces/implementations. DeclContext uses a lazily-constructed
    data structure optimized for fast lookup (array for small contexts,
    hash table for larger contexts). 

  * Implement C++ qualified name lookup in terms of lookup into
    DeclContext.

  * Implement C++ unqualified name lookup in terms of
    qualified+unqualified name lookup (since unqualified lookup is not
    purely lexical in C++!)

  * Limit the use of the chains of declarations stored in
    IdentifierInfo to those names declared lexically.

  * Eliminate CXXFieldDecl, collapsing its behavior into
    FieldDecl. (FieldDecl is now a ScopedDecl).

  * Make RecordDecl into a DeclContext and eliminates its
    Members/NumMembers fields (since one can just iterate through the
    DeclContext to get the fields).

llvm-svn: 60878
2008-12-11 16:49:14 +00:00
..
Analysis [static analyzer] Extend VLA size checking to look for undefined sizes. 2008-12-09 00:44:16 +00:00
CodeGen Fix invalid bit-field. 2008-12-06 20:32:39 +00:00
CodeGenObjC Patch to allow a getter call using property dot-syntax notation. 2008-12-10 00:21:50 +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 split into two tests. 2008-11-21 01:04:13 +00:00
Misc fix bogus run line. 2008-08-18 19:54:48 +00:00
Parser Fix PR3172: if we see an eof or } at the top level, reject it. 2008-12-08 21:59:01 +00:00
Preprocessor Add test case for __ASSEMBLER__ definition. 2008-12-01 19:23:47 +00:00
Rewriter Fix <rdar://problem/6429113> clang ObjC rewriter: crash rewriting file with Blocks and properties 2008-12-09 12:56:34 +00:00
Sema Add another complex promotion test. 2008-12-10 23:57:51 +00:00
SemaCXX Unifies the name-lookup mechanisms used in various parts of the AST 2008-12-11 16:49:14 +00:00
SemaObjC The "real" fix for <rdar://problem/6424347> clang on xcode: Assertion failed: (0 && "unexpected type"), function mergeTypes, 2008-12-10 22:14:21 +00:00
SemaObjCXX Add implicit conversions for Objective-C qualified ids, e.g., 2008-11-27 01:19:21 +00:00
Serialization
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