From 39ae3d5c4e5552fc1edbdf6cf605a5158932dfd5 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sat, 17 Dec 2016 01:09:40 +0000 Subject: [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 --- clang/tools/libclang/CXComment.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'clang/tools/libclang/CXComment.cpp') diff --git a/clang/tools/libclang/CXComment.cpp b/clang/tools/libclang/CXComment.cpp index c02eea9d45c..028fdf1d3a8 100644 --- a/clang/tools/libclang/CXComment.cpp +++ b/clang/tools/libclang/CXComment.cpp @@ -26,8 +26,6 @@ using namespace clang; using namespace clang::comments; using namespace clang::cxcomment; -extern "C" { - CXComment clang_Cursor_getParsedComment(CXCursor C) { using namespace clang::cxcursor; @@ -406,5 +404,3 @@ CXString clang_FullComment_getAsXML(CXComment CXC) { return cxstring::createDup(XML.str()); } -} // end extern "C" - -- cgit v1.2.3