libclang: audit all APIs that accept a CXTranslationUnit to make sure that
authorDmitri Gribenko <gribozavr@gmail.com>
Tue, 11 Feb 2014 14:34:14 +0000 (14:34 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Tue, 11 Feb 2014 14:34:14 +0000 (14:34 +0000)
commit256454fdaa4d3d044a80c2991b210ca3d2bf2a24
tree9b5b2b53a26df69747a82bf429ba63abd5332635
parente5a447d947ebbd622757fb19e424c0ee5445bbcb
libclang: audit all APIs that accept a CXTranslationUnit to make sure that
checks for invalid translation unit are in place.  Also, while there, add log
output for this case.

llvm-svn: 201155
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/CIndexCodeCompletion.cpp
clang/tools/libclang/CIndexDiagnostic.cpp
clang/tools/libclang/CIndexHigh.cpp
clang/tools/libclang/CIndexInclusionStack.cpp
clang/tools/libclang/CXSourceLocation.cpp
clang/tools/libclang/CXTranslationUnit.h
clang/tools/libclang/Indexing.cpp