HomePhabricator

[c++2a] [concepts] Add rudimentary parsing support for template concept…

Description

[c++2a] [concepts] Add rudimentary parsing support for template concept declarations

This patch is a tweak of changyu's patch: https://reviews.llvm.org/D40381. It differs in that the recognition of the 'concept' token is moved into the machinery that recognizes declaration-specifiers - this allows us to leverage the attribute handling machinery more seamlessly.

See the test file to get a sense of the basic parsing that this patch supports.

There is much more work to be done before concepts are usable...

Thanks Changyu!

Details

Committed
faisalvApr 24 2018, 7:42 PM
Parents
rC330793: Fix failure in lit test kernel-call.cu
Branches
Unknown
Tags
Unknown
Reverted By
rC330888: Revert rC330794 and some dependent tiny bug fixes