[clang] [llvm] [Hexagon] ELF attributes for Hexagon (PR #85359)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 14 21:08:45 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 c3a1eb6207d85cb37ea29306481b40c9f6402309 b035993b477160d9ac6ef01c8d27e6681682f251 -- llvm/include/llvm/Support/HexagonAttributeParser.h llvm/include/llvm/Support/HexagonAttributes.h llvm/lib/Support/HexagonAttributeParser.cpp llvm/lib/Support/HexagonAttributes.cpp clang/lib/Driver/ToolChains/Clang.cpp llvm/include/llvm/BinaryFormat/ELF.h llvm/include/llvm/Object/ELFObjectFile.h llvm/lib/Object/ELF.cpp llvm/lib/Object/ELFObjectFile.cpp llvm/lib/ObjectYAML/ELFYAML.cpp llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp llvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp llvm/lib/Target/Hexagon/HexagonAsmPrinter.h llvm/lib/Target/Hexagon/HexagonTargetStreamer.h llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h llvm/tools/llvm-readobj/ELFDumper.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Support/HexagonAttributeParser.h b/llvm/include/llvm/Support/HexagonAttributeParser.h
index c7d866af08..1116dd42b1 100644
--- a/llvm/include/llvm/Support/HexagonAttributeParser.h
+++ b/llvm/include/llvm/Support/HexagonAttributeParser.h
@@ -28,7 +28,8 @@ public:
: ELFAttributeParser(SP, HexagonAttrs::getHexagonAttributeTags(),
"hexagon") {}
HexagonAttributeParser()
- : ELFAttributeParser(HexagonAttrs::getHexagonAttributeTags(), "hexagon") {}
+ : ELFAttributeParser(HexagonAttrs::getHexagonAttributeTags(), "hexagon") {
+ }
};
} // namespace llvm
``````````
</details>
https://github.com/llvm/llvm-project/pull/85359
More information about the cfe-commits
mailing list