LLVM/project 446dbbfllvm/test/CodeGen/RISCV wide-scalar-shift-by-byte-multiple-legalization.ll, llvm/test/MC/AMDGPU gfx11_asm_vopc.s gfx11_asm_vop3_from_vopc.s

Merge remote-tracking branch 'official/main' into users/meinersbur/flang_runtime_split-headers
DeltaFile
+5,473-5,472llvm/test/MC/AMDGPU/gfx11_asm_vopc.s
+5,193-5,192llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
+4,537-4,536llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+4,704-4,272llvm/test/CodeGen/RISCV/wide-scalar-shift-by-byte-multiple-legalization.ll
+4,306-4,305llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s
+3,585-3,584llvm/test/MC/AMDGPU/gfx11_asm_vopc_dpp16.s
+27,798-27,3616,606 files not shown
+417,424-243,0896,612 files

LLVM/project b5b15c1clang/docs/tools dump_ast_matchers.py

[ast matcher][NFC] make dump_ast_matchers.py run in any path (#117942)

DeltaFile
+7-2clang/docs/tools/dump_ast_matchers.py
+7-21 files

LLVM/project 38b6811clang/docs LibASTMatchersReference.html, llvm/test/MC/AMDGPU gfx11_asm_vopc.s gfx11_asm_vop3_from_vopc.s

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+5,473-5,472llvm/test/MC/AMDGPU/gfx11_asm_vopc.s
+5,193-5,192llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
+4,537-4,536llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+4,306-4,305llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s
+2,263-5,670clang/docs/LibASTMatchersReference.html
+3,585-3,584llvm/test/MC/AMDGPU/gfx11_asm_vopc_dpp16.s
+25,357-28,7594,572 files not shown
+259,641-143,0134,578 files

LLVM/project 78ac4cbclang/docs LibASTMatchersReference.html, llvm/test/MC/AMDGPU gfx11_asm_vopc.s gfx11_asm_vop3_from_vopc.s

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+5,473-5,472llvm/test/MC/AMDGPU/gfx11_asm_vopc.s
+5,193-5,192llvm/test/MC/AMDGPU/gfx11_asm_vop3_from_vopc.s
+4,537-4,536llvm/test/MC/AMDGPU/gfx12_asm_vopc.s
+4,306-4,305llvm/test/MC/AMDGPU/gfx12_asm_vop3c.s
+2,263-5,670clang/docs/LibASTMatchersReference.html
+3,585-3,584llvm/test/MC/AMDGPU/gfx11_asm_vopc_dpp16.s
+25,357-28,7594,572 files not shown
+259,641-143,0134,578 files

LLVM/project 19a0ab5clang/docs LibASTMatchersReference.html, clang/include/clang/ASTMatchers ASTMatchers.h

Address comments

Created using spr 1.3.5
DeltaFile
+2,263-5,670clang/docs/LibASTMatchersReference.html
+1,688-4,141clang/include/clang/ASTMatchers/ASTMatchers.h
+1,912-0llvm/test/CodeGen/NVPTX/fma-relu-instruction-flag.ll
+1,269-0llvm/test/CodeGen/NVPTX/fma-relu-contract.ll
+1,188-0llvm/test/CodeGen/AArch64/phi.ll
+0-1,097clang/utils/generate_ast_matcher_doc_tests.py
+8,320-10,9081,423 files not shown
+28,724-21,4721,429 files

LLVM/project ec0a27fclang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

Revert "Reland: [clang][test] add testing for the AST matcher reference" (#116477)

Reverts llvm/llvm-project#112168
DeltaFile
+2,263-5,670clang/docs/LibASTMatchersReference.html
+1,688-4,141clang/include/clang/ASTMatchers/ASTMatchers.h
+0-1,097clang/utils/generate_ast_matcher_doc_tests.py
+3-427clang/unittests/ASTMatchers/ASTMatchersTest.h
+5-63clang/docs/tools/dump_ast_matchers.py
+0-15clang/unittests/ASTMatchers/CMakeLists.txt
+3,959-11,4132 files not shown
+3,960-11,4248 files

LLVM/project 7420027clang/test/CodeGen aarch64-neon-intrinsics.c, clang/test/CodeGen/AArch64 neon-intrinsics.c

Address comments

Created using spr 1.3.5
DeltaFile
+0-17,418clang/test/CodeGen/aarch64-neon-intrinsics.c
+17,418-0clang/test/CodeGen/AArch64/neon-intrinsics.c
+9,804-3,343llvm/test/CodeGen/AMDGPU/flat_atomics_i64_system.ll
+0-13,103clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
+13,103-0clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
+4,559-4,571llvm/test/CodeGen/AMDGPU/flat_atomics_i64.ll
+44,884-38,4355,875 files not shown
+562,412-488,5855,881 files

LLVM/project 34c5042clang/docs LibASTMatchersReference.html, clang/test/CodeGen aarch64-neon-intrinsics.c aarch64-neon-2velem.c

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+17,418-0clang/test/CodeGen/AArch64/neon-intrinsics.c
+0-17,418clang/test/CodeGen/aarch64-neon-intrinsics.c
+0-13,103clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
+13,103-0clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
+5,670-2,263clang/docs/LibASTMatchersReference.html
+0-5,776clang/test/CodeGen/aarch64-neon-2velem.c
+36,191-38,5603,148 files not shown
+318,765-276,8633,154 files

LLVM/project fd8310fclang/docs LibASTMatchersReference.html, clang/test/CodeGen aarch64-neon-intrinsics.c

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+17,418-0clang/test/CodeGen/AArch64/neon-intrinsics.c
+0-17,418clang/test/CodeGen/aarch64-neon-intrinsics.c
+0-13,103clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
+13,103-0clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
+5,670-2,263clang/docs/LibASTMatchersReference.html
+5,776-0clang/test/CodeGen/AArch64/neon-2velem.c
+41,967-32,7843,148 files not shown
+318,765-276,8633,154 files

LLVM/project 7ab7a98clang/docs LibASTMatchersReference.html, clang/test/CodeGen aarch64-neon-intrinsics.c aarch64-neon-2velem.c

Rebase

Created using spr 1.3.6-beta.1
DeltaFile
+0-17,418clang/test/CodeGen/aarch64-neon-intrinsics.c
+17,418-0clang/test/CodeGen/AArch64/neon-intrinsics.c
+0-13,103clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
+13,103-0clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
+5,670-2,263clang/docs/LibASTMatchersReference.html
+0-5,776clang/test/CodeGen/aarch64-neon-2velem.c
+36,191-38,5603,148 files not shown
+318,765-276,8633,154 files

LLVM/project df34686clang/docs LibASTMatchersReference.html, clang/test/CodeGen aarch64-neon-intrinsics.c

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+0-17,418clang/test/CodeGen/aarch64-neon-intrinsics.c
+17,418-0clang/test/CodeGen/AArch64/neon-intrinsics.c
+13,103-0clang/test/CodeGen/AArch64/sve-intrinsics/acle_sve_reinterpret.c
+0-13,103clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
+5,670-2,263clang/docs/LibASTMatchersReference.html
+5,776-0clang/test/CodeGen/AArch64/neon-2velem.c
+41,967-32,7843,148 files not shown
+318,765-276,8633,154 files

LLVM/project 53e92e4clang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

Reland: [clang][test] add testing for the AST matcher reference (#112168)

## Problem Statement
Previously, the examples in the AST matcher reference, which gets
generated by the Doxygen comments in `ASTMatchers.h`, were untested and
best effort.
Some of the matchers had no or wrong examples of how to use the matcher.

## Solution
This patch introduces a simple DSL around Doxygen commands to enable
testing the AST matcher documentation in a way that should be relatively
easy to use.
In `ASTMatchers.h`, most matchers are documented with a Doxygen comment.
Most of these also have a code example that aims to show what the
matcher will match, given a matcher somewhere in the documentation text.
The way that the documentation is tested, is by using Doxygen's alias
feature to declare custom aliases. These aliases forward to
`<tt>text</tt>` (which is what Doxygen's `\c` does, but for multiple
words). Using the Doxygen aliases is the obvious choice, because there

    [179 lines not shown]
DeltaFile
+5,670-2,263clang/docs/LibASTMatchersReference.html
+4,108-1,655clang/include/clang/ASTMatchers/ASTMatchers.h
+1,097-0clang/utils/generate_ast_matcher_doc_tests.py
+427-3clang/unittests/ASTMatchers/ASTMatchersTest.h
+63-5clang/docs/tools/dump_ast_matchers.py
+15-0clang/unittests/ASTMatchers/CMakeLists.txt
+11,380-3,9262 files not shown
+11,391-3,9278 files

LLVM/project 4564f6fflang/lib/Lower OpenMP.cpp, llvm/test/Analysis/CostModel/X86 icmp.ll icmp-latency.ll

Merge commit '2af415239962141e51a127943a2804c07d8ed3b8' into users/meinersbur/irbuilder-extract
DeltaFile
+14,694-3,895llvm/test/CodeGen/AMDGPU/bf16.ll
+2,610-2,610llvm/test/Analysis/CostModel/X86/icmp.ll
+0-4,507flang/lib/Lower/OpenMP.cpp
+1,970-1,970llvm/test/Analysis/CostModel/X86/icmp-latency.ll
+1,770-1,770llvm/test/Analysis/CostModel/X86/icmp-sizelatency.ll
+1,770-1,770llvm/test/Analysis/CostModel/X86/icmp-codesize.ll
+22,814-16,5224,476 files not shown
+210,259-88,1764,482 files

LLVM/project 2811a38clang/test/OpenMP atomic_compare_codegen.cpp nvptx_SPMD_codegen.cpp, libc/src/__support ryu_long_double_constants.h

Merge commit 'dd699c1333daeaea1c50c1506a66e9c7372afbb5' into users/meinersbur/irbuilder-extract
DeltaFile
+119,926-0libc/src/__support/ryu_long_double_constants.h
+20,887-20,814llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+34,181-35clang/test/OpenMP/atomic_compare_codegen.cpp
+12,436-12,678clang/test/OpenMP/nvptx_SPMD_codegen.cpp
+16,298-0llvm/test/CodeGen/X86/pcsections-atomics.ll
+12,455-3,587llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+216,183-37,11441,232 files not shown
+4,417,032-1,979,31641,238 files

LLVM/project a3e5813clang/test/CodeGen/RISCV/rvv-intrinsics vluxseg_mask_mf.c vloxseg_mask_mf.c, llvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-rcpc3.ll aarch64-atomicrmw-rcpc.ll

Merge commit 'e1acf65bc1b6fbde7f0d099003c148f9b46f7b21' into users/meinersbur/irbuilder-extract
DeltaFile
+9,679-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+9,679-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+9,679-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+9,679-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+0-9,104clang/test/CodeGen/RISCV/rvv-intrinsics/vluxseg_mask_mf.c
+0-9,104clang/test/CodeGen/RISCV/rvv-intrinsics/vloxseg_mask_mf.c
+38,716-18,20815,675 files not shown
+2,473,889-901,26515,681 files

LLVM/project 2af4152flang/lib/Lower OpenMP.cpp, llvm/test/Analysis/CostModel/X86 icmp.ll icmp-latency.ll

Merge commit '6b62a9135a28bd001263e5a9db08d4cff1123126' into users/meinersbur/irbuilder-extract-refactor
DeltaFile
+14,694-3,895llvm/test/CodeGen/AMDGPU/bf16.ll
+2,610-2,610llvm/test/Analysis/CostModel/X86/icmp.ll
+0-4,507flang/lib/Lower/OpenMP.cpp
+1,970-1,970llvm/test/Analysis/CostModel/X86/icmp-latency.ll
+1,770-1,770llvm/test/Analysis/CostModel/X86/icmp-sizelatency.ll
+1,770-1,770llvm/test/Analysis/CostModel/X86/icmp-codesize.ll
+22,814-16,5224,476 files not shown
+210,259-88,1764,482 files

LLVM/project dd699c1clang/test/OpenMP atomic_compare_codegen.cpp nvptx_SPMD_codegen.cpp, libc/src/__support ryu_long_double_constants.h

Merge commit '6942c64e8128e4ccd891b813d0240f574f80f59e^' into users/meinersbur/irbuilder-extract-refactor
DeltaFile
+119,926-0libc/src/__support/ryu_long_double_constants.h
+20,887-20,814llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+34,181-35clang/test/OpenMP/atomic_compare_codegen.cpp
+12,436-12,678clang/test/OpenMP/nvptx_SPMD_codegen.cpp
+16,298-0llvm/test/CodeGen/X86/pcsections-atomics.ll
+12,455-3,587llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll
+216,183-37,11441,232 files not shown
+4,417,032-1,979,31641,238 files

LLVM/project e1acf65llvm/test/CodeGen/AArch64/Atomics aarch64-atomicrmw-rcpc3.ll aarch64-atomicrmw-v8a.ll, llvm/test/CodeGen/AMDGPU gfx-callable-argument-types.ll

Merge commit 'f9599bbc7a3f831e1793a549d8a7a19265f3e504^' into users/meinersbur/irbuilder-extract-refactor
DeltaFile
+8,414-8,431llvm/test/CodeGen/SystemZ/Large/branch-01.ll
+9,679-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
+9,679-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-v8a.ll
+9,679-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc.ll
+9,679-0llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-lse2.ll
+5,620-3,841llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
+52,750-12,27221,723 files not shown
+2,716,037-1,117,08321,729 files

LLVM/project ca8d388clang/docs LibASTMatchersReference.html, clang/include/clang/ASTMatchers ASTMatchers.h

rev

Created using spr 1.3.4
DeltaFile
+10,807-1,742llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
+2,266-5,673clang/docs/LibASTMatchersReference.html
+6,938-29llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
+3,290-3,290clang/test/Sema/aarch64-sve2-intrinsics/acle_sve2.cpp
+1,688-4,141clang/include/clang/ASTMatchers/ASTMatchers.h
+2,525-2,525llvm/test/CodeGen/RISCV/wide-scalar-shift-by-byte-multiple-legalization.ll
+27,514-17,4004,087 files not shown
+185,816-103,3434,093 files

LLVM/project fb87349llvm/test/CodeGen/RISCV/rvv vloxseg-rv64.ll vluxseg-rv64.ll

reb

Created using spr 1.3.4
DeltaFile
+17,258-17,152llvm/test/CodeGen/RISCV/rvv/vloxseg-rv64.ll
+17,258-17,152llvm/test/CodeGen/RISCV/rvv/vluxseg-rv64.ll
+14,327-17,447llvm/test/CodeGen/RISCV/rvv/vsuxseg-rv64.ll
+14,327-17,447llvm/test/CodeGen/RISCV/rvv/vsoxseg-rv64.ll
+12,923-11,789llvm/test/CodeGen/RISCV/rvv/vluxseg-rv32.ll
+12,923-11,789llvm/test/CodeGen/RISCV/rvv/vloxseg-rv32.ll
+89,016-92,77610,988 files not shown
+937,390-704,05710,994 files

LLVM/project 31f9e85clang/docs LibASTMatchersReference.html, clang/include/clang/ASTMatchers ASTMatchers.h

Fix a crash

Created using spr 1.3.5
DeltaFile
+2,266-5,673clang/docs/LibASTMatchersReference.html
+1,688-4,141clang/include/clang/ASTMatchers/ASTMatchers.h
+2,012-2,109llvm/test/CodeGen/AMDGPU/div_i128.ll
+1,548-1,542llvm/test/CodeGen/AMDGPU/remat-vop.mir
+1,518-1,557llvm/test/CodeGen/AMDGPU/rem_i128.ll
+1,266-1,310llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
+10,298-16,332897 files not shown
+42,158-33,537903 files

LLVM/project 09b3119clang/docs LibASTMatchersReference.html, clang/include/clang/ASTMatchers ASTMatchers.h

Rebase, address comments

Created using spr 1.3.5
DeltaFile
+2,266-5,673clang/docs/LibASTMatchersReference.html
+1,688-4,141clang/include/clang/ASTMatchers/ASTMatchers.h
+2,012-2,109llvm/test/CodeGen/AMDGPU/div_i128.ll
+1,548-1,542llvm/test/CodeGen/AMDGPU/remat-vop.mir
+1,518-1,557llvm/test/CodeGen/AMDGPU/rem_i128.ll
+1,266-1,310llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
+10,298-16,332712 files not shown
+33,715-30,964718 files

LLVM/project a800764clang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

Revert "[clang][test] add testing for the AST matcher reference" (#110354)

Reverts llvm/llvm-project#110258

The commit caused a timeout for clang-arm64-windows-msvc:
https://lab.llvm.org/buildbot/#/builders/161/builds/2385
and it looks like my commit is at fault.
DeltaFile
+2,266-5,673clang/docs/LibASTMatchersReference.html
+1,688-4,141clang/include/clang/ASTMatchers/ASTMatchers.h
+0-1,097clang/utils/generate_ast_matcher_doc_tests.py
+3-425clang/unittests/ASTMatchers/ASTMatchersTest.h
+5-63clang/docs/tools/dump_ast_matchers.py
+0-15clang/unittests/ASTMatchers/CMakeLists.txt
+3,962-11,4142 files not shown
+3,963-11,4258 files

LLVM/project e42cc3fclang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

[clang][test] add testing for the AST matcher reference (#110258)

## Problem Statement
Previously, the examples in the AST matcher reference, which gets
generated by the Doxygen comments in `ASTMatchers.h`, were untested and
best effort.
Some of the matchers had no or wrong examples of how to use the matcher.

## Solution
This patch introduces a simple DSL around Doxygen commands to enable
testing the AST matcher documentation in a way that should be relatively
easy to use.
In `ASTMatchers.h`, most matchers are documented with a Doxygen comment.
Most of these also have a code example that aims to show what the
matcher will match, given a matcher somewhere in the documentation text.
The way that the documentation is tested, is by using Doxygen's alias
feature to declare custom aliases. These aliases forward to
`<tt>text</tt>` (which is what Doxygen's `\c` does, but for multiple
words). Using the Doxygen aliases is the obvious choice, because there

    [179 lines not shown]
DeltaFile
+5,673-2,266clang/docs/LibASTMatchersReference.html
+4,108-1,655clang/include/clang/ASTMatchers/ASTMatchers.h
+1,097-0clang/utils/generate_ast_matcher_doc_tests.py
+425-3clang/unittests/ASTMatchers/ASTMatchersTest.h
+63-5clang/docs/tools/dump_ast_matchers.py
+15-0clang/unittests/ASTMatchers/CMakeLists.txt
+11,381-3,9292 files not shown
+11,392-3,9308 files

LLVM/project 28416b7clang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

Revert "[clang][test] add testing for the AST matcher reference (#94248)"

This reverts commit 097ada2fcb607be09da94a0d11f627a3759a10de.
DeltaFile
+2,266-5,673clang/docs/LibASTMatchersReference.html
+1,688-4,145clang/include/clang/ASTMatchers/ASTMatchers.h
+0-1,165clang/utils/generate_ast_matcher_doc_tests.py
+3-425clang/unittests/ASTMatchers/ASTMatchersTest.h
+5-63clang/docs/tools/dump_ast_matchers.py
+0-15clang/unittests/ASTMatchers/CMakeLists.txt
+3,962-11,4862 files not shown
+3,963-11,4978 files

LLVM/project 097ada2clang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

[clang][test] add testing for the AST matcher reference (#94248)

## Problem Statement
Previously, the examples in the AST matcher reference, which gets
generated by the doxygen comments in `ASTMatchers.h`, were untested and
best effort.
Some of the matchers had no or wrong examples of how to use the matcher.

## Solution
This patch introduces a simple DSL around doxygen commands to enable
testing the AST matcher documentation in a way that should be relatively
easy to use.
In `ASTMatchers.h`, most matchers are documented with a doxygen comment.
Most of these also have a code example that aims to show what the
matcher will match, given a matcher somewhere in the documentation text.
The way that the documentation is tested, is by using doxygen's alias
feature to declare custom aliases. These aliases forward to
`<tt>text</tt>` (which is what doxygen's `\c` does, but for multiple
words). Using the doxygen aliases is the obvious choice, because there

    [184 lines not shown]
DeltaFile
+5,673-2,266clang/docs/LibASTMatchersReference.html
+4,112-1,655clang/include/clang/ASTMatchers/ASTMatchers.h
+1,165-0clang/utils/generate_ast_matcher_doc_tests.py
+425-3clang/unittests/ASTMatchers/ASTMatchersTest.h
+63-5clang/docs/tools/dump_ast_matchers.py
+15-0clang/unittests/ASTMatchers/CMakeLists.txt
+11,453-3,9292 files not shown
+11,464-3,9308 files

LLVM/project 44b7065clang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

[clang][test] add testing for the AST matcher reference

Previously, the examples in the AST matcher reference, which gets
generated by the doxygen comments in `ASTMatchers.h`, were untested
and best effort.
Some of the matchers had no or wrong examples of how to use the matcher.

This patch introduces a simple DSL around doxygen commands to enable
testing the AST matcher documentation in a way that should be relatively
easy.
In `ASTMatchers.h`, most matchers are documented with a doxygen comment.
Most of these also have a code example that aims to show what the
matcher will match, given a matcher somewhere in the documentation text.
The way that testing the documentation is done, is by using doxygens
alias feature to declare custom aliases. These aliases forward to
`<tt>text</tt>` (which is what doxygens \c does, but for multiple words).
Using the doxygen aliases was the obvious choice, because there are
(now) four consumers:
 - people reading the header/using signature help

    [115 lines not shown]
DeltaFile
+5,673-2,266clang/docs/LibASTMatchersReference.html
+3,885-1,624clang/include/clang/ASTMatchers/ASTMatchers.h
+1,160-0clang/utils/generate_ast_matcher_doc_tests.py
+443-3clang/unittests/ASTMatchers/ASTMatchersTest.h
+63-5clang/docs/tools/dump_ast_matchers.py
+15-0clang/unittests/ASTMatchers/CMakeLists.txt
+11,239-3,8982 files not shown
+11,250-3,8998 files

LLVM/project 9bc6c9ellvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/RISCV/rvv vloxseg-rv64.ll vluxseg-rv64.ll

rebase

Created using spr 1.3.5-bogner
DeltaFile
+22,225-17,874llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-7.ll
+19,816-19,812llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp
+17,258-17,152llvm/test/CodeGen/RISCV/rvv/vloxseg-rv64.ll
+17,258-17,152llvm/test/CodeGen/RISCV/rvv/vluxseg-rv64.ll
+14,327-17,447llvm/test/CodeGen/RISCV/rvv/vsoxseg-rv64.ll
+14,327-17,447llvm/test/CodeGen/RISCV/rvv/vsuxseg-rv64.ll
+105,211-106,88450,557 files not shown
+5,033,721-2,425,70450,563 files

LLVM/project 8d05745clang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

[clang][test] add testing for the AST matcher reference

Previously, the examples in the AST matcher reference, which gets
generated by the doxygen comments in `ASTMatchers.h`, were untested
and best effort.
Some of the matchers had no or wrong examples of how to use the matcher.

This patch introduces a simple DSL around doxygen commands to enable
testing the AST matcher documentation in a way that should be relatively
easy.
In `ASTMatchers.h`, most matchers are documented with a doxygen comment.
Most of these also have a code example that aims to show what the
matcher will match, given a matcher somewhere in the documentation text.
The way that testing the documentation is done, is by using doxygens
alias feature to declare custom aliases. These aliases forward to
`<tt>text</tt>` (which is what doxygens \c does, but for multiple words).
Using the doxygen aliases was the obvious choice, because there are
(now) four consumers:
 - people reading the header/using signature help

    [115 lines not shown]
DeltaFile
+5,673-2,266clang/docs/LibASTMatchersReference.html
+3,885-1,624clang/include/clang/ASTMatchers/ASTMatchers.h
+1,160-0clang/utils/generate_ast_matcher_doc_tests.py
+443-3clang/unittests/ASTMatchers/ASTMatchersTest.h
+63-5clang/docs/tools/dump_ast_matchers.py
+15-0clang/unittests/ASTMatchers/CMakeLists.txt
+11,239-3,8982 files not shown
+11,250-3,8998 files

LLVM/project 6416b6dclang/docs LibASTMatchersReference.html, clang/docs/tools dump_ast_matchers.py

[clang][test] add testing for the AST matcher reference

Previously, the examples in the AST matcher reference, which gets
generated by the doxygen comments in `ASTMatchers.h`, were untested
and best effort.
Some of the matchers had no or wrong examples of how to use the matcher.

This patch introduces a simple DSL around doxygen commands to enable
testing the AST matcher documentation in a way that should be relatively
easy.
In `ASTMatchers.h`, most matchers are documented with a doxygen comment.
Most of these also have a code example that aims to show what the
matcher will match, given a matcher somewhere in the documentation text.
The way that testing the documentation is done, is by using doxygens
alias feature to declare custom aliases. These aliases forward to
`<tt>text</tt>` (which is what doxygens \c does, but for multiple words).
Using the doxygen aliases was the obvious choice, because there are
(now) four consumers:
 - people reading the header/using signature help

    [115 lines not shown]
DeltaFile
+5,673-2,266clang/docs/LibASTMatchersReference.html
+3,885-1,624clang/include/clang/ASTMatchers/ASTMatchers.h
+1,160-0clang/utils/generate_ast_matcher_doc_tests.py
+443-3clang/unittests/ASTMatchers/ASTMatchersTest.h
+63-5clang/docs/tools/dump_ast_matchers.py
+15-0clang/unittests/ASTMatchers/CMakeLists.txt
+11,239-3,8982 files not shown
+11,250-3,8998 files