Skip to content
  1. Jan 06, 2009
    • Douglas Gregor's avatar
      Add QualifiedDeclRefExpr, which retains additional source-location · c7acfdfe
      Douglas Gregor authored
      information for declarations that were referenced via a qualified-id,
      e.g., N::C::value. We keep track of the location of the start of the
      nested-name-specifier. Note that the difference between
      QualifiedDeclRefExpr and DeclRefExpr does have an effect on the
      semantics of function calls in two ways:
        1) The use of a qualified-id instead of an unqualified-id suppresses
           argument-dependent lookup
        2) If the name refers to a virtual function, the qualified-id
        version will call the function determined statically while the
        unqualified-id version will call the function determined dynamically
        (by looking up the appropriate function in the vtable).
      
      Neither of these features is implemented yet, but we do print out
      qualified names for QualifiedDeclRefExprs as part of the AST printing.
      
      llvm-svn: 61789
      c7acfdfe
    • Chris Lattner's avatar
      rename tok::annot_qualtypename -> tok::annot_typename, which is both · a8a3f73a
      Chris Lattner authored
      shorter and  more accurate.  The type name might not be qualified.
      
      llvm-svn: 61788
      a8a3f73a
    • Ted Kremenek's avatar
      Misc changes to SourceManager::ContentCache: · 12c2af44
      Ted Kremenek authored
      - 'Buffer' is now private and must be accessed via 'getBuffer()'.
         This paves the way for lazily mapping in source files on demand.
      - Added 'getSize()' (which gets the size of the content without
         necessarily accessing the MemBuffer) and 'getSizeBytesMapped()'.
      - Modifed SourceManager to use these new methods.  This reduces the
        number of places that actually access the MemBuffer object for a file
        to those that actually look at the character data.
      
      These changes result in no performance change for -fsyntax-only on Cocoa.h.
      
      llvm-svn: 61782
      12c2af44
    • Chris Lattner's avatar
      Optimize stringification a bit to avoid std::string thrashing and · 933d5ffc
      Chris Lattner authored
      avoid the version of Preprocessor::getSpelling that returns an 
      std::string.
      
      llvm-svn: 61769
      933d5ffc
  2. Jan 05, 2009
  3. Jan 04, 2009
  4. Dec 31, 2008
  5. Dec 30, 2008
  6. Dec 29, 2008
  7. Dec 28, 2008
  8. Dec 27, 2008
  9. Dec 26, 2008
Loading