Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-05-23 | [Tooling][libclang] Remove unused CompilationDatabase::MappedSources | Krasimir Georgiev | 1 | -22/+9 | |
Summary: This field is never assigned to and it's only ever read from libclang. This patch removes it and adapts libclang to return constants. Reviewers: klimek, bkramer Reviewed By: klimek Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D32351 llvm-svn: 303635 | |||||
2016-12-17 | [libclang] Remove the 'extern "C"' blocks from the implementation files. | Argyrios Kyrtzidis | 1 | -4/+0 | |
These are unnecessary, the declarations already carry the 'extern C' property, and if there is mismatch between declaration and definition then we will get linker errors via libclang.exports. llvm-svn: 290025 | |||||
2015-09-11 | [tooling] In CompileCommand, Expose the 'file' that was associated with the ↵ | Argyrios Kyrtzidis | 1 | -0/+10 | |
command. llvm-svn: 247468 | |||||
2014-08-08 | CompilationDatabase: Sure-up ownership of compilation databases using ↵ | David Blaikie | 1 | -3/+3 | |
std::unique_ptr Diving into the memory leaks fixed by r213851 there was one case of a memory leak of a CompilationDatabase due to not properly taking ownership of the result of "CompilationDatabase::autoDetectFromSource". Given that both implementations and callers have been using unique_ptr to own CompilationDatabase objects - make this explicit in the API to reduce the risk of further leaks. llvm-svn: 215215 | |||||
2014-06-08 | [C++11] Use 'nullptr'. Tools edition. | Craig Topper | 1 | -4/+4 | |
llvm-svn: 210422 | |||||
2014-03-20 | Tooling: Move heavyweight vectors around instead of copying. | Benjamin Kramer | 1 | -8/+6 | |
While there convert to range-based for loops. No functionality change. llvm-svn: 204338 | |||||
2013-12-05 | Fix a tranche of comment, test and doc typos | Alp Toker | 1 | -1/+1 | |
llvm-svn: 196510 | |||||
2013-11-13 | Add an optional mapping from source paths to source contents. | Manuel Klimek | 1 | -0/+36 | |
This allows compilation database implementations for distributed build systems to hand all data to the client to make parsing independent of the file system. llvm-svn: 194571 | |||||
2013-08-19 | Use cstdio instead of stdio.h | Dmitri Gribenko | 1 | -1/+1 | |
llvm-svn: 188678 | |||||
2013-08-18 | libclang: cleanup unused includes in public header | Dmitri Gribenko | 1 | -0/+1 | |
llvm-svn: 188625 | |||||
2013-02-03 | libclang: remove 'using namespace cxstring' | Dmitri Gribenko | 1 | -1/+0 | |
llvm-svn: 174285 | |||||
2013-02-02 | libclang: introduce cxstring::{createRef,createDup} for C strings | Dmitri Gribenko | 1 | -2/+2 | |
Also migrate all clients from the old API. llvm-svn: 174238 | |||||
2013-02-01 | libclang: introduce cxstring::createNull() | Dmitri Gribenko | 1 | -3/+3 | |
llvm-svn: 174173 | |||||
2012-12-04 | Sort #include lines for tools/... | Chandler Carruth | 1 | -1/+1 | |
Completely automated with sort_includes.py llvm-svn: 169240 | |||||
2012-12-04 | [libclang] Avoid copying the CompileCommand related strings when wrapping ↵ | Argyrios Kyrtzidis | 1 | -2/+2 | |
them to a CXString. llvm-svn: 169227 | |||||
2012-12-04 | Introduce CompilationDatabase::getAllCompileCommands() that returns all | Argyrios Kyrtzidis | 1 | -0/+11 | |
compile commands of the database and expose it via the libclang API. llvm-svn: 169226 | |||||
2012-07-03 | [libclang] CompilationDatabase naming and comment fixes | Arnaud A. de Grandmaison | 1 | -12/+11 | |
llvm-svn: 159682 | |||||
2012-06-30 | [libclang] Make implementation filename match the header's name for ↵ | Arnaud A. de Grandmaison | 1 | -0/+130 | |
CXCompilationDatabase llvm-svn: 159493 |