summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-06-21 22:29:32 +0000
committerErich Keane <erich.keane@intel.com>2019-06-21 22:29:32 +0000
commit36176249d136a7ac562e7f1d030ff8dbf943d52b (patch)
tree0e55b21850d3359a9d65d859c0acf6f5dd44e081 /clang/lib/CodeGen/CodeGenFunction.h
parentfa52674ac08f6923f17a30aae04ea1d3412dc2ba (diff)
downloadbcm5719-llvm-36176249d136a7ac562e7f1d030ff8dbf943d52b.tar.gz
bcm5719-llvm-36176249d136a7ac562e7f1d030ff8dbf943d52b.zip
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. llvm-svn: 364109
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 3516e842ddc..b039d7da1f0 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -3605,6 +3605,7 @@ public:
CGCallee EmitCallee(const Expr *E);
void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl);
+ void checkTargetFeatures(SourceLocation Loc, const FunctionDecl *TargetDecl);
llvm::CallInst *EmitRuntimeCall(llvm::FunctionCallee callee,
const Twine &name = "");
OpenPOWER on IntegriCloud