aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/MachineInstrTest.cpp
diff options
context:
space:
mode:
authorEmilia Kond <emilia@rymiel.space>2024-06-29 14:39:34 +0300
committerGitHub <noreply@github.com>2024-06-29 14:39:34 +0300
commit834ac2e205dd8e492d6084a7952e68e19a1f54db (patch)
treefda4a93ef251c60bad7a22bec8a6bf23ff76e6d8 /llvm/unittests/CodeGen/MachineInstrTest.cpp
parentd0fee98e0cd6afa116bed90c47cc33bbf8d7b867 (diff)
downloadllvm-834ac2e205dd8e492d6084a7952e68e19a1f54db.zip
llvm-834ac2e205dd8e492d6084a7952e68e19a1f54db.tar.gz
llvm-834ac2e205dd8e492d6084a7952e68e19a1f54db.tar.bz2
[clang-format] Allow ternary in all templates (#96801)
Currently, question mark and colon tokens are not allowed between angle brackets, as a template argument, if we are in an expression context. However, expressions can still allowed in non-expression contexts, leading to inconsistent formatting. Removing this check entirely fixes this issue, and, surprisingly, breaks no tests. Fixes https://github.com/llvm/llvm-project/issues/81385
Diffstat (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp')
0 files changed, 0 insertions, 0 deletions