Skip to content
  1. Dec 26, 2008
  2. Dec 22, 2008
  3. Dec 21, 2008
  4. Dec 20, 2008
  5. Dec 18, 2008
  6. Dec 17, 2008
  7. Dec 16, 2008
  8. Dec 15, 2008
  9. Dec 13, 2008
  10. Dec 12, 2008
  11. 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
  12. Dec 10, 2008
  13. Dec 09, 2008
Loading