aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema/Sema.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-03-25 01:44:32 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-03-25 01:44:32 +0000
commit909a70d8a185f701c20bacc3c76f8f5979cbbc7c (patch)
treecb7a231d18b78b008ad9fea89388cb523433f428 /include/clang/Sema/Sema.h
parent2a523eec6a31955be876625819b89e8dc5def707 (diff)
Apply the nonnull attribute to constructor expressions too.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/Sema.h')
-rw-r--r--include/clang/Sema/Sema.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index bacd7691a3..d661a040df 100644
--- a/include/clang/Sema/Sema.h
+++ b/include/clang/Sema/Sema.h
@@ -5300,7 +5300,8 @@ private:
bool isPrintf);
void CheckNonNullArguments(const NonNullAttr *NonNull,
- const CallExpr *TheCall);
+ const Expr * const *ExprArgs,
+ SourceLocation CallSiteLoc);
void CheckPrintfScanfArguments(const CallExpr *TheCall, bool HasVAListArg,
unsigned format_idx, unsigned firstDataArg,