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 e538486e90539096e7851d0deba4ea9ed94fced2 
529879c78ae4c1bf4d04110b543f37c1d1af20f7 -- 
clang/include/clang/Lex/Preprocessor.h clang/lib/Lex/PPDirectives.cpp 
clang/lib/Lex/Preprocessor.cpp clang/lib/Sema/SemaChecking.cpp 
clang/test/Sema/warn-infinity-nan-disabled-lnx.cpp 
clang/test/Sema/warn-infinity-nan-disabled-win.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/include/clang/Lex/Preprocessor.h 
b/clang/include/clang/Lex/Preprocessor.h
index dac5a46f73..de5597cc7f 100644
--- a/clang/include/clang/Lex/Preprocessor.h
+++ b/clang/include/clang/Lex/Preprocessor.h
@@ -2873,8 +2873,7 @@ private:
   void emitRestrictExpansionWarning(const Token &Identifier) const;
   void emitFinalMacroWarning(const Token &Identifier, bool IsUndef) const;
   void emitRestrictInfNaNWarning(const Token &Identifier,
-                                 unsigned DiagSelection,
-                                 bool UnsafeMath) const;
+                                 unsigned DiagSelection, bool UnsafeMath) 
const;
 
   /// This boolean state keeps track if the current scanned token (by this PP)
   /// is in an "-Wunsafe-buffer-usage" opt-out region. Assuming PP scans a

``````````

</details>


https://github.com/llvm/llvm-project/pull/80290
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to