Skip to content
  1. Dec 11, 2008
    • Douglas Gregor's avatar
      Unifies the name-lookup mechanisms used in various parts of the AST · 91f84216
      Douglas Gregor authored
      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
      91f84216
  2. Dec 10, 2008
  3. Dec 09, 2008
  4. Dec 06, 2008
    • Douglas Gregor's avatar
      Introduce basic support for dependent types, type-dependent · 4619e439
      Douglas Gregor authored
      expressions, and value-dependent expressions. This permits us to parse
      some template definitions.
      
      This is not a complete solution; we're missing type- and
      value-dependent computations for most of the expression types, and
      we're missing checks for dependent types and type-dependent
      expressions throughout Sema.
      
      llvm-svn: 60615
      4619e439
  5. Dec 05, 2008
    • Douglas Gregor's avatar
      Representation of template type parameters and non-type template · 5101c24f
      Douglas Gregor authored
      parameters, with some semantic analysis:
        - Template parameters are introduced into template parameter scope
        - Complain about template parameter shadowing (except in Microsoft mode)
      
      Note that we leak template parameter declarations like crazy, a
      problem we'll remedy once we actually create proper declarations for
      templates. 
      
      Next up: dependent types and value-dependent/type-dependent
      expressions.
      
      llvm-svn: 60597
      5101c24f
  6. Dec 04, 2008
  7. Dec 03, 2008
  8. Dec 02, 2008
  9. Dec 01, 2008
  10. Nov 30, 2008
  11. Nov 27, 2008
  12. Nov 26, 2008
  13. Nov 25, 2008
  14. Nov 24, 2008
  15. Nov 22, 2008
  16. Nov 21, 2008
  17. Nov 20, 2008
Loading