Skip to content

Commit 28ca5be

Browse files
authored
[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.
1 parent 76ab6a2 commit 28ca5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang-c/Index.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6953,7 +6953,7 @@ clang_getCursorUnaryOperatorKind(CXCursor cursor);
69536953
* @}
69546954
*/
69556955

6956-
CINDEX_DEPRECATED
6956+
/* CINDEX_DEPRECATED - disabled to silence MSVC deprecation warnings */
69576957
typedef void *CXRemapping;
69586958

69596959
CINDEX_DEPRECATED CINDEX_LINKAGE CXRemapping clang_getRemappings(const char *);

0 commit comments

Comments
 (0)