| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
into a getter cxtu::getASTUnit(TU)
llvm-svn: 173585
|
|
|
|
| |
llvm-svn: 173278
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 172161
|
|
|
|
|
|
|
|
|
| |
-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.
llvm-svn: 172089
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 171773
|
|
|
|
|
|
| |
Completely automated with sort_includes.py
llvm-svn: 169240
|
|
|
|
|
|
| |
a null pointer after getCursorDecl() is called. rdar://10298421.
llvm-svn: 146312
|
|
|
|
|
|
| |
passed to clang_findReferencesInFile.
llvm-svn: 146211
|
|
|
|
|
|
|
|
| |
if we come up against a null Decl.
No test case unfortunately. rdar://10457799.
llvm-svn: 146127
|
|
|
|
|
|
| |
clang_findReferencesInFile.
llvm-svn: 145455
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 145369
|
|
|
|
|
|
|
|
| |
deserialization and avoid
unnecessary deserializations.
llvm-svn: 144791
|
|
and a callback and finds all identifier references of the cursor in the file.
rdar://7948304
llvm-svn: 141277
|