Skip to content
  1. Dec 11, 2008
    • Douglas Gregor's avatar
      7a4fad1b
    • 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 05, 2008
  3. Dec 04, 2008
  4. Dec 02, 2008
  5. Nov 30, 2008
  6. Nov 29, 2008
  7. Nov 28, 2008
    • Zhongxing Xu's avatar
      Fix a serious bug. · e31a8ebf
      Zhongxing Xu authored
      When initialized, the index of the ElementRegion was unsigned. But the index
      value of the ArraySubscriptExpr is signed. This inconsistency caused the value
      of the array element retrieved to be UnknownVal despite it was initialized to
      symbolic.
      
      This is only a hack. Real fix of this problem is required.
      
      llvm-svn: 60207
      e31a8ebf
    • Zhongxing Xu's avatar
      Use std::make_pair instead of std::pair's ctor. · 85b6e201
      Zhongxing Xu authored
      llvm-svn: 60205
      85b6e201
  8. Nov 27, 2008
  9. Nov 24, 2008
  10. Nov 23, 2008
  11. Nov 22, 2008
  12. Nov 19, 2008
  13. Nov 18, 2008
  14. Nov 16, 2008
  15. Nov 15, 2008
  16. Nov 13, 2008
  17. Nov 12, 2008
  18. Nov 10, 2008
  19. Nov 07, 2008
  20. Nov 02, 2008
  21. Oct 31, 2008
Loading