From b4e3533ce1a4a77d33ca6dba6eaa0dba1fa2ee48 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 9 Jun 2010 05:25:34 +0000 Subject: [PATCH] Fix a typo that breaks the GCC build. Turns out that Clang isn't diagnosing this code as an error when it should, so I've filed http://llvm.org/bugs/show_bug.cgi?id=7325. llvm-svn: 105683 --- clang/lib/Analysis/PrintfFormatString.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp index 381b15ddc72e..03aff386c26a 100644 --- a/clang/lib/Analysis/PrintfFormatString.cpp +++ b/clang/lib/Analysis/PrintfFormatString.cpp @@ -740,7 +740,7 @@ bool FormatSpecifier::fixType(QualType QT) { CS.setKind(ConversionSpecifier::dArg); HasAlternativeForm = 0; } - else if (QT->isUnsignedIntegerType) { + else if (QT->isUnsignedIntegerType()) { CS.setKind(ConversionSpecifier::uArg); HasAlternativeForm = 0; }