[llvm] [TableGen] Resolve References at top level (PR #104578)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 18 22:22:41 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 0c02f6176242c37e6328255e396ccb717188c588 ebf93dc8ca3d841089edc429fd40d6c8ec8665d3 --extensions cpp -- llvm/lib/TableGen/TGParser.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/TableGen/TGParser.cpp b/llvm/lib/TableGen/TGParser.cpp
index c49a74dcb2..d1d46105c8 100644
--- a/llvm/lib/TableGen/TGParser.cpp
+++ b/llvm/lib/TableGen/TGParser.cpp
@@ -4464,7 +4464,7 @@ bool TGParser::ParseDump(MultiClass *CurMultiClass, Record *CurRec) {
HasReferenceResolver resolver{nullptr};
resolver.setFinal(true);
// force a resolution with a dummy resolver
- Init* ResolvedMessage = Message->resolveReferences(resolver);
+ Init *ResolvedMessage = Message->resolveReferences(resolver);
addEntry(std::make_unique<Record::DumpInfo>(Loc, ResolvedMessage));
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/104578
More information about the llvm-commits
mailing list