[clang-tools-extra] [clang-doc][NFC] Rename CHECK prefix for YAML (PR #119808)

via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 12 20:24:23 PST 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 6cfad635d5aaa01abb82edc386329d8ed25078e1 bb23377a49bee459c9824827f8664f08feaa14f2 --extensions cpp -- clang-tools-extra/clang-doc/MDGenerator.cpp clang-tools-extra/test/clang-doc/templates.cpp
``````````

</details>

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

``````````diff
diff --git a/clang-tools-extra/clang-doc/MDGenerator.cpp b/clang-tools-extra/clang-doc/MDGenerator.cpp
index 00c6605725..28b645cf02 100644
--- a/clang-tools-extra/clang-doc/MDGenerator.cpp
+++ b/clang-tools-extra/clang-doc/MDGenerator.cpp
@@ -163,8 +163,8 @@ static void genMarkdown(const ClangDocContext &CDCtx, const FunctionInfo &I,
   writeHeader(I.Name, 3, OS);
   std::string Access = getAccessSpelling(I.Access).str();
   if (Access != "")
-    writeLine(genItalic(Access + " " + I.ReturnType.Type.QualName + " " + I.Name +
-                        "(" + Stream.str() + ")"),
+    writeLine(genItalic(Access + " " + I.ReturnType.Type.QualName + " " +
+                        I.Name + "(" + Stream.str() + ")"),
               OS);
   else
     writeLine(genItalic(I.ReturnType.Type.QualName + " " + I.Name + "(" +

``````````

</details>


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


More information about the cfe-commits mailing list