diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-28 21:59:02 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-28 21:59:02 +0000 |
commit | a724cff01b7c2dab536afe1ddf73740bf05ab841 (patch) | |
tree | 076ab855e4cce2933548196b88f7d2cb8418152b /clang/lib/AST/Expr.cpp | |
parent | 82862258e3208c5771f64b6a823d10400342ae68 (diff) | |
download | bcm5719-llvm-a724cff01b7c2dab536afe1ddf73740bf05ab841.tar.gz bcm5719-llvm-a724cff01b7c2dab536afe1ddf73740bf05ab841.zip |
Rename isBuiltinCall() to getBuiltinCallee()
This better describes what the function does.
Cleanup only.
llvm-svn: 198127
Diffstat (limited to 'clang/lib/AST/Expr.cpp')
-rw-r--r-- | clang/lib/AST/Expr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/Expr.cpp b/clang/lib/AST/Expr.cpp index 4f08655806c..3707955eb04 100644 --- a/clang/lib/AST/Expr.cpp +++ b/clang/lib/AST/Expr.cpp @@ -1184,9 +1184,9 @@ void CallExpr::setNumArgs(const ASTContext& C, unsigned NumArgs) { this->NumArgs = NumArgs; } -/// isBuiltinCall - If this is a call to a builtin, return the builtin ID. If +/// getBuiltinCallee - If this is a call to a builtin, return the builtin ID. If /// not, return 0. -unsigned CallExpr::isBuiltinCall() const { +unsigned CallExpr::getBuiltinCallee() const { // All simple function calls (e.g. func()) are implicitly cast to pointer to // function. As a result, we try and obtain the DeclRefExpr from the // ImplicitCastExpr. @@ -1209,7 +1209,7 @@ unsigned CallExpr::isBuiltinCall() const { } bool CallExpr::isUnevaluatedBuiltinCall(ASTContext &Ctx) const { - if (unsigned BI = isBuiltinCall()) + if (unsigned BI = getBuiltinCallee()) return Ctx.BuiltinInfo.isUnevaluated(BI); return false; } |