aboutsummaryrefslogtreecommitdiff
path: root/test/Index/c-index-api-test.m
AgeCommit message (Collapse)Author
2009-11-17Rename test.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89132 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-17Clean up c-index-test command line usage a bit by requiring a ↵Ted Kremenek
"-test-load-tu" option when testing clang_loadTranslationUnit(). Running c-index-test without the correct arguments now also prints a useful summary of its correct usage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89115 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-17... and add back a few more triple forces.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89088 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-17Use -fblocks and -fobjc-nonfragile-abi when that is what is being tested, ↵Daniel Dunbar
instead of forcing the triple. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89072 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-17Have clang_getCursorSource() return NULL when the source location is invalid ↵Ted Kremenek
or refers to a built-in buffer. Implements <rdar://problem/7296243>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89044 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-16Update test, I don't know why this changed but seems innocuous.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88983 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-08Eliminate &&s in tests.Daniel Dunbar
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86430 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-07Force a specific target triple in c-index-api-test.m, making the behavior of ↵Ted Kremenek
the test not be dependent on the host. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83438 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-05- Fix assert in clang_getCursorDecl (having to do with recently added ↵Steve Naroff
ObjC_ProtocolRef). - Make sure CHECK: lines in test case match the expected output. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83316 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-01Add support for class and protocol references.Steve Naroff
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83186 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-26Revert "Force triple in test.", this wasn't the problem.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82855 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-26Force triple in test.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82850 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-25Fix cut/paste error resulting in bad column info.Steve Naroff
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82810 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-25Add clang_getDeclLine and clang_getDeclColumnSteve Naroff
Fix clang_getCursorDecl to do the right thing for expr refs Fixup test file to accommodate new output (which includes the line/column for the referenced decl) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82798 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-25Don't look for __builtin_va_list; it isn't present for all targetsDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82757 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-24Add test for C-based indexing API, using FileCheck utility.Steve Naroff
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82706 91177308-0d34-0410-b5e6-96231b3b80d8