From: Dmitri Gribenko Date: Tue, 17 Jul 2012 00:17:45 +0000 (+0000) Subject: Move clang_Cursor_getBriefCommentText implementation under `extern "C"'. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b619e7877f09f2984d06629fd8653f3f333d8ea2;p=clang Move clang_Cursor_getBriefCommentText implementation under `extern "C"'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160331 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index de56b19931..3b3b697d17 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -5710,8 +5710,6 @@ CXString clang_Cursor_getRawCommentText(CXCursor C) { return createCXString(RawText, false); } -} // end: extern "C" - CXString clang_Cursor_getBriefCommentText(CXCursor C) { if (!clang_isDeclaration(C.kind)) return createCXString((const char *) NULL); @@ -5731,6 +5729,8 @@ CXString clang_Cursor_getBriefCommentText(CXCursor C) { return createCXString((const char *) NULL); } +} // end: extern "C" + //===----------------------------------------------------------------------===// // C++ AST instrospection. //===----------------------------------------------------------------------===//