History log of /external/clang/test/CodeGen/mrtd.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
58878f85ab89b13e9eea4af3ccf055e42c557bc8 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master clang for rebase to r235153

Change-Id: Ia94bbcb6da7c75b6e7c2afedd1001094d62a7324
/external/clang/test/CodeGen/mrtd.c
176edba5311f6eff0cad2631449885ddf4fbc9ea 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master Clang for rebase to r222490.

Change-Id: Ic557ac55e97fbf6ee08771c7b7c3594777b0aefd
/external/clang/test/CodeGen/mrtd.c
ef072033876e295ec5d3402f8730a3ae358ad815 28-Aug-2013 Reid Kleckner <reid@kleckner.net> Delete CC_Default and use the target default CC everywhere

Summary:
Makes functions with implicit calling convention compatible with
function types with a matching explicit calling convention. This fixes
things like calls to qsort(), which has an explicit __cdecl attribute on
the comparator in Windows headers.

Clang will now infer the calling convention from the declarator. There
are two cases when the CC must be adjusted during redeclaration:
1. When defining a non-inline static method.
2. When redeclaring a function with an implicit or mismatched
convention.

Fixes PR13457, and allows clang to compile CommandLine.cpp for the
Microsoft C++ ABI.

Excellent test cases provided by Alexander Zinenko!

Reviewers: rsmith

Differential Revision: http://llvm-reviews.chandlerc.com/D1231

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189412 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c
c3af6799d4c8ec4b338236e4361c0795e9af890a 27-Feb-2013 Bill Wendling <isanbard@gmail.com> Fix testcases to not rely upon target-* attributes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c
c2833111020d7a672bb4b547799fcd87ea4f8fb5 25-Feb-2013 Anna Zaks <ganna@apple.com> Revert "Add more attributes from the command line to functions."

This reverts commit 176009.

The commit is a likely cause of several buildbot failures.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c
d620e09c13b1ca32434ce440abf5bb0f3d0979c5 25-Feb-2013 Bill Wendling <isanbard@gmail.com> Add more attributes from the command line to functions.

This is an ongoing process. Any command line option which a back-end cares about
should be added here.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176009 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c
f7a9da053f5bd6c18450c1796d953b42c3b7ad3a 20-Feb-2013 Bill Wendling <isanbard@gmail.com> Modify the tests to use attribute group references instead of listing the
function attributes.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c
01f151e0ffba72bcad770bea5f563a9b68ca050e 21-Sep-2011 John McCall <rjmccall@apple.com> ANSI C requires that a call to an unprototyped function type succeed
if the definition has a non-variadic prototype with compatible
parameters. Therefore, the default rule for such calls must be to
use a non-variadic convention. Achieve this by casting the callee to
the function type with which it is required to be compatible, unless
the target specifically opts out and insists that unprototyped calls
should use the variadic rules. The only case of that I'm aware of is
the x86-64 convention, which passes arguments the same way in both
cases but also sets a small amount of extra information; here we seek
to maintain compatibility with GCC, which does set this when calling
an unprototyped function.

Addresses PR10810 and PR10713.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140241 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c
438d7f05d34abfdf6a8a8954a957b97275162070 01-Mar-2011 Douglas Gregor <dgregor@apple.com> Kill off more names to fix this test

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c
d25f485fdf0235dd030b7669bc72760b700f704a 01-Mar-2011 Roman Divacky <rdivacky@freebsd.org> Fix the test.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c
cfe9af250f466e7e38becea4428990448ae07737 01-Mar-2011 Roman Divacky <rdivacky@freebsd.org> Implement -mrtd which sets the StdCall calling convention to be the default
one.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126756 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/mrtd.c