[llvm-branch-commits] [clang] [clang][test] add testing for the AST matcher reference (PR #94248)
Aaron Ballman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 4 06:20:49 PDT 2024
https://github.com/AaronBallman commented:
It looks like precommit CI found relevant failures:
```
_bk;t=1717501095887FAILED: tools/clang/unittests/ASTMatchers/ASTMatchersDocTests.cpp
_bk;t=1717501095887cmd.exe /C "cd /D C:\ws\src\build\tools\clang\unittests\ASTMatchers && C:\ws\src\clang\utils\generate_ast_matcher_doc_tests.py --input-file C:/ws/src/clang/include/clang/ASTMatchers/ASTMatchers.h --output-file C:/ws/src/build/tools/clang/unittests/ASTMatchers/ASTMatchersDocTests.cpp"
_bk;t=1717501095887 File "C:\ws\src\clang\utils\generate_ast_matcher_doc_tests.py", line 613
_bk;t=1717501099131 const StringRef Code = R"cpp(\n{"\t#include \"cuda.h\"\n" if has_cuda else ""}{self.code})cpp";\n"""
_bk;t=1717501099131 ^
_bk;t=1717501099131SyntaxError: f-string expression part cannot include a backslash
```
https://github.com/llvm/llvm-project/pull/94248
More information about the llvm-branch-commits
mailing list