* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 May 2012 09:32:50 +0000 (09:32 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 May 2012 09:32:50 +0000 (09:32 +0000)
commitd14317eaa766be9a9caead8c2e55c608b19133ad
tree52608a68d00e823d6d2ae72fe69bd81af3a8b1c6
parent41bd13553cd62534c4f54a9bd5f6c661fc799f32
* gcc-interface/decl.c (Has_Thiscall_Convention): New macro.
(gnat_to_gnu_entity) <E_Subprogram_Type>: Test it to set the thiscall
calling convention
(get_minimal_subprog_decl): Likewise.
(gnat_first_param_is_class): New predicate.

* gcc-interface/misc.c (gnat_handle_option): Fix formatting.
* gcc-interface/Makefile.in: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187676 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/gcc-interface/Makefile.in
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/misc.c