Fix a typo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick 2011-04-05 19:13:11 +00:00
parent ce96902d88
commit 40f16cf91d

View 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());
}
};