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 e86d6a43f03b6d635d8d1101a936088c8cf0cf23 
389a174b0e8462ed15d9ca1e1b223618aec99d21 -- 
clang/test/Modules/Inputs/builtin-headers/c++/stdint.h 
clang/test/Modules/Inputs/builtin-headers/complex.h 
clang/test/Modules/Inputs/builtin-headers/inttypes.h 
clang/test/Modules/Inputs/builtin-headers/limits.h 
clang/test/Modules/Inputs/builtin-headers/math.h 
clang/test/Modules/Inputs/builtin-headers/stdint.h clang/lib/Basic/Module.cpp 
clang/test/Modules/Inputs/System/usr/include/stdint.h 
clang/test/Modules/Inputs/builtin-headers/float.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Basic/Module.cpp b/clang/lib/Basic/Module.cpp
index ad353e6089a8..7879a11179b6 100644
--- a/clang/lib/Basic/Module.cpp
+++ b/clang/lib/Basic/Module.cpp
@@ -301,7 +301,8 @@ bool Module::directlyUses(const Module *Requested) {
 
   // Anyone is allowed to use our builtin stdarg.h and stddef.h and their
   // accompanying modules.
-  if (Requested->getTopLevelModuleName() == "_Builtin_stdarg" || 
Requested->getTopLevelModuleName() == "_Builtin_stddef")
+  if (Requested->getTopLevelModuleName() == "_Builtin_stdarg" ||
+      Requested->getTopLevelModuleName() == "_Builtin_stddef")
     return true;
 
   if (NoUndeclaredIncludes)

``````````

</details>


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

Reply via email to