aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/PrintfFormatString.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-06-09 05:25:34 +0000
committerDouglas Gregor <dgregor@apple.com>2010-06-09 05:25:34 +0000
commitb4e3533ce1a4a77d33ca6dba6eaa0dba1fa2ee48 (patch)
treed9059d62d1f1bd47154d80f99ac40f4888536ab3 /clang/lib/Analysis/PrintfFormatString.cpp
parent8fc7823e4dfd8d75ce1a73a84810ddf4ae868234 (diff)
downloadllvm-b4e3533ce1a4a77d33ca6dba6eaa0dba1fa2ee48.zip
llvm-b4e3533ce1a4a77d33ca6dba6eaa0dba1fa2ee48.tar.gz
llvm-b4e3533ce1a4a77d33ca6dba6eaa0dba1fa2ee48.tar.bz2
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
Diffstat (limited to 'clang/lib/Analysis/PrintfFormatString.cpp')
-rw-r--r--clang/lib/Analysis/PrintfFormatString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp
index 381b15d..03aff38 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;
}