diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2023-04-26 20:09:13 +0200 |
---|---|---|
committer | Corentin Jabot <corentinjabot@gmail.com> | 2023-05-20 13:22:58 +0200 |
commit | 1b0ba1c12fcc86dcf4097b3b8941260e8c6361fa (patch) | |
tree | f69a53b193b5e84fc907ac7d8d5a72cda39274dd /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | 55acb70b211a9807307c028f172b8400ebb30d9b (diff) | |
download | llvm-1b0ba1c12fcc86dcf4097b3b8941260e8c6361fa.zip llvm-1b0ba1c12fcc86dcf4097b3b8941260e8c6361fa.tar.gz llvm-1b0ba1c12fcc86dcf4097b3b8941260e8c6361fa.tar.bz2 |
[Clang] Fix parsing of `(auto(x))`.
Allow auto(x) to appear in a parenthesis
expression.
The pattern (auto( can appear as part of a declarator,
so the parser is modified to avoid the ambiguity,
in a way consistent with the proposed resolution to CWG1223.
Reviewed By: aaron.ballman, #clang-language-wg
Differential Revision: https://reviews.llvm.org/D149276
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions