Skip to content
  1. Dec 21, 2008
  2. Dec 20, 2008
  3. Dec 18, 2008
  4. Dec 17, 2008
  5. Dec 16, 2008
  6. Dec 15, 2008
  7. Dec 13, 2008
  8. Dec 12, 2008
  9. Dec 11, 2008
    • Douglas Gregor's avatar
      7a4fad1b
    • Douglas Gregor's avatar
      Actually distinguish between RecordDecl::field_iterator and... · e0295613
      Douglas Gregor authored
      Actually distinguish between RecordDecl::field_iterator and RecordDecl::field_const_iterator, propagating the constness down to the FieldDecls.
      
      llvm-svn: 60883
      e0295613
    • 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
  10. Dec 10, 2008
  11. Dec 09, 2008
  12. 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
  13. 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
  14. Dec 04, 2008
  15. Dec 03, 2008
  16. Dec 02, 2008
  17. Dec 01, 2008
Loading