llvm-project/clang/tools/libclang
Argyrios Kyrtzidis 77f5619b8c [libclang] Have clang_getCursorExtent() return the range of the main file when
the passed cursor is the translation unit cursor.

Patch by Clint Caywood!

llvm-svn: 153062
2012-03-19 23:17:58 +00:00
..
ARCMigrate.cpp Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
CIndex.cpp [libclang] Have clang_getCursorExtent() return the range of the main file when 2012-03-19 23:17:58 +00:00
CIndexCXX.cpp Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) 2012-01-17 06:56:22 +00:00
CIndexCodeCompletion.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
CIndexDiagnostic.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
CIndexDiagnostic.h Implement new DiagnosticsRenderer that packages notes retrieved by clang_getDiagnosticSetFromTU() as 2012-02-14 02:46:03 +00:00
CIndexHigh.cpp [libclang] Add defensive checks to make sure we don't try to dereference 2011-12-10 02:36:25 +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 Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
CIndexer.cpp remove unneeded config.h includes 2011-12-22 22:49:47 +00:00
CIndexer.h When the environment variable LIBCLANG_RESOURCE_USAGE is set, teach 2011-05-05 20:27:22 +00:00
CMakeLists.txt Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
CXCursor.cpp Remove BlockDeclRefExpr and introduce a bit on DeclRefExpr to 2012-03-10 09:33:50 +00:00
CXCursor.h Implement indexing support for lambdas in libclang (both kinds), as 2012-02-15 00:54:55 +00:00
CXLoadedDiagnostic.cpp drop more llvm:: prefixes on OwningPtr<> 2012-02-13 12:32:21 +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 Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
CXStoredDiagnostic.cpp Remove unreachable code in Clang. (replace with llvm_unreachable where appropriate or when GCC requires it) 2012-01-17 06:56:22 +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 drop more llvm:: prefixes on SmallString<> 2012-02-13 12:32:26 +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 Implement indexing support for lambdas in libclang (both kinds), as 2012-02-15 00:54:55 +00:00
CXType.h Change CXTranslationUnit to not directly cast to an ASTUnit*, 2010-11-16 08:15:36 +00:00
CursorVisitor.h Implement indexing support for lambdas in libclang (both kinds), as 2012-02-15 00:54:55 +00:00
IndexBody.cpp And libclang cursor/indexing support for new Objective-C NSArray/NSDictionary/NSNumber literals. 2012-03-06 20:06:06 +00:00
IndexDecl.cpp [AST] When we @synthesize a property with a user-defined ivar name, 2012-02-28 17:50:39 +00:00
IndexTypeSourceInfo.cpp [libclang] Do index statements inside a type source info. rdar://10872758 2012-02-16 01:12:04 +00:00
Index_Internal.h [libclang] Move CursorVisitor to its own header. 2011-11-03 19:02:34 +00:00
Indexing.cpp [PCH] Mark a PCH file with a flag to indicate if the serialized AST had 2012-03-07 01:51:17 +00:00
IndexingContext.cpp [AST] When we @synthesize a property with a user-defined ivar name, 2012-02-28 17:50:39 +00:00
IndexingContext.h [AST] When we @synthesize a property with a user-defined ivar name, 2012-02-28 17:50:39 +00:00
Makefile Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
libclang.exports Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00