[llvm-commits] [llvm] r128912 - /llvm/trunk/include/llvm/Support/CommandLine.h

Andrew Trick atrick at apple.com
Tue Apr 5 12:13:11 PDT 2011


Author: atrick
Date: Tue Apr  5 14:13:11 2011
New Revision: 128912

URL: http://llvm.org/viewvc/llvm-project?rev=128912&view=rev
Log:
Fix a typo.

Modified:
    llvm/trunk/include/llvm/Support/CommandLine.h

Modified: llvm/trunk/include/llvm/Support/CommandLine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CommandLine.h?rev=128912&r1=128911&r2=128912&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CommandLine.h (original)
+++ llvm/trunk/include/llvm/Support/CommandLine.h Tue Apr  5 14:13:11 2011
@@ -365,7 +365,7 @@
   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());
   }
 };





More information about the llvm-commits mailing list