summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-01-16 03:01:20 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2016-01-16 03:01:20 +0000
commita851d7e9ad32947df1b777b6b3b6715bf88251ef (patch)
treed2bc503c9bb4ea7ece5cd0ce44dd73dbd5a04ed7 /clang/include/clang-c
parentf5571f5248f4755c6d220b9fcdc7daca19d8ec3c (diff)
downloadbcm5719-llvm-a851d7e9ad32947df1b777b6b3b6715bf88251ef.tar.gz
bcm5719-llvm-a851d7e9ad32947df1b777b6b3b6715bf88251ef.zip
[libclang] Add missing CINDEX_LINKAGE from some new APIs in Index.h.
llvm-svn: 257982
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 69c38447027..69a98d7978c 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -5132,19 +5132,19 @@ CINDEX_LINKAGE CXEvalResult clang_Cursor_Evaluate(CXCursor C);
/**
* \brief Returns the kind of the evaluated result.
*/
-CXEvalResultKind clang_EvalResult_getKind(CXEvalResult E);
+CINDEX_LINKAGE CXEvalResultKind clang_EvalResult_getKind(CXEvalResult E);
/**
* \brief Returns the evaluation result as integer if the
* kind is Int.
*/
-int clang_EvalResult_getAsInt(CXEvalResult E);
+CINDEX_LINKAGE int clang_EvalResult_getAsInt(CXEvalResult E);
/**
* \brief Returns the evaluation result as double if the
* kind is double.
*/
-double clang_EvalResult_getAsDouble(CXEvalResult E);
+CINDEX_LINKAGE double clang_EvalResult_getAsDouble(CXEvalResult E);
/**
* \brief Returns the evaluation result as a constant string if the
@@ -5152,12 +5152,12 @@ double clang_EvalResult_getAsDouble(CXEvalResult E);
* instead call clang_EvalResult_dispose on the CXEvalResult returned
* by clang_Cursor_Evaluate.
*/
-const char* clang_EvalResult_getAsStr(CXEvalResult E);
+CINDEX_LINKAGE const char* clang_EvalResult_getAsStr(CXEvalResult E);
/**
* \brief Disposes the created Eval memory.
*/
-void clang_EvalResult_dispose(CXEvalResult E);
+CINDEX_LINKAGE void clang_EvalResult_dispose(CXEvalResult E);
/**
* @}
*/
OpenPOWER on IntegriCloud