summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-04-19 18:23:02 +0000
committerEric Christopher <echristo@apple.com>2010-04-19 18:23:02 +0000
commit63448c3de29c176bb2254e14668be5cc407a76a1 (patch)
tree2622bf3bf823bc8de3b1231a0b7630c24dbea693 /clang/lib/Sema/SemaChecking.cpp
parent4d55b2d049760b9f81d3dc4af6a751537fc0e666 (diff)
downloadbcm5719-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.cpp2
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;
}
OpenPOWER on IntegriCloud