Skip to content
  1. Sep 28, 2011
  2. Sep 26, 2011
  3. Sep 12, 2011
  4. Aug 29, 2011
  5. Aug 04, 2011
  6. Jul 26, 2011
  7. Jul 25, 2011
  8. Jul 21, 2011
  9. Jul 14, 2011
    • Chandler Carruth's avatar
      NestedMacroInstantiations -> NestedMacroExpansions · de81fc85
      Chandler Carruth authored
      This is switches all the interfaces points (and most of the commenst
      / local variables I saw on my way through) regarding the
      NestedMacroInstantiations bit.
      
      The libclang enums corresponding to this state were renamed, but
      a legacy enum was added with the old name, and the same value to keep
      existing clients working. I've added a documentation blurb for it, but
      let me know if there is a canonical way to document legacy elemenst of
      the libclang interface.
      
      No functionality changed here, even in tests.
      
      llvm-svn: 135141
      de81fc85
  10. Jul 10, 2011
  11. Jul 07, 2011
  12. Jul 06, 2011
  13. Jun 17, 2011
  14. Jun 16, 2011
  15. May 13, 2011
  16. May 06, 2011
    • Douglas Gregor's avatar
      Introduce a new libclang parsing flag, · 998caead
      Douglas Gregor authored
      CXTranslationUnit_NestedMacroInstantiations, which indicates whether
      we want to see "nested" macro instantiations (e.g., those that occur
      inside other macro instantiations) within the detailed preprocessing
      record. Many clients (e.g., those that only care about visible tokens)
      don't care about this information, and in code that uses preprocessor
      metaprogramming, this information can have a very high cost.
      
      Addresses <rdar://problem/9389320>.
      
      llvm-svn: 130990
      998caead
  17. May 04, 2011
  18. Apr 20, 2011
  19. Apr 19, 2011
  20. Mar 09, 2011
  21. Feb 28, 2011
  22. Feb 20, 2011
  23. Feb 19, 2011
  24. Feb 18, 2011
  25. Feb 10, 2011
  26. Feb 04, 2011
  27. Jan 31, 2011
  28. Jan 27, 2011
  29. Nov 30, 2010
  30. Nov 19, 2010
  31. Nov 16, 2010
    • Ted Kremenek's avatar
      Change CXTranslationUnit to not directly cast to an ASTUnit*, · 91554285
      Ted Kremenek authored
      but to wrap both an ASTUnit and a "string pool"
      that will be used for fast USR generation.
      
      This requires a bunch of mechanical changes, as
      there was a ton of code that assumed that CXTranslationUnit
      and ASTUnit* were the same.
      
      Along with this change, introduce CXStringBuf,
      which provides an llvm::SmallVector<char> backing
      for repeatedly generating CXStrings without a huge
      amount of malloc() traffic.  This requires making
      some changes to the representation of CXString
      by renaming a few fields (but keeping the size
      of the object the same).
      
      llvm-svn: 119337
      91554285
    • Ted Kremenek's avatar
      Move CXString creation/management routines into · 4b4f3699
      Ted Kremenek authored
      their own .cpp file and make the interpretation
      of its flags private.
      
      llvm-svn: 119319
      4b4f3699
    • Douglas Gregor's avatar
      Tweak libclang's heuristics for building precompiled preambles and · c6592929
      Douglas Gregor authored
      caching global code-completion results. In particular, don't perform
      either operation the first time we parse, but do both after the first
      reparse. 
      
      llvm-svn: 119285
      c6592929
  32. Nov 09, 2010
    • Douglas Gregor's avatar
      ntroduce clang_getSpellingLocation() into libclang, to provide the · 229bebde
      Douglas Gregor authored
      location where we're spelling a token even within a
      macro. clang_getInstantiationLocation() tells where we instantiated
      the macro.
      
      I'm still not thrilled with the CXSourceLocation/CXSourceRange APIs,
      since they gloss over macro-instantiation information.
      
      Take 2: this time, adjusted tests appropriately and used a "simple"
      approach to the spelling location.
      
      llvm-svn: 118495
      229bebde
Loading