diff options
author | Eric Christopher <echristo@apple.com> | 2010-04-19 18:23:02 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-04-19 18:23:02 +0000 |
commit | 63448c3de29c176bb2254e14668be5cc407a76a1 (patch) | |
tree | 2622bf3bf823bc8de3b1231a0b7630c24dbea693 /clang/lib/Sema/SemaChecking.cpp | |
parent | 4d55b2d049760b9f81d3dc4af6a751537fc0e666 (diff) | |
download | bcm5719-llvm-63448c3de29c176bb2254e14668be5cc407a76a1.tar.gz bcm5719-llvm-63448c3de29c176bb2254e14668be5cc407a76a1.zip |
Remove the argument number from the constant integer diagnostic.
Update all of the testcases accordingly.
llvm-svn: 101795
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r-- | clang/lib/Sema/SemaChecking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index b1eb756d467..5056e3172b5 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -743,7 +743,7 @@ bool Sema::SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, if (!Arg->isIntegerConstantExpr(Result, Context)) return Diag(TheCall->getLocStart(), diag::err_constant_integer_arg_type) - << ArgNum << FDecl->getDeclName() << Arg->getSourceRange(); + << FDecl->getDeclName() << Arg->getSourceRange(); return false; } |