aboutsummaryrefslogtreecommitdiff
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
commitc8c4b4088cf0b3afeda425b25fa7c77d3873b12c (patch)
tree0c22c7503dfd7ae77fb997ae7bbe01e574f4c2ee
parent3bfc5f49e0e37e235bb0d33bcbcb36af9d1f84ab (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105683 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/PrintfFormatString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/PrintfFormatString.cpp b/lib/Analysis/PrintfFormatString.cpp
index 381b15ddc7..03aff386c2 100644
--- a/lib/Analysis/PrintfFormatString.cpp
+++ b/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;
}