diff options
author | mydeveloperday <mydeveloperday@gmail.com> | 2022-01-10 08:28:42 +0000 |
---|---|---|
committer | mydeveloperday <mydeveloperday@gmail.com> | 2022-01-10 08:29:35 +0000 |
commit | 5c2e7c9ca043d92bed75b08e653fb47c384edd13 (patch) | |
tree | a9702208600a507a2436459f9964456b8fe6c1db /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
parent | 5ff916ab72b26e667bd5d2e4a762650ba479c781 (diff) | |
download | llvm-5c2e7c9ca043d92bed75b08e653fb47c384edd13.zip llvm-5c2e7c9ca043d92bed75b08e653fb47c384edd13.tar.gz llvm-5c2e7c9ca043d92bed75b08e653fb47c384edd13.tar.bz2 |
[clang-format] Ensure we can correctly parse lambda in the template argument list
https://github.com/llvm/llvm-project/issues/46505
The presence of a lambda in an argument template list ignored the [] as a lambda at all, this caused the contents of the <> to be incorrectly analyzed.
```
struct Y : X < [] {
return 0;
} > {};
```
Fixes: #46505
Reviewed By: curdeius
Differential Revision: https://reviews.llvm.org/D116806
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions