diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-11-12 00:44:04 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-11-12 00:44:04 +0000 |
| commit | c7e79dbec8b392e588e6c3bf17d611656a1f682d (patch) | |
| tree | 2a78dcb3e08e6b0a1286720a6ca897bb1d2097b9 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | 66dbb2809da44a25764b6f36a93f911eb1d38017 (diff) | |
| download | bcm5719-llvm-c7e79dbec8b392e588e6c3bf17d611656a1f682d.tar.gz bcm5719-llvm-c7e79dbec8b392e588e6c3bf17d611656a1f682d.zip | |
In preparation to use it in more places rename
checkBuiltinTargetFeatures to checkTargetFeatures and sink
the error handling into the function.
llvm-svn: 252832
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 1aab00e10d2..d0f37e6fa45 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2638,9 +2638,7 @@ public: RValue EmitCallExpr(const CallExpr *E, ReturnValueSlot ReturnValue = ReturnValueSlot()); - void getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap, - const FunctionDecl *FD); - bool checkBuiltinTargetFeatures(const FunctionDecl *TargetDecl); + void checkTargetFeatures(const CallExpr *E, const FunctionDecl *TargetDecl); llvm::CallInst *EmitRuntimeCall(llvm::Value *callee, const Twine &name = ""); |

