[cfe-commits] r105683 - /cfe/trunk/lib/Analysis/PrintfFormatString.cpp
Douglas Gregor
dgregor at apple.com
Tue Jun 8 22:25:34 PDT 2010
Author: dgregor
Date: Wed Jun 9 00:25:34 2010
New Revision: 105683
URL: http://llvm.org/viewvc/llvm-project?rev=105683&view=rev
Log:
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.
Modified:
cfe/trunk/lib/Analysis/PrintfFormatString.cpp
Modified: cfe/trunk/lib/Analysis/PrintfFormatString.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/PrintfFormatString.cpp?rev=105683&r1=105682&r2=105683&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/PrintfFormatString.cpp (original)
+++ cfe/trunk/lib/Analysis/PrintfFormatString.cpp Wed Jun 9 00:25:34 2010
@@ -740,7 +740,7 @@
CS.setKind(ConversionSpecifier::dArg);
HasAlternativeForm = 0;
}
- else if (QT->isUnsignedIntegerType) {
+ else if (QT->isUnsignedIntegerType()) {
CS.setKind(ConversionSpecifier::uArg);
HasAlternativeForm = 0;
}
More information about the cfe-commits
mailing list