dylanmckay added inline comments.
================ Comment at: lib/Sema/SemaDeclAttr.cpp:5145 + if (!isFunctionOrMethod(D)) { + S.Diag(D->getLocation(), diag::warn_attribute_wrong_decl_type) + << "'interrupt'" << ExpectedFunctionOrMethod; ---------------- I'm pretty sure that this check shouldn't be necessary, because we define `Subjects = [Function]` in TableGen. Without it though, the warning doesn't appear. Do you know why that is @aaron.ballman? https://reviews.llvm.org/D28451 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits