[PATCH] D13357: [Concepts] Diagnose when 'concept' is specified on a specialization

Nathan Wilson via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 13 16:41:09 PST 2016


nwilson added inline comments.

================
Comment at: include/clang/AST/DeclTemplate.h:375
@@ +374,3 @@
+  bool isConcept() const { return TemplatedDecl.getInt(); }
+  void setConcept(bool IC) { TemplatedDecl.setInt(true); }
+
----------------
hubert.reinterpretcast wrote:
> The parameter is now unused and should be removed.
Hmm, I think I should actually use that parameter since it's a bug as is (and would still be if I removed the parameter). I'll plan on doing that unless there is another thought about this.


http://reviews.llvm.org/D13357





More information about the cfe-commits mailing list