History log of /external/clang/tools/libclang/CXSourceLocation.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ef8225444452a1486bd721f3285301fe84643b00 21-Jul-2014 Stephen Hines <srhines@google.com> Update Clang for rebase to r212749.

This also fixes a small issue with arm_neon.h not being generated always.

Includes a cherry-pick of:
r213450 - fixes mac-specific header issue
r213126 - removes a default -Bsymbolic on Android

Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/tools/libclang/CXSourceLocation.cpp
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/tools/libclang/CXSourceLocation.cpp
8644aa9149f40fb00bfd20f0a22a873428f520d3 12-Sep-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] In clang_getLocation, check that the provided line/column is valid.

rdar://14971432

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
2bb6dad4a44569dd2f86e7500a5ba21680718736 11-Sep-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> Fix 2 cases of uninitialized reads of an invalid PresumedLoc.

The code in CGExpr was added back in 2012 (r165536) but not exercised in tests
until recently.

Detected on the MemorySanitizer bootstrap bot.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190521 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
24146975f1af8c1b4b14e8545f218129d0e7dfeb 22-Aug-2013 Eli Friedman <eli.friedman@gmail.com> Split isFromMainFile into two functions.

Basically, isInMainFile considers line markers, and isWrittenInMainFile
doesn't. Distinguishing between the two is useful when dealing with
files which are preprocessed files or rewritten with -frewrite-includes
(so we don't, for example, print useless warnings).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
ad0d5707463cd7875e1ffd50dacd3f900d185aa1 08-Aug-2013 Stefanus Du Toit <stefanus.du.toit@intel.com> Add clang_Location_isFromMainFile() to libclang.

Also bump the minor version number and update libclang.exports.

Reviewed by: Dmitri Gribenko, Doug Gregor

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CXSourceLocation.cpp
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