]> granicus.if.org Git - clang/commit
[PPC] Move argument range checks for HTM and crypto builtins to Sema
authorKit Barton <kbarton@ca.ibm.com>
Mon, 30 Mar 2015 19:40:59 +0000 (19:40 +0000)
committerKit Barton <kbarton@ca.ibm.com>
Mon, 30 Mar 2015 19:40:59 +0000 (19:40 +0000)
commite434e379e8ac99225ac090dd09ae243a9c212905
tree83a7f89846fbc450868e826fe359e384b499316d
parentc11355ab5247db7d1dd7a4077e561683551980b0
[PPC] Move argument range checks for HTM and crypto builtins to Sema

The argument range checks for the HTM and Crypto builtins were implemented in
CGBuiltin.cpp, not in Sema. This change moves them to the appropriate location
in SemaChecking.cpp. It requires the creation of a new method in the Sema class
to do checks for PPC-specific builtins.

http://reviews.llvm.org/D8672

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233586 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/CodeGen/CGBuiltin.cpp
lib/Sema/SemaChecking.cpp
test/CodeGen/builtins-ppc-crypto-diag.c [deleted file]
test/Sema/builtins-ppc.c [new file with mode: 0644]