diff options
author | Emilia Kond <emilia@rymiel.space> | 2024-06-29 14:39:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-29 14:39:34 +0300 |
commit | 834ac2e205dd8e492d6084a7952e68e19a1f54db (patch) | |
tree | fda4a93ef251c60bad7a22bec8a6bf23ff76e6d8 /llvm/unittests/CodeGen/MachineInstrTest.cpp | |
parent | d0fee98e0cd6afa116bed90c47cc33bbf8d7b867 (diff) | |
download | llvm-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