[clang] [clang-c] Don't deprecate CXRemapping as well as its users (PR #149975)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 22 05:10:07 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions h -- clang/include/clang-c/Index.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 04fc1a7c4..9af1cb4a0 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -6953,7 +6953,8 @@ clang_getCursorUnaryOperatorKind(CXCursor cursor);
* @}
*/
-/* CINDEX_DEPRECATED - disable this to appease MSVC deprecation diagnostic warnings */
+/* CINDEX_DEPRECATED - disable this to appease MSVC deprecation diagnostic
+ * warnings */
typedef void *CXRemapping;
CINDEX_DEPRECATED CINDEX_LINKAGE CXRemapping clang_getRemappings(const char *);
``````````
</details>
https://github.com/llvm/llvm-project/pull/149975
More information about the cfe-commits
mailing list