https://github.com/llvm/llvm-project/issues/43196
Fixes #43196
-> is incorrectly interpreted as a TrailingReturnArrow if we've seen an auto
auto p = new A; auto x = p -> foo<1>();
Differential D115903
[clang-format] Extra spaces surrounding arrow in templated member call in variable decl MyDeveloperDay on Dec 16 2021, 1:42 PM. Authored by
Details https://github.com/llvm/llvm-project/issues/43196 Fixes #43196 -> is incorrectly interpreted as a TrailingReturnArrow if we've seen an auto auto p = new A; auto x = p -> foo<1>();
Diff Detail
Unit Tests
Event Timeline
Comment Actions LGTM.
|
Won't it break lambdas with an identifier (e.g. macro) before the arrow? E.g.: