]> granicus.if.org Git - clang/commit
CIndex: For the time being, don't return translation units if we encounter an error...
authorDaniel Dunbar <daniel@zuster.org>
Sat, 5 Dec 2009 02:17:18 +0000 (02:17 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sat, 5 Dec 2009 02:17:18 +0000 (02:17 +0000)
commit942209729a70af6230af2c6f0436bb77d2f6891c
tree6d3c7220a11ac33aa67a38d339d59d22fb206e36
parente0c4d895ffe4320aa4e29485711ad7d154f2cc2b
CIndex: For the time being, don't return translation units if we encounter an error during parsing.
 - We need to be more careful in the rest of CIndex if we are to handle
   possibly-invalid ASTs, and don't have much experience with this yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90643 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/cindex-on-invalid.m [new file with mode: 0644]
tools/CIndex/CIndex.cpp