Add initial support for constant CFStrings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41136 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Sema/Sema.h b/Sema/Sema.h
index 22fffc7..89493ad 100644
--- a/Sema/Sema.h
+++ b/Sema/Sema.h
@@ -423,7 +423,7 @@
// 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 @@
bool HasVAListArg, FunctionDecl *FDecl,
unsigned format_idx, Expr** Args,
unsigned NumArgsInCall);
+
+ bool CheckBuiltinCFStringArgument(Expr* Arg);
};