summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXString.h
Commit message (Collapse)AuthorAgeFilesLines
* drop more llvm:: prefixes on SmallString<>Dylan Noblesmith2012-02-131-1/+1
| | | | | | More cleanup after r149799. llvm-svn: 150380
* [libclang] Workaround potential race condition with code completion ↵Ted Kremenek2011-08-171-0/+3
| | | | | | | | | AllocatedResults being freed after a CXTranslationUnit. The Container USR's CXString had its underlying data owned by the CXTranslationUnit's string pool. This would result in trying to access freed memory. llvm-svn: 137887
* now that we have a centralized place to do so, add some using declarations forChris Lattner2011-07-201-1/+2
| | | | | | | some common llvm types: stringref and smallvector. This cleans up the codebase quite a bit. llvm-svn: 135576
* Change CXTranslationUnit to not directly cast to an ASTUnit*,Ted Kremenek2010-11-161-2/+22
| | | | | | | | | | | | | | | | | | | 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
* Add CXString.cpp and CXString.hTed Kremenek2010-11-161-0/+33
llvm-svn: 119322
OpenPOWER on IntegriCloud