[clang] [C++20] [Modules] Embed all source files for C++20 Modules (PR #102444)

via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 8 02:54:29 PDT 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 182e1c773421e097d42415fc4d9aee1fb431819a 71e93c68dd186d70f2c922963897ffb1dce70179 --extensions cpp,h -- clang/include/clang/CodeGen/CodeGenAction.h clang/include/clang/Frontend/FrontendActions.h clang/include/clang/Serialization/ModuleFile.h clang/lib/CodeGen/CodeGenAction.cpp clang/lib/Frontend/FrontendActions.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Frontend/FrontendActions.cpp b/clang/lib/Frontend/FrontendActions.cpp
index 7758746f9a..bd8096d5c6 100644
--- a/clang/lib/Frontend/FrontendActions.cpp
+++ b/clang/lib/Frontend/FrontendActions.cpp
@@ -270,8 +270,7 @@ bool clang::BeginInvocationForModules(CompilerInstance &CI) {
   return true;
 }
 
-bool GenerateModuleInterfaceAction::BeginInvocation(
-    CompilerInstance &CI) {
+bool GenerateModuleInterfaceAction::BeginInvocation(CompilerInstance &CI) {
   if (!BeginInvocationForModules(CI))
     return false;
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/102444


More information about the cfe-commits mailing list