diff options
author | Emilia Kond <emilia@rymiel.space> | 2023-05-17 01:35:22 +0300 |
---|---|---|
committer | Emilia Kond <emilia@rymiel.space> | 2023-05-17 01:37:19 +0300 |
commit | e4d3e88802390a51ae62ade18e48c1a65a862d12 (patch) | |
tree | 2a22b83ac8bb03546478afc52b1c9e7ff07f22a3 /utils | |
parent | 407346c10e266183121f97e7e379cf0ab73ea2a2 (diff) | |
download | llvm-e4d3e88802390a51ae62ade18e48c1a65a862d12.tar.gz |
[clang-format] Don't allow template to be preceded by closing brace
This check is similar to the right paren check right below it, but it
doesn't need the overloaded operator check.
This patch prevents brace-initialized objects that are being compared
from being mis-annotated as template parameters.
Fixes https://github.com/llvm/llvm-project/issues/57004
Reviewed By: owenpan, MyDeveloperDay
Differential Revision: https://reviews.llvm.org/D150629
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions