Fix a typo.
authorAndrew Trick <atrick@apple.com>
Tue, 5 Apr 2011 19:13:11 +0000 (19:13 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 5 Apr 2011 19:13:11 +0000 (19:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128912 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/CommandLine.h

index 8f1dbe0f54b68ce6e8d307239b944171e76b1116..c57d7dda6c17994559f081d4170a61c547f13710 100644 (file)
@@ -365,7 +365,7 @@ public:
   virtual bool compare(const GenericOptionValue &V) const {
     const OptionValueCopy<DataType> &VC =
       static_cast< const OptionValueCopy<DataType>& >(V);
-    if (!VC.hasValue) return false;
+    if (!VC.hasValue()) return false;
     return compare(VC.getValue());
   }
 };