4522f63e00fa6f1276b1d29763a9a4f46f46b6a1 |
|
12-Apr-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] Introduce clang_Location_isInSystemHeader to check if a location resides in a system header. This is a modified patch provided from MikoĊaj Siedlarek! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
aca3e56144308f97f676fa30b07179e1203f7822 |
|
03-Feb-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
libclang: remove 'using namespace cxstring' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174285 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
0c4394c7f63008fbf4d335710b34f71afab362a3 |
|
02-Feb-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
libclang: introduce cxstring::{createRef,createDup} for C strings Also migrate all clients from the old API. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174238 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
dc66adb40ee871b4c578ba615f45d82476c7119e |
|
01-Feb-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
libclang: itroduce cxstring::createEmpty() git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
5694feb5ccd6eb862cb600b55753cecc13794471 |
|
26-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
libclang: factor out the frequent pattern static_cast<ASTUnit *>(TU->TUData) into a getter cxtu::getASTUnit(TU) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
e4ea879fe73581bc70a9bfbfddc7ca06b5c0768b |
|
23-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove uneeded casts git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173269 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
69652660e765ec2bbcf1877ac05c66e91b8fa745 |
|
23-Jan-2013 |
Bill Wendling <isanbard@gmail.com> |
Explicitly cast away the const-ness instead of doing it implicitly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
b1ba0efc3d1dc1daa5d82c40bc504e1f368c4fa0 |
|
19-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Re-sort all the headers. Lots of regressions have crept in here. 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172892 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
3cfa5324ef1c5f75fe5e142bef8050aaf2f03704 |
|
15-Jan-2013 |
David Greene <greened@obbligato.org> |
Fix Casting Use const_cast<> to avoid a cast-away-const error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172564 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
acbe4ba0bec71346e77a2f7360e8920212a07c81 |
|
11-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Replace more usages of __func__ with LLVM_FUNCTION_NAME git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
c6f5c6a58d34833d1fe458a518d5f59462926c7b |
|
10-Jan-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] Enhance logging capabilities of libclang. -provide a "raw_ostream'ish" class to make it convenient to output logging info. -use macros to automate a bit the logging functionality inside libclang functions -when logging, print a stack trace if "LIBCLANG_LOGGING=2" environment is set. -add logging to more functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
2d5c133d3dd95507db63147997109f06e8cfa833 |
|
04-Jan-2013 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] Introduce clang_getFileLocation. Uses of clang_getSpellingLocation should eventually move to calling clang_getFileLocation, and clang_getSpellingLocation should do what its name represents and actually point at the 'spelling' location, e.g. inside a macro definition if the spelling of a token came from that. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
6ee225c8d4381e728c73252ed589f13e9f546def |
|
19-Dec-2012 |
Ted Kremenek <kremenek@apple.com> |
Simplify logic to use SourceManager::getFileLoc(), per Argyrios's feedback. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
d9b877765cfbedc7cb1ee4b50aeb576a46d0df4e |
|
19-Dec-2012 |
Ted Kremenek <kremenek@apple.com> |
Have clang_getSpellingLocation() use the same logic as DiagnosticRenderer for plowing through macros. This fixes a subtle bug reported in <rdar://problem/12584554> where a double-nested macro could lead to an incorrect fixit location with live issues. This fix also uncovers a bunch of subtle bugs in our indexer test cases which are now fixed (mostly around source ranges for attributes). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170468 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
f59edb96b2d0bfe612b732f19519ab84bb995bd4 |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort #include lines for tools/... Completely automated with sort_includes.py git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
153221717e39ce41323d5bc6b8b8bf130923c1bd |
|
10-Nov-2011 |
Ted Kremenek <kremenek@apple.com> |
serialized diagnostics: implement full deserialization of clang diagnostics via the libclang API. I've tested it on simple cases and it works. Test cases to follow as well as a few tweaks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144269 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
b4efaa0a14dd2382aa028c03283b5a7f5345e24d |
|
03-Nov-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[libclang] Add missing return in clang_getExpansionLocation that resulted in that function always returning a null file/line/column. Also add at least one use of clang_getExpansionLocation inside c-index-test that would have made the tests to catch that. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
51a7d5d7f6bf60c562d825bc271fd4cf696b33b5 |
|
31-Oct-2011 |
Ted Kremenek <kremenek@apple.com> |
[libclang] Tweak internals of CXSourceLocation to allow an alternate implementation if the lowest bit of ptr_data[0] is not 0. This is prep for work on serialized diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143373 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|
3ddef060a94434e6b71b58348e730c4464efbc48 |
|
31-Oct-2011 |
Ted Kremenek <kremenek@apple.com> |
[libclang] Move implementation of functions for manipulation CXSourceLocations and CXSourceRanges into a separate file. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
|