On Wed, Sep 3, 2014 at 7:42 PM, Nico Weber <[email protected]> wrote:
> ================
> Comment at: lib/Sema/SemaStmtAsm.cpp:414
> @@ +413,3 @@
> +          Diag(Id.getLocStart(), diag::err_asm_naked_parm_ref);
> +          Diag(Func->getAttr<NakedAttr>()->getLocation(), 
> diag::note_attribute);
> +        }
> ----------------
> Do you need to ` Func->setInvalidDecl();` here too?

Hmm, I don't think so, but I should probably return ExprError() like
other parts of this function does. I'll do that in the next version.

Thanks for noticing!

 - Hans
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to