diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-01-16 03:01:20 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-01-16 03:01:20 +0000 |
commit | 48e404b6794719da60bfc91f133b3c0f9e848b73 (patch) | |
tree | c86afe1d1b06f5f535428fb3d750bf8002fc4788 /include/clang-c | |
parent | f2ac4da6f70545b96f4a329efc3ef823a23cf201 (diff) |
[libclang] Add missing CINDEX_LINKAGE from some new APIs in Index.h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/Index.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 69c3844702..69a98d7978 100644 --- a/include/clang-c/Index.h +++ b/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); /** * @} */ |