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 2e0506f83bfde6db93454bdf28e4a71c160d4f5b
09246d11c8663c0b2b31317eddc297c1d29fcd60 --extensions h,cpp --
clang/include/clang/Basic/Module.h clang/lib/Basic/Module.cpp
clang/lib/Frontend/FrontendAction.cpp clang/lib/Lex/ModuleMap.cpp
clang/lib/Serialization/ASTWriter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index 23875912fa..a87713a6f0 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -1312,8 +1312,7 @@ void ModuleMap::addHeader(Module *Mod, Module::Header
Header,
if (!Imported || isCompilingModuleHeader) {
// When we import HeaderFileInfo, the external source is expected to
// set the isModuleHeader flag itself.
- HeaderInfo.MarkFileModuleHeader(HeaderEntry, Role,
- isCompilingModuleHeader);
+ HeaderInfo.MarkFileModuleHeader(HeaderEntry, Role,
isCompilingModuleHeader);
}
// Notify callbacks that we just added a new header.
``````````
</details>
https://github.com/llvm/llvm-project/pull/113395
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits