Author: Simon Pilgrim Date: 2025-07-22T13:34:06+01:00 New Revision: 28ca5bedd54679a62e96c013a530b2550c0d33f4
URL: https://github.com/llvm/llvm-project/commit/28ca5bedd54679a62e96c013a530b2550c0d33f4 DIFF: https://github.com/llvm/llvm-project/commit/28ca5bedd54679a62e96c013a530b2550c0d33f4.diff LOG: [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. Added: Modified: clang/include/clang-c/Index.h Removed: ################################################################################ diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index b929585205aee..be038d9165fc6 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 *); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits