diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-12-17 01:09:40 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-12-17 01:09:40 +0000 |
commit | 39ae3d5c4e5552fc1edbdf6cf605a5158932dfd5 (patch) | |
tree | 8087e4446b961c3cd6b12bb2f61f84814aa9b0cf /clang/tools/libclang/CIndexInclusionStack.cpp | |
parent | 58655bbc607c3eb1fedad52a254753a37351ce89 (diff) | |
download | bcm5719-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/CIndexInclusionStack.cpp')
-rw-r--r-- | clang/tools/libclang/CIndexInclusionStack.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/tools/libclang/CIndexInclusionStack.cpp b/clang/tools/libclang/CIndexInclusionStack.cpp index 5ebb5ec277c..4b021fc4cbe 100644 --- a/clang/tools/libclang/CIndexInclusionStack.cpp +++ b/clang/tools/libclang/CIndexInclusionStack.cpp @@ -68,7 +68,6 @@ static void getInclusions(const SrcMgr::SLocEntry &(SourceManager::*Getter)(unsi } -extern "C" { void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, CXClientData clientData) { if (cxtu::isNotUsableTU(TU)) { @@ -96,4 +95,3 @@ void clang_getInclusions(CXTranslationUnit TU, CXInclusionVisitor CB, getInclusions(&SourceManager::getLocalSLocEntry, n, TU, CB, clientData); } -} // end extern C |