summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXString.h
Commit message (Collapse)AuthorAgeFilesLines
* Header guard canonicalization, clang part.Benjamin Kramer2014-08-131-2/+2
| | | | | | Modifications made by clang-tidy with minor tweaks. llvm-svn: 215557
* libclang: refactor handling of unsaved_filesAlp Toker2014-07-071-0/+4
| | | | | | | Consolidate CXUnsavedFile argument handling in API functions to support a wider cleanup of various file remapping schemes in the frontend. llvm-svn: 212427
* Sort all the #include lines with LLVM's utils/sort_includes.py whichChandler Carruth2014-01-071-1/+1
| | | | | | | encodes the canonical rules for LLVM's style. I noticed this had drifted quite a bit when cleaning up LLVM, so wanted to clean up Clang as well. llvm-svn: 198686
* libclang: introduce cxstring::{createRef,createDup} for StringRefsDmitri Gribenko2013-02-021-2/+19
| | | | | | Also migrate all clients from the old API. llvm-svn: 174263
* libclang: introduce cxstring::{createRef,createDup} for C stringsDmitri Gribenko2013-02-021-2/+11
| | | | | | Also migrate all clients from the old API. llvm-svn: 174238
* libclang: document the purpose of createNull()Dmitri Gribenko2013-02-011-0/+2
| | | | llvm-svn: 174195
* libclang: itroduce cxstring::createEmpty()Dmitri Gribenko2013-02-011-0/+3
| | | | llvm-svn: 174174
* libclang: introduce cxstring::createNull()Dmitri Gribenko2013-02-011-0/+3
| | | | llvm-svn: 174173
* libclang: refactor CXStringPool: make it a classDmitri Gribenko2013-01-261-13/+25
| | | | | | | We are not exposing the pool or string buffers to libclang users, so no need to maintain a procedural interface. llvm-svn: 173595
* Sort #include lines for tools/...Chandler Carruth2012-12-041-1/+1
| | | | | | Completely automated with sort_includes.py llvm-svn: 169240
* 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