summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/Indexing.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-12-17 01:09:40 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-12-17 01:09:40 +0000
commit39ae3d5c4e5552fc1edbdf6cf605a5158932dfd5 (patch)
tree8087e4446b961c3cd6b12bb2f61f84814aa9b0cf /clang/tools/libclang/Indexing.cpp
parent58655bbc607c3eb1fedad52a254753a37351ce89 (diff)
downloadbcm5719-llvm-39ae3d5c4e5552fc1edbdf6cf605a5158932dfd5.tar.gz
bcm5719-llvm-39ae3d5c4e5552fc1edbdf6cf605a5158932dfd5.zip
[libclang] Remove the 'extern "C"' blocks from the implementation files.
These are unnecessary, the declarations already carry the 'extern C' property, and if there is mismatch between declaration and definition then we will get linker errors via libclang.exports. llvm-svn: 290025
Diffstat (limited to 'clang/tools/libclang/Indexing.cpp')
-rw-r--r--clang/tools/libclang/Indexing.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/tools/libclang/Indexing.cpp b/clang/tools/libclang/Indexing.cpp
index 878d75e0211..c18b5402aa7 100644
--- a/clang/tools/libclang/Indexing.cpp
+++ b/clang/tools/libclang/Indexing.cpp
@@ -687,8 +687,6 @@ static CXErrorCode clang_indexTranslationUnit_Impl(
// libclang public APIs.
//===----------------------------------------------------------------------===//
-extern "C" {
-
int clang_index_isEntityObjCContainerKind(CXIdxEntityKind K) {
return CXIdxEntity_ObjCClass <= K && K <= CXIdxEntity_ObjCCategory;
}
@@ -978,5 +976,3 @@ CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc location) {
return cxloc::translateSourceLocation(DataConsumer.getASTContext(), Loc);
}
-} // end: extern "C"
-
OpenPOWER on IntegriCloud