summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-06 06:51:48 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-06 06:51:48 +0000
commit143a5b9f3c18131bd3efd265e0d3f301cdc6d287 (patch)
tree68e6bfbde0c5c5e7fac799761f2dfb92060b03fb /clang
parent2e728619f0410729a29b404bbd8f6515e7e62bde (diff)
downloadbcm5719-llvm-143a5b9f3c18131bd3efd265e0d3f301cdc6d287.tar.gz
bcm5719-llvm-143a5b9f3c18131bd3efd265e0d3f301cdc6d287.zip
Add missing CINDEX_LINKAGE.
llvm-svn: 92827
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang-c/Index.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index bf114548901..d853072661e 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -344,11 +344,12 @@ typedef struct CXDeclExtent {
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.
OpenPOWER on IntegriCloud