[cfe-commits] r67868 - in /cfe/trunk: include/clang/AST/Attr.h include/clang/Basic/DiagnosticSemaKinds.td lib/CodeGen/CodeGenModule.cpp lib/Sema/SemaDeclAttr.cpp test/Sema/attr-regparm.c

Eli Friedman eli.friedman at gmail.com
Fri Mar 27 15:05:25 PDT 2009


On Fri, Mar 27, 2009 at 2:58 PM, Fariborz Jahanian <fjahanian at apple.com> wrote:
> We want to catch this:
>
> __attribute__((regparm(1)))void bar(void) {
>    foo(1, 2);
> }

And we do catch it even without that check... what issue were you expecting?

-Eli




More information about the cfe-commits mailing list