summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/c-index-api-loadTU-test.m
Commit message (Collapse)AuthorAgeFilesLines
...
* Use a sane encoding for CXCursor_ObjCProtocolRef, using the actualDouglas Gregor2010-01-161-2/+2
| | | | | | | source locations where the protocols were referenced rather than the location of some random enclosing declaration. llvm-svn: 93637
* Give CXCursor_ObjCSuperClassRef a sane encoding, which is only knownDouglas Gregor2010-01-161-2/+2
| | | | | | to CXCursor.cpp. llvm-svn: 93634
* Remove TranslateKind and centralize Decl -> CXCursorKind in GetCursorKind(). ↵Ted Kremenek2010-01-161-1/+1
| | | | | | This revealed a bunch of inconsistencies in how CXCursorKinds were being computed. llvm-svn: 93618
* Change ObjCContainerDecl to contain the entire range for the '@end'Ted Kremenek2010-01-071-11/+12
| | | | | | | | | | | piece of the declaration. The '@' and the 'end' are separate tokens, and require two SourceLocations to accurately track. This change was motivated because ObjCContainerDecl::getSourceRange() would previously not return the entire range of the declaration (the 'end' would be left off). llvm-svn: 92891
* Change clang_getDeclExtent() to have the endpoint point to the last ↵Ted Kremenek2010-01-061-43/+28
| | | | | | character in the last token. llvm-svn: 92869
* Add C API hook 'clang_getDeclExtent()', which returns the source extent of a ↵Ted Kremenek2010-01-051-30/+29
| | | | | | declaration. This implements <rdar://problem/7280072>. llvm-svn: 92802
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Make tests use the new clang -cc1 flag.Fariborz Jahanian2009-12-141-1/+1
| | | | llvm-svn: 91303
* c-index-test: Split "function scanning" behavior into its own "filter" -- itsDaniel Dunbar2009-12-011-124/+0
| | | | | | | | quite slow and doesn't really stress the APIs people should really use. - I'm not even sure if this mode is still useful given the other scanning mode; Steve? llvm-svn: 90193
* Update test to stop scanning things in the predefines buffer, this isn't addingDaniel Dunbar2009-11-181-15/+15
| | | | | | value. llvm-svn: 89235
* Update index tests for r89203.Benjamin Kramer2009-11-181-7/+7
| | | | llvm-svn: 89204
* Fix test case.Ted Kremenek2009-11-171-156/+156
| | | | llvm-svn: 89135
* Rename test.Ted Kremenek2009-11-171-0/+224
llvm-svn: 89132
OpenPOWER on IntegriCloud