Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | libclang: wrap CXString implementation into 'namespace cxstring' | Dmitri Gribenko | 2013-02-03 | 1 | -19/+24 | |
| | | | | | | This removes quite a few 'cxstring::' qualifications where they are obvious. llvm-svn: 174286 | |||||
* | libclang: remove 'using namespace cxstring' | Dmitri Gribenko | 2013-02-03 | 10 | -13/+3 | |
| | | | | llvm-svn: 174285 | |||||
* | libclang: migrate IndexingDeclVisitor to ConstDeclVisitor | Dmitri Gribenko | 2013-02-03 | 1 | -36/+38 | |
| | | | | llvm-svn: 174284 | |||||
* | libclang: remove unneeded const_cast | Dmitri Gribenko | 2013-02-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 174283 | |||||
* | libclang: migrate USRGenerator to ConstDeclVisitor | Dmitri Gribenko | 2013-02-03 | 1 | -59/+62 | |
| | | | | llvm-svn: 174281 | |||||
* | libclang: remove unneeded const_casts | Dmitri Gribenko | 2013-02-03 | 2 | -4/+3 | |
| | | | | llvm-svn: 174280 | |||||
* | libclang: introduce cxstring::{createRef,createDup} for StringRefs | Dmitri Gribenko | 2013-02-02 | 11 | -90/+111 | |
| | | | | | | Also migrate all clients from the old API. llvm-svn: 174263 | |||||
* | libclang: introduce cxstring::{createRef,createDup} for C strings | Dmitri Gribenko | 2013-02-02 | 8 | -181/+200 | |
| | | | | | | Also migrate all clients from the old API. llvm-svn: 174238 | |||||
* | Comment parsing: improve the fidelity of XML output for many block commands | Dmitri Gribenko | 2013-02-01 | 1 | -3/+42 | |
| | | | | | | | | | | | | | | This change introduces a 'kind' attribute for the <Para> tag, that captures the kind of the parent block command. For example: \todo Meow. used to be just <Para>Meow.</Para>, but now it is <Para kind="todo">Meow.</Para> llvm-svn: 174216 | |||||
* | libclang: document the purpose of createNull() | Dmitri Gribenko | 2013-02-01 | 1 | -0/+2 | |
| | | | | llvm-svn: 174195 | |||||
* | libclang: add comments for CXStringFlag | Dmitri Gribenko | 2013-02-01 | 1 | -1/+12 | |
| | | | | llvm-svn: 174194 | |||||
* | libclang: itroduce cxstring::createEmpty() | Dmitri Gribenko | 2013-02-01 | 10 | -43/+53 | |
| | | | | llvm-svn: 174174 | |||||
* | libclang: introduce cxstring::createNull() | Dmitri Gribenko | 2013-02-01 | 6 | -26/+36 | |
| | | | | llvm-svn: 174173 | |||||
* | [Comment parsing] Add support for recognizing | Fariborz Jahanian | 2013-01-31 | 1 | -2/+15 | |
| | | | | | | | | \headerfile command and representing it in an xml document. Patch reviewed by Dmitri Gribenko. // rdar://12397511 llvm-svn: 174109 | |||||
* | Attempt to fix Windows build breakage. | Evgeniy Stepanov | 2013-01-31 | 1 | -1/+2 | |
| | | | | llvm-svn: 174060 | |||||
* | Allow the computation of the base priority for a declaration code completion ↵ | Douglas Gregor | 2013-01-31 | 1 | -1/+1 | |
| | | | | | | result to consider the completion context llvm-svn: 174037 | |||||
* | libclang: refactor CXStringPool: make it a class | Dmitri Gribenko | 2013-01-26 | 5 | -43/+48 | |
| | | | | | | | We are not exposing the pool or string buffers to libclang users, so no need to maintain a procedural interface. llvm-svn: 173595 | |||||
* | libclang: type safety for CXTranslationUnitImpl::CIdx | Dmitri Gribenko | 2013-01-26 | 4 | -6/+6 | |
| | | | | llvm-svn: 173590 | |||||
* | libclang: type safety for CXTranslationUnitImpl::FormatContext | Dmitri Gribenko | 2013-01-26 | 3 | -15/+10 | |
| | | | | llvm-svn: 173589 | |||||
* | libclang: some type safety for CXTranslationUnitImpl's internals | Dmitri Gribenko | 2013-01-26 | 3 | -10/+13 | |
| | | | | | | | There is no reason to store pointers as 'void*' in CXTranslationUnitImpl, since it does not affect libclang ABI. llvm-svn: 173588 | |||||
* | libclang: factor out the frequent pattern static_cast<ASTUnit *>(TU->TUData) | Dmitri Gribenko | 2013-01-26 | 14 | -67/+72 | |
| | | | | | | into a getter cxtu::getASTUnit(TU) llvm-svn: 173585 | |||||
* | libclang: make getCursorParentDecl() return 'const Decl *' | Dmitri Gribenko | 2013-01-26 | 3 | -4/+4 | |
| | | | | llvm-svn: 173584 | |||||
* | libclang: change getCursorAttr() to return 'const Attr *' | Dmitri Gribenko | 2013-01-26 | 3 | -7/+7 | |
| | | | | llvm-svn: 173583 | |||||
* | libclang: make getCursorStmt() and getCursorExpr() return const pointers | Dmitri Gribenko | 2013-01-26 | 4 | -169/+180 | |
| | | | | | | Also change EnqueueVisitor to use ConstStmtVisitor as a consequence. llvm-svn: 173577 | |||||
* | [libclang] Introduce clang_getFileUniqueID which returns a struct | Argyrios Kyrtzidis | 2013-01-26 | 2 | -0/+16 | |
| | | | | | | | | | | | for a CXFile containing device/inode/modification time. Intended to be useful as a key associated with a unique file across an indexing session. rdar://13091837 llvm-svn: 173559 | |||||
* | libclang: change return type of getCursorDecl() to 'const Decl *' | Dmitri Gribenko | 2013-01-23 | 8 | -159/+167 | |
| | | | | llvm-svn: 173278 | |||||
* | Remove uneeded casts | Dmitri Gribenko | 2013-01-23 | 2 | -6/+4 | |
| | | | | llvm-svn: 173269 | |||||
* | Explicitly cast away the const-ness instead of doing it implicitly. | Bill Wendling | 2013-01-23 | 2 | -5/+5 | |
| | | | | llvm-svn: 173241 | |||||
* | Explicitly cast away the const-ness instead of doing it implicitly. | Bill Wendling | 2013-01-23 | 1 | -5/+9 | |
| | | | | llvm-svn: 173232 | |||||
* | Implement OpenCL event_t as Clang builtin type, including event_t related ↵ | Guy Benyei | 2013-01-20 | 2 | -0/+2 | |
| | | | | | | OpenCL restrictions (OpenCL 1.2 spec 6.9) llvm-svn: 172973 | |||||
* | update to use the new BitcodeCursor readRecord that takes a StringRef blob ↵ | Chris Lattner | 2013-01-20 | 1 | -38/+26 | |
| | | | | | | | | parameter, and adopt "advance" in more places. llvm-svn: 172951 | |||||
* | Nuke SetUpBuildDumpLog. | Sean Silva | 2013-01-20 | 2 | -5/+1 | |
| | | | | | | | Also, it was the only reason that `argc` and `argv` were being passed into createDiagnostics, so remove those parameters and clean up callers. llvm-svn: 172945 | |||||
* | random tidying | Chris Lattner | 2013-01-19 | 1 | -6/+3 | |
| | | | | llvm-svn: 172920 | |||||
* | update header comment. | Chris Lattner | 2013-01-19 | 1 | -12/+12 | |
| | | | | llvm-svn: 172909 | |||||
* | this depends on the bitcode reader, since it is using it. | Chris Lattner | 2013-01-19 | 2 | -1/+2 | |
| | | | | llvm-svn: 172905 | |||||
* | Re-sort all the headers. Lots of regressions have crept in here. | Chandler Carruth | 2013-01-19 | 6 | -7/+8 | |
| | | | | | | | | | | Manually fix the order of UnwrappedLineParser.cpp as that one didn't have its associated header as the first header. This also uncovered a subtle inclusion order dependency as CLog.h didn't include LLVM.h to pick up using declarations it relied upon. llvm-svn: 172892 | |||||
* | [libclang] In clang_reparseTranslationUnit_Impl, move the check whether TU is | Argyrios Kyrtzidis | 2013-01-16 | 1 | -3/+2 | |
| | | | | | | null before using it. llvm-svn: 172632 | |||||
* | [libclang] In clang_getCursorType, don't crash if the translation unit is not | Argyrios Kyrtzidis | 2013-01-16 | 1 | -0/+3 | |
| | | | | | | set on the cursor; return a null type in such a case. llvm-svn: 172625 | |||||
* | Fix Casting | David Greene | 2013-01-15 | 1 | -6/+11 | |
| | | | | | | Use const_cast<> to avoid a cast-away-const error. llvm-svn: 172565 | |||||
* | Fix Casting | David Greene | 2013-01-15 | 1 | -2/+2 | |
| | | | | | | Use const_cast<> to avoid a cast-away-const error. llvm-svn: 172564 | |||||
* | Fix Casting | David Greene | 2013-01-15 | 1 | -1/+1 | |
| | | | | | | Use const_cast<> to avoid a cast-away-const error. llvm-svn: 172563 | |||||
* | Fix Casting | David Greene | 2013-01-15 | 1 | -1/+2 | |
| | | | | | | Use const_cast<> to avoid a cast-away-const error. llvm-svn: 172562 | |||||
* | libclang: remove a few const_casts | Dmitri Gribenko | 2013-01-14 | 4 | -9/+8 | |
| | | | | llvm-svn: 172373 | |||||
* | Constify argument of Preprocessor::getMacroInfoHistory and propagate to | Dmitri Gribenko | 2013-01-14 | 2 | -2/+2 | |
| | | | | | | callers, removing unneeded const_cast llvm-svn: 172372 | |||||
* | Remove useless 'llvm::' qualifier from names like StringRef and others that are | Dmitri Gribenko | 2013-01-12 | 6 | -9/+9 | |
| | | | | | | brought into 'clang' namespace by clang/Basic/LLVM.h llvm-svn: 172323 | |||||
* | libclang: use C++ casts in CXString.cpp | Dmitri Gribenko | 2013-01-11 | 1 | -4/+5 | |
| | | | | llvm-svn: 172272 | |||||
* | libclang: constness for CXString | Dmitri Gribenko | 2013-01-11 | 1 | -3/+3 | |
| | | | | llvm-svn: 172270 | |||||
* | [libclang] Add some constness in CXSourceLocation and CXSourceRange. | Argyrios Kyrtzidis | 2013-01-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 172261 | |||||
* | libclang: remove unneeded casts | Dmitri Gribenko | 2013-01-11 | 1 | -9/+9 | |
| | | | | llvm-svn: 172253 | |||||
* | libclang: change CXCursor to store 'const void *' pointers for | Dmitri Gribenko | 2013-01-11 | 6 | -93/+101 | |
| | | | | | | const-correctness, and update all users llvm-svn: 172252 |