[llvm] [llvm][Support] Add indirection to call correct validate(...) function (PR #71966)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 26 00:07:53 PST 2023
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 2bac7201018dcab549895c30c0eb26bee45d842f ed128ecf1bd168a0d7e3287711a40680128416e4 -- llvm/include/llvm/Support/YAMLTraits.h llvm/unittests/Support/YAMLIOTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/Support/YAMLIOTest.cpp b/llvm/unittests/Support/YAMLIOTest.cpp
index 536729b4f3..a061fd76f3 100644
--- a/llvm/unittests/Support/YAMLIOTest.cpp
+++ b/llvm/unittests/Support/YAMLIOTest.cpp
@@ -2623,7 +2623,7 @@ template <> struct MappingContextTraits<SimpleMap, MappingContext> {
++Context.A;
io.mapRequired("Context", Context.A);
}
- std::string validate (IO&io, SimpleMap &sm, MappingContext &Context) {
+ std::string validate(IO &io, SimpleMap &sm, MappingContext &Context) {
return "";
}
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/71966
More information about the llvm-commits
mailing list