[cfe-commits] r160331 - /cfe/trunk/tools/libclang/CIndex.cpp

Dmitri Gribenko gribozavr at gmail.com
Mon Jul 16 17:17:46 PDT 2012


Author: gribozavr
Date: Mon Jul 16 19:17:45 2012
New Revision: 160331

URL: http://llvm.org/viewvc/llvm-project?rev=160331&view=rev
Log:
Move clang_Cursor_getBriefCommentText implementation under `extern "C"'.

Modified:
    cfe/trunk/tools/libclang/CIndex.cpp

Modified: cfe/trunk/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndex.cpp?rev=160331&r1=160330&r2=160331&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndex.cpp (original)
+++ cfe/trunk/tools/libclang/CIndex.cpp Mon Jul 16 19:17:45 2012
@@ -5710,8 +5710,6 @@
   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 @@
   return createCXString((const char *) NULL);
 }
 
+} // end: extern "C"
+
 //===----------------------------------------------------------------------===//
 // C++ AST instrospection.
 //===----------------------------------------------------------------------===//





More information about the cfe-commits mailing list