]> granicus.if.org Git - clang/commitdiff
Move clang_Cursor_getBriefCommentText implementation under `extern "C"'.
authorDmitri Gribenko <gribozavr@gmail.com>
Tue, 17 Jul 2012 00:17:45 +0000 (00:17 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Tue, 17 Jul 2012 00:17:45 +0000 (00:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160331 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CIndex.cpp

index de56b199314d831f95a33fcc28b040a10598bce1..3b3b697d172cfb9d11c383b76dc5e91f5740016b 100644 (file)
@@ -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.
 //===----------------------------------------------------------------------===//