]> granicus.if.org Git - clang/commit
Add default calling convention support for regcall.
authorErich Keane <erich.keane@intel.com>
Thu, 2 Nov 2017 21:08:00 +0000 (21:08 +0000)
committerErich Keane <erich.keane@intel.com>
Thu, 2 Nov 2017 21:08:00 +0000 (21:08 +0000)
commit05b45eab313143ee8429824208c42f30e24bb013
tree0fece87273a9257224d74716feaaac91e28924e3
parent603490dae39300a191e0485ce192a46176267397
Add default calling convention support for regcall.

Added support for regcall as default calling convention. Also added code to
exclude main when applying default calling conventions.

Patch-By: eandrews
Differential Revision: https://reviews.llvm.org/D39210

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317268 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.h
include/clang/Driver/CC1Options.td
include/clang/Driver/CLCompatOptions.td
lib/AST/ASTContext.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaDecl.cpp
test/CodeGenCXX/default_calling_conv.cpp
test/Driver/cl-cc-flags.c