aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-05-21 18:48:51 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-05-21 18:48:51 +0000
commite898f8a94947c6074d76ff83943b47d5bbdf210d (patch)
tree1f78161a32336d99f5d0daedfcf751241a64c474 /lib/Sema/Sema.h
parent12d0c307369e4a523e2e40025bf124c310f98dff (diff)
Check on null arguments in the presense of nonnull attribute.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r--lib/Sema/Sema.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index 9c294e0b10..25284318a3 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -2741,6 +2741,8 @@ private:
void CheckPrintfString(const StringLiteral *FExpr, const Expr *OrigFormatExpr,
const CallExpr *TheCall, bool HasVAListArg,
unsigned format_idx, unsigned firstDataArg);
+ void CheckNonNullArguments(const NonNullAttr *NonNull,
+ const CallExpr *TheCall);
void CheckPrintfArguments(const CallExpr *TheCall, bool HasVAListArg,
unsigned format_idx, unsigned firstDataArg);
void CheckReturnStackAddr(Expr *RetValExp, QualType lhsType,