]> granicus.if.org Git - clang/commit
Allowing individual targets to determine whether a given calling convention is allowe...
authorAaron Ballman <aaron@aaronballman.com>
Tue, 2 Oct 2012 14:26:08 +0000 (14:26 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 2 Oct 2012 14:26:08 +0000 (14:26 +0000)
commit82bfa19fe3be324b13fdbcda46304b52c500f0d4
tree0daccd9f1baf85595defd27fbac108073d2d56df
parent2ec1d13063fe11730f4a0005ee39299a1145a98a
Allowing individual targets to determine whether a given calling convention is allowed or ignored with warning. This allows for correct name mangling for x64 targets on Windows, which in turn allows for linking against the Win32 APIs.

Fixes PR13782

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165015 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/AST/Type.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/Specifiers.h
include/clang/Basic/TargetInfo.h
lib/Basic/Targets.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaType.cpp
test/CodeGen/microsoft-call-conv-x64.c [new file with mode: 0644]
test/CodeGen/microsoft-call-conv.c
test/CodeGen/stdcall-fastcall.c
test/CodeGenCXX/mangle-ms.cpp
test/Sema/MicrosoftCompatibility-x64.c [new file with mode: 0644]
test/Sema/MicrosoftCompatibility.c
test/Sema/callingconv.c
test/Sema/stdcall-fastcall-x64.c [new file with mode: 0644]
test/Sema/stdcall-fastcall.c