Adding check to emit diagnostic for invalid tag when concept is specified and associated tests.
Details
Details
- Reviewers
faisalv aaron.ballman • fraggamuffin rsmith hubert.reinterpretcast - Commits
- rGb20ab9245a59: [CONCEPTS] Add diagnostic; invalid tag when concept specified
rC245123: [CONCEPTS] Add diagnostic; invalid tag when concept specified
rL245123: [CONCEPTS] Add diagnostic; invalid tag when concept specified
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
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.