]> granicus.if.org Git - clang/commit
[libclang] Make sure we don't access past the tokens buffer while token annotation.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 27 Nov 2013 05:50:55 +0000 (05:50 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 27 Nov 2013 05:50:55 +0000 (05:50 +0000)
commit070d649eefeeb17cce3afaeebe9f825024284854
tree3ea1857a4848cceb2eb3094cb753e9268fce4879
parent0650de4fc1a577e925b92a325d0886763df7a871
[libclang] Make sure we don't access past the tokens buffer while token annotation.

Also disable crash recovery using 'LIBCLANG_DISABLE_CRASH_RECOVERY' environment variable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195819 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/annotate-tokens.cpp
test/Index/crash-recovery.c
tools/libclang/CIndex.cpp