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 origin/main HEAD --extensions c,h,cpp --
clang/test/PCH/pch-clangast-raw-section.c
clang/lib/CodeGen/ObjectFilePCHContainerWriter.cpp
clang/test/Modules/gmodules-nodebug.cpp clang/test/Modules/lsv-debuginfo.cpp
llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
llvm/include/llvm/IR/Module.h
llvm/include/llvm/Target/TargetLoweringObjectFile.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp llvm/lib/IR/Module.cpp
llvm/lib/IR/Verifier.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/IR/Module.h b/llvm/include/llvm/IR/Module.h
index c1e0586e7..c507767ac 100644
--- a/llvm/include/llvm/IR/Module.h
+++ b/llvm/include/llvm/IR/Module.h
@@ -177,8 +177,8 @@ public:
/// with any other flag.
RawSectionExclude = 1 << 3,
- RawSectionFlagsMask =
- RawSectionAlloc | RawSectionWrite | RawSectionExec | RawSectionExclude
+ RawSectionFlagsMask = RawSectionAlloc | RawSectionWrite | RawSectionExec |
+ RawSectionExclude
};
/// Checks whether \p Flags is a valid combination of RawSectionFlags.
``````````
</details>
https://github.com/llvm/llvm-project/pull/214135
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits