[clang] [C23] Add __TYPE_FMTB__ and __TYPE_FMTb__ predefined macros (PR #82037)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 16 12:18:47 PST 2024
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 a4ce870859a2d8b5ce8b92732594089e2a81b4fb 8a7d391475acb352932ee3de0b0e467c4574fe20 -- clang/lib/Frontend/InitPreprocessor.cpp clang/test/Preprocessor/init.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp
index 9b979d810f..17715121f1 100644
--- a/clang/lib/Frontend/InitPreprocessor.cpp
+++ b/clang/lib/Frontend/InitPreprocessor.cpp
@@ -306,7 +306,6 @@ static void DefineFastIntType(const LangOptions &LangOpts, unsigned TypeWidth,
DefineFmt(LangOpts, Prefix + Twine(TypeWidth), Ty, TI, Builder);
}
-
/// Get the value the ATOMIC_*_LOCK_FREE macro should have for a type with
/// the specified properties.
static const char *getLockFreeValue(unsigned TypeWidth, const TargetInfo &TI) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/82037
More information about the cfe-commits
mailing list