From b619e7877f09f2984d06629fd8653f3f333d8ea2 Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Tue, 17 Jul 2012 00:17:45 +0000 Subject: [PATCH] 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 --- tools/libclang/CIndex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. //===----------------------------------------------------------------------===// -- 2.50.1