diff options
author | Saar Raz <saar@raz.email> | 2020-03-17 01:43:29 +0200 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2020-03-19 10:19:04 +0100 |
commit | 35627038123b5b391a20e9f4d44a85c7a325027b (patch) | |
tree | cba3d96f5eed35283a6c976c59a02289cf9728ef /clang/docs | |
parent | a36a14b70f18b156cea8552fd4b138487340ba76 (diff) | |
download | bcm5719-llvm-35627038123b5b391a20e9f4d44a85c7a325027b.tar.gz bcm5719-llvm-35627038123b5b391a20e9f4d44a85c7a325027b.zip |
[Concepts] Fix incorrect control flow when TryAnnotateTypeConstraint annotates an invalid template-id
TryAnnotateTypeConstraint could annotate a template-id which doesn't end up being a type-constraint,
in which case control flow would incorrectly flow into ParseImplicitInt.
Reenter the loop in this case.
Enable relevant tests for C++20. This required disabling typo-correction during TryAnnotateTypeConstraint
and changing a test case which is broken due to a separate bug (will be reported and handled separately).
(cherry picked from commit 19fccc52ff2c1da1f93d9317c34769bd9bab8ac8)
Diffstat (limited to 'clang/docs')
0 files changed, 0 insertions, 0 deletions