This is an archive of the discontinued LLVM Phabricator instance.

[CONCEPTS] Add diagnostic; invalid tag when concept specified
ClosedPublic

Authored by nwilson on Aug 10 2015, 12:00 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

nwilson updated this revision to Diff 31706.Aug 10 2015, 12:00 PM
nwilson retitled this revision from to [CONCEPTS] Add diagnostic; invalid tag when concept specified.
nwilson updated this object.
nwilson added a subscriber: cfe-commits.
nwilson updated this revision to Diff 31957.Aug 12 2015, 10:40 AM

Addressing comments which were discussed on the mailing list - Apply the same text when diagnosing a free standing declaration as suggested by Aaron. Replace diagnostic identifier err_concept_decl_non_template with err_concept_wrong_decl_kind as suggested by Hubert and Richard. Fix tests corresponding to the changes.

aaron.ballman added a subscriber: aaron.ballman.

LGTM!

~Aaron

This revision was automatically updated to reflect the committed changes.