aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclAttr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-19 07:22:31 +0000
committerChris Lattner <sabre@nondot.org>2008-11-19 07:22:31 +0000
commit30bc96544346bea42921cf6837e66cef80d664b4 (patch)
tree97ede4737a79f212755c55bdadd33796d553c2df /lib/Sema/SemaDeclAttr.cpp
parenta03a5b5a84989b1cbd3917b967e8fe64f99cfa80 (diff)
add direct support for signed and unsigned integer arguments to diagnostics.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclAttr.cpp')
-rw-r--r--lib/Sema/SemaDeclAttr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp
index 40f70fb3cc..d83ba8561b 100644
--- a/lib/Sema/SemaDeclAttr.cpp
+++ b/lib/Sema/SemaDeclAttr.cpp
@@ -328,7 +328,7 @@ static void HandleNonNullAttr(Decl *d, const AttributeList &Attr, Sema &S) {
if (x < 1 || x > NumArgs) {
S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds)
- << "nonnull" << llvm::utostr_32(I.getArgNum()) << Ex->getSourceRange();
+ << "nonnull" << I.getArgNum() << Ex->getSourceRange();
return;
}