]> granicus.if.org Git - clang/commit
CodeGen: make target builtins support languages
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 2 Jul 2014 17:41:27 +0000 (17:41 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 2 Jul 2014 17:41:27 +0000 (17:41 +0000)
commit38b6a39b0edef34ed5ad0f61e7349f12164fba57
treec668e260fea400ec2bfef15681dc8faf3c99a071
parentd2aaf2f173d71bf45f6370357ac02c783cae6e17
CodeGen: make target builtins support languages

This extends the target builtin support to allow language specific annotations
(i.e. LANGBUILTIN).  This is to allow MSVC compatibility whilst retaining the
ability to have EABI targets use a __builtin_ prefix.  This is merely to allow
uniformity in the EABI case where the unprefixed name is provided as an alias in
the header.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212196 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsARM.def
lib/Basic/Builtins.cpp
lib/Basic/Targets.cpp
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtins-arm-microsoft.c
test/CodeGen/builtins-arm.c