[llvm-branch-commits] [clang] [clang][test] add testing for the AST matcher reference (PR #94248)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Aug 24 04:18:08 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r 4da7732ebb70e76a2a604e04ee75d93395a92bd8...8124411b5b3489425a164b53e4ec9189b8eb293b clang/utils/generate_ast_matcher_doc_tests.py clang/docs/tools/dump_ast_matchers.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- utils/generate_ast_matcher_doc_tests.py	2024-08-24 11:14:04.000000 +0000
+++ utils/generate_ast_matcher_doc_tests.py	2024-08-24 11:17:34.037781 +0000
@@ -707,10 +707,11 @@
         res += "}"
         if has_cuda:
             res += "\n#endif\n"
         return res
 
+
 class ParsingContext(Enum):
     NoneCtx = 0
     Code = 1
     Header = 2
     CompileArgs = 3

``````````

</details>


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


More information about the llvm-branch-commits mailing list