]> granicus.if.org Git - clang/commit
Ensure Target Features always_inline error happens in C++ cases.
authorErich Keane <erich.keane@intel.com>
Fri, 21 Jun 2019 22:29:32 +0000 (22:29 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 21 Jun 2019 22:29:32 +0000 (22:29 +0000)
commit3a61f114d11b5c7c1846385bdf0dee58bb77f793
tree67830d23b18f04c419106950aaa7698d62b990ec
parent4d3ceb1150c4d967df9aef96ade7f8e0b5e401e9
Ensure Target Features always_inline error happens in C++ cases.

A handful of C++ cases as reported in PR42352 didn't actually give an
error when always_inlining with a different target feature list. This
resulted in broken IR.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364109 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/target-builtin-error.o [new file with mode: 0644]
test/CodeGenCXX/target-features-error.cpp [new file with mode: 0644]