]> granicus.if.org Git - clang/commitdiff
Fix a typo that breaks the GCC build. Turns out that Clang isn't
authorDouglas Gregor <dgregor@apple.com>
Wed, 9 Jun 2010 05:25:34 +0000 (05:25 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 9 Jun 2010 05:25:34 +0000 (05:25 +0000)
diagnosing this code as an error when it should, so I've filed
http://llvm.org/bugs/show_bug.cgi?id=7325.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105683 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/PrintfFormatString.cpp

index 381b15ddc72efef3bfb824dfac74dfb840766020..03aff386c26a62c8710793c00f8c5bf8f151f8ee 100644 (file)
@@ -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;
   }