History log of /external/clang/tools/libclang/CIndexHigh.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/CIndexHigh.cpp
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/tools/libclang/CIndexHigh.cpp
09d19efaa147762f84aed55efa7930bb3616a4e5 04-Jul-2013 Craig Topper <craig.topper@gmail.com> Use SmallVectorImpl instead of SmallVector for iterators and references to avoid specifying the vector size unnecessarily.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
6f09c3d69f6272b101ff795562dffead1c0bd9de 08-Mar-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Change clang_findReferencesInFile and clang_findIncludesInFile to return an enum,
as suggested by Jordan.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
389dc5603fa10b508a38f668a7830c6d877b6542 08-Mar-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Modify clang_findReferencesInFile and clang_findIncludesInFile to return a value.

Possible values are:
1 : if a parameter was invalid
-1 : if the callback returned CXVisit_Break,
otherwise returns 0.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176716 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
ee2d5fd7a3bd42bce387db094d27a479617c3e67 08-Mar-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Introduce clang_findIncludesInFile, that can be used to retrieve all #import/#include directives in a specific file.

It passes to the visitor, that the caller provides, CXCursor_InclusionDirective cursors for
all the include directives in a particular file.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
029c8f37e32b08bad4c757848a695d199fe5c813 08-Mar-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] When calling the function of CXCursorAndRangeVisitor, don't forget to
stop visitation if it returns CXVisit_Break.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
b70e7a83ee55e463d52d175bd68dece2bfd084f4 08-Mar-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Add Logger::operator<< overloads for CXCursor and FileEntry.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176680 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.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/CIndexHigh.cpp
e22339c44bb28d71a2cc97c840d3da0c4bdb4909 23-Jan-2013 Dmitri Gribenko <gribozavr@gmail.com> libclang: change return type of getCursorDecl() to 'const Decl *'


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173278 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.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/CIndexHigh.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/CIndexHigh.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/CIndexHigh.cpp
664b06f9bd2ea83443ddc8553feba8ba48880752 07-Jan-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] When getting the cursor for an identifier inside a macro definition, check if
this was ever a macro name and return a specific CXCursor_MacroExpansion cursor in such a case,
instead of the generic CXCursor_MacroDefinition.

Checking for macro name makes sure the identifier is not part of the identifier list in a
function macro.
While, in general, resolving identifiers in macro definitions to other macros may not be completely accurate,
it greatly improves functionality such as give-me-the-definition-of-this, which was not working at all
inside macro definitions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171773 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.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/CIndexHigh.cpp
16ed0e6fda74800595cb98d11969fc4afcc00bac 10-Dec-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Add defensive checks to make sure we don't try to dereference
a null pointer after getCursorDecl() is called. rdar://10298421.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
4451746d8f658b51eaf15dd24664a488457063a9 09-Dec-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Make sure we don't try to handle a CXCursor_NoDeclFound
passed to clang_findReferencesInFile.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146211 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
e368a641a03617983dabb1e092d880e1089f576a 08-Dec-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] When doing clang_findReferencesInFile, make sure we don't crash
if we come up against a null Decl.

No test case unfortunately. rdar://10457799.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
5c2a1f741e133fcad4782b855a18d3b220243b11 30-Nov-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Do the ConcurrencyCheck at the beginning of clang_findReferencesInFile.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
b49e728a4d1a84b72f3aebf60ff494684f9cb004 29-Nov-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Make clang_findReferencesInFile also work on macros (find all expansions/definition
of a macro in a file).

As a bonus, also make searching for declarations more efficient by ignoring
preprocessing entities when we know that we are looking for a declaration.

Fixes rdar://10427411.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145369 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
e2079cf54ded1eda9e35d215aef6628373368276 16-Nov-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Make clang_findReferencesInFile use "file-targeted" deserialization and avoid
unnecessary deserializations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp
aed123ec3cc37e457fe20a6158fdadf8849ad916 06-Oct-2011 Argyrios Kyrtzidis <akyrtzi@gmail.com> [libclang] Introduce clang_findReferencesInFile which accepts a cursor, a file,
and a callback and finds all identifier references of the cursor in the file.

rdar://7948304

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/tools/libclang/CIndexHigh.cpp