forked from OSchip/llvm-project
fd569a11b5
Given an invalid SourceLocation, translateSourceLocation will call clang_getNullLocation, and then do nothing with the result. But clang_getNullLocation has no side effects: it just constructs and returns a null CXSourceLocation value. Surely the intention was to //return// that null CXSourceLocation to the caller, instead of throwing it away and pressing on anyway. Reviewed By: miyuki Differential Revision: https://reviews.llvm.org/D104442 |
||
---|---|---|
.. | ||
ARCMigrate.cpp | ||
BuildSystem.cpp | ||
CIndex.cpp | ||
CIndexCXX.cpp | ||
CIndexCodeCompletion.cpp | ||
CIndexDiagnostic.cpp | ||
CIndexDiagnostic.h | ||
CIndexHigh.cpp | ||
CIndexInclusionStack.cpp | ||
CIndexUSRs.cpp | ||
CIndexer.cpp | ||
CIndexer.h | ||
CLog.h | ||
CMakeLists.txt | ||
CXComment.cpp | ||
CXComment.h | ||
CXCompilationDatabase.cpp | ||
CXCursor.cpp | ||
CXCursor.h | ||
CXIndexDataConsumer.cpp | ||
CXIndexDataConsumer.h | ||
CXLoadedDiagnostic.cpp | ||
CXLoadedDiagnostic.h | ||
CXSourceLocation.cpp | ||
CXSourceLocation.h | ||
CXStoredDiagnostic.cpp | ||
CXString.cpp | ||
CXString.h | ||
CXTranslationUnit.h | ||
CXType.cpp | ||
CXType.h | ||
CursorVisitor.h | ||
FatalErrorHandler.cpp | ||
Index_Internal.h | ||
Indexing.cpp | ||
Rewrite.cpp | ||
libclang.exports |