diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-06-09 05:25:34 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-06-09 05:25:34 +0000 |
| commit | b4e3533ce1a4a77d33ca6dba6eaa0dba1fa2ee48 (patch) | |
| tree | d9059d62d1f1bd47154d80f99ac40f4888536ab3 | |
| parent | 8fc7823e4dfd8d75ce1a73a84810ddf4ae868234 (diff) | |
| download | bcm5719-llvm-b4e3533ce1a4a77d33ca6dba6eaa0dba1fa2ee48.tar.gz bcm5719-llvm-b4e3533ce1a4a77d33ca6dba6eaa0dba1fa2ee48.zip | |
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
| -rw-r--r-- | clang/lib/Analysis/PrintfFormatString.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp index 381b15ddc72..03aff386c26 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; } |

