[cfe-commits] r92827 - /cfe/trunk/include/clang-c/Index.h

Daniel Dunbar daniel at zuster.org
Tue Jan 5 22:51:48 PST 2010


Author: ddunbar
Date: Wed Jan  6 00:51:48 2010
New Revision: 92827

URL: http://llvm.org/viewvc/llvm-project?rev=92827&view=rev
Log:
Add missing CINDEX_LINKAGE.

Modified:
    cfe/trunk/include/clang-c/Index.h

Modified: cfe/trunk/include/clang-c/Index.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang-c/Index.h?rev=92827&r1=92826&r2=92827&view=diff

==============================================================================
--- cfe/trunk/include/clang-c/Index.h (original)
+++ cfe/trunk/include/clang-c/Index.h Wed Jan  6 00:51:48 2010
@@ -344,11 +344,12 @@
   CXSourceLineColumn end;
 } CXSourceExtent;
 
-/* clang_getDeclExtent() returns the physical extent of a declaration.  The beginning
- * line/column pair points to the start of the first token in the declaration, and the
- * ending line/column pair points the start of the last token in the declaration.
+/* clang_getDeclExtent() returns the physical extent of a declaration.  The
+ * beginning line/column pair points to the start of the first token in the
+ * declaration, and the ending line/column pair points the start of the last
+ * token in the declaration.
  */
-CXSourceExtent clang_getDeclExtent(CXDecl);
+CINDEX_LINKAGE CXSourceExtent clang_getDeclExtent(CXDecl);
 
 /*
  * CXCursor Operations.





More information about the cfe-commits mailing list