summaryrefslogtreecommitdiff
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-07-22 13:34:06 +0100
committerGitHub <noreply@github.com>2025-07-22 13:34:06 +0100
commit28ca5bedd54679a62e96c013a530b2550c0d33f4 (patch)
tree03d70a46f3292a7de9fe7dd938755df0e4f76d51 /clang/include/clang-c
parent76ab6a2a76cbd547a354ff51229ab45934c6cfff (diff)
[clang-c] Don't deprecate CXRemapping as well as its users (#149975)
#149079 deprecated CXRemapping and all its methods, however MSVC warns when a deprecated method is using a deprecated variable (and breaks our Werror builds) - best way to avoid this is to only deprecate the methods directly.
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index b929585205ae..be038d9165fc 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -6953,7 +6953,7 @@ clang_getCursorUnaryOperatorKind(CXCursor cursor);
* @}
*/
-CINDEX_DEPRECATED
+/* CINDEX_DEPRECATED - disabled to silence MSVC deprecation warnings */
typedef void *CXRemapping;
CINDEX_DEPRECATED CINDEX_LINKAGE CXRemapping clang_getRemappings(const char *);