- Jan 19, 2010
-
-
Ted Kremenek authored
Tighten code and rework indentation of some if() branches (for readability). No functionality change. llvm-svn: 93904
-
Ted Kremenek authored
llvm-svn: 93903
-
Ted Kremenek authored
llvm-svn: 93902
-
Douglas Gregor authored
CIndex functions that (1) map from a reference or declaration to the corresponding definition, if available, and (2) determine whether a given declaration cursor is also a definition. This eliminates a lot of duplication in the cursor kinds, and maps more closely to the Clang ASTs. This is another API + ABI breaker with no deprecation. Yay, progress. llvm-svn: 93893
-
Fariborz Jahanian authored
llvm-svn: 93887
-
Fariborz Jahanian authored
property dot-syntax notation to use setter/getters in objective-c. Fixes radar 7553050. llvm-svn: 93883
-
Benjamin Kramer authored
llvm-svn: 93882
-
Douglas Gregor authored
in a member access expression referring into the current instantiation need not be resolved at template definition *if* the current instantiation has any dependent base classes. Fixes PR6081. llvm-svn: 93877
-
Zhongxing Xu authored
llvm-svn: 93874
-
Zhongxing Xu authored
intermediate destination set Tmp4. llvm-svn: 93873
-
Douglas Gregor authored
llvm-svn: 93872
-
Douglas Gregor authored
identifier always names a type. In the case of a dependent nested-name-specifier, build a TypenameType to describe the dependent base type. I'd like to move more of this behavior up into the parser, but this fixes PR6062. llvm-svn: 93871
-
Douglas Gregor authored
ForRedeclaration flag so that we don't look into base classes. Fixes PR6061. llvm-svn: 93862
-
Anders Carlsson authored
llvm-svn: 93861
-
Mike Stump authored
llvm-svn: 93840
-
Devang Patel authored
llvm-svn: 93837
-
Devang Patel authored
There is lot more work to do in this area. llvm-svn: 93836
-
Ted Kremenek authored
llvm-svn: 93834
-
Douglas Gregor authored
entity that a particular cursor references. llvm-svn: 93830
-
Douglas Gregor authored
cursor itself. In particular, for references this returns the source range of the reference rather than the source range of the thing it refers to. Switch c-index-test from clang_getDeclExtent (which will eventually be deprecated and removed) over to clang_getCursorExtent. The source ranges we print for references now make sense; fix up the tests appropriately. llvm-svn: 93823
-
Devang Patel authored
llvm-svn: 93822
-
Devang Patel authored
llvm-svn: 93814
-
Douglas Gregor authored
rather than the locations that refer to. llvm-svn: 93812
-
Devang Patel authored
llvm::Function name is the linkage name. If it has a '01' as a prefix then probably there is a reason. llvm-svn: 93808
-
Ted Kremenek authored
llvm-svn: 93805
-
John McCall authored
inherent in, well, pretty much every use of AccessSpecifier. llvm-svn: 93804
-
- Jan 18, 2010
-
-
Fariborz Jahanian authored
a similar pointer. Fixes radar 7552179. llvm-svn: 93803
-
Douglas Gregor authored
clang_getCursorLine(), clang_getCursorColumn(), clang_getCursorSource(), and clang_getCursorSourceFile() outright. llvm-svn: 93801
-
Douglas Gregor authored
clang_getCursorLine(), clang_getCursorColumn(), clang_getCursorSource(), and clang_getCursorSourceFile(). Mark those 4 functions as deprecated and stop using them ourselves. llvm-svn: 93800
-
Ted Kremenek authored
llvm-svn: 93799
-
Chris Lattner authored
preprocessor. This could be used by an OpenMP implementation or something. Patch by Abramo Bagnara! llvm-svn: 93795
-
Chris Lattner authored
pointer is always non-null because the PTH case exits earlier in the method. llvm-svn: 93794
-
Douglas Gregor authored
Renamed CXSourceFileLine to CXSourceLocation and added a CXFile, to better match Clang's SourceLocation. Teach clang_getDeclExtent to fill in the CXFile properly. Renamed CXSourceExtent to CXSourceRange, to better match Clang's SourceLocation. llvm-svn: 93783
-
Ted Kremenek authored
llvm-svn: 93779
-
Ted Kremenek authored
llvm-svn: 93778
-
Daniel Dunbar authored
llvm-svn: 93767
-
Douglas Gregor authored
BuiltinTypeLoc structure. Thanks, Enea! llvm-svn: 93763
-
Ted Kremenek authored
Replace clang_getDeclUSR() with clang_getCursorUSR(). Also remove printing 'contexts' from c-index-test output; it wasn't helpful and was extremely brittle. llvm-svn: 93760
-
John McCall authored
Patch by Enea Zaffanella! llvm-svn: 93752
-
Douglas Gregor authored
llvm-svn: 93750
-