summaryrefslogtreecommitdiffstats
path: root/clang/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Sema/Sema.h')
-rw-r--r--clang/Sema/Sema.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h
index 22fffc7299e..89493ad1e31 100644
--- a/clang/Sema/Sema.h
+++ b/clang/Sema/Sema.h
@@ -423,7 +423,7 @@ private:
// Extra semantic analysis beyond the C type system
private:
- void CheckFunctionCall(Expr *Fn,
+ bool CheckFunctionCall(Expr *Fn,
SourceLocation LParenLoc, SourceLocation RParenLoc,
FunctionDecl *FDecl,
Expr** Args, unsigned NumArgsInCall);
@@ -433,6 +433,8 @@ private:
bool HasVAListArg, FunctionDecl *FDecl,
unsigned format_idx, Expr** Args,
unsigned NumArgsInCall);
+
+ bool CheckBuiltinCFStringArgument(Expr* Arg);
};
OpenPOWER on IntegriCloud