llvm-project/clang/tools/libclang
Argyrios Kyrtzidis a3ec8e82c8 [libclang] Protect against the declaration's SourceRange being invalid
before passing to RangeCompare.

Though no idea how this can occur with the decls returned from
findFileRegionDecls().

llvm-svn: 145301
2011-11-28 22:38:07 +00:00
..
ARCMigrate.cpp [arcmt] Move the remapping functions to clang-c/Index.h and change 'arcmt_' prefix to 'clang_'. 2011-07-11 20:15:00 +00:00
CIndex.cpp [libclang] Protect against the declaration's SourceRange being invalid 2011-11-28 22:38:07 +00:00
CIndexCXX.cpp [libclang] Introduce CXCursor_CXXAccessSpecifier for C++'s public:/private:/protected: specifiers. 2011-09-30 17:58:23 +00:00
CIndexCodeCompletion.cpp Added clang_getCompletionAnnotation and clang_getCompletionNumAnnotations to 2011-10-14 15:31:08 +00:00
CIndexDiagnostic.cpp [libclang] Add a comment in lazyCreateDiags to explain why the check and reset of 2011-11-16 08:59:00 +00:00
CIndexDiagnostic.h serialized diagnostics: implement full deserialization of clang diagnostics via the libclang API. 2011-11-10 08:43:12 +00:00
CIndexHigh.cpp [libclang] Make clang_findReferencesInFile use "file-targeted" deserialization and avoid 2011-11-16 08:58:54 +00:00
CIndexInclusionStack.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
CIndexUSRs.cpp [libclang] For a class extension, give it a unique USR but for any property or ivar 2011-11-01 17:14:12 +00:00
CIndexer.cpp Switch assert(0/false) llvm_unreachable. 2011-09-23 05:06:16 +00:00
CIndexer.h When the environment variable LIBCLANG_RESOURCE_USAGE is set, teach 2011-05-05 20:27:22 +00:00
CMakeLists.txt serialized diagnostics: implement full deserialization of clang diagnostics via the libclang API. 2011-11-10 08:43:12 +00:00
CXCursor.cpp [libclang] Indexing API: Support C++ symbols. 2011-11-22 07:24:51 +00:00
CXCursor.h [libclang] Indexing API: Support C++ symbols. 2011-11-22 07:24:51 +00:00
CXLoadedDiagnostic.cpp Tweak CXLoadedDiagnosticSetImpl::makeString() to include an extra null character, and change the creation of the FixIT's string to again just rely on this string (instead of duplicating it when calling createCXString). 2011-11-11 15:19:48 +00:00
CXLoadedDiagnostic.h serialized diagnostics: implement full deserialization of clang diagnostics via the libclang API. 2011-11-10 08:43:12 +00:00
CXSourceLocation.cpp serialized diagnostics: implement full deserialization of clang diagnostics via the libclang API. 2011-11-10 08:43:12 +00:00
CXSourceLocation.h Per Doug's suggestion, move check for invalid SourceLocation into 2010-06-28 23:54:17 +00:00
CXStoredDiagnostic.cpp serialized diagnostics: implement full deserialization of clang diagnostics via the libclang API. 2011-11-10 08:43:12 +00:00
CXString.cpp [libclang] Workaround potential race condition with code completion AllocatedResults being freed after a CXTranslationUnit. 2011-08-17 22:19:53 +00:00
CXString.h [libclang] Workaround potential race condition with code completion AllocatedResults being freed after a CXTranslationUnit. 2011-08-17 22:19:53 +00:00
CXTranslationUnit.h serialized diagnostics: implement full deserialization of clang diagnostics via the libclang API. 2011-11-10 08:43:12 +00:00
CXType.cpp [libclang] Expose array size and element type, patch by Vinay Sajip! 2011-09-27 17:44:34 +00:00
CXType.h Change CXTranslationUnit to not directly cast to an ASTUnit*, 2010-11-16 08:15:36 +00:00
CursorVisitor.h [libclang] Make clang_annotateTokens use "file-targeted" deserialization and avoid 2011-11-16 08:58:57 +00:00
IndexBody.cpp [libclang] Indexing API: Support C++ symbols. 2011-11-22 07:24:51 +00:00
IndexDecl.cpp [libclang] Indexing API: Fix issues, mostly C++ related. 2011-11-23 20:27:26 +00:00
IndexTypeSourceInfo.cpp [libclang] Indexing API: 2011-11-18 00:26:51 +00:00
Index_Internal.h [libclang] Move CursorVisitor to its own header. 2011-11-03 19:02:34 +00:00
Indexing.cpp [libclang] Indexing API: If the client requested to get a CXTranslationUnit after 2011-11-28 04:56:00 +00:00
IndexingContext.cpp [libclang] Indexing API: Fix issues, mostly C++ related. 2011-11-23 20:27:26 +00:00
IndexingContext.h [libclang] Indexing API: Fix issues, mostly C++ related. 2011-11-23 20:27:26 +00:00
Makefile [libclang] Fix linker error in buildbots. 2011-07-09 21:35:58 +00:00
libclang.exports [libclang] Indexing API: Support C++ symbols. 2011-11-22 07:24:51 +00:00