diff options
author | Andrew Trick <atrick@apple.com> | 2011-04-05 19:13:11 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-04-05 19:13:11 +0000 |
commit | 40f16cf91d8469b8198990d2649a8cc81b558277 (patch) | |
tree | e83c75da694b4e3ec78b483418f6118d33ac140c /include/llvm/Support/CommandLine.h | |
parent | ce96902d88d473697f05c0465952dae374be564e (diff) |
Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128912 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r-- | include/llvm/Support/CommandLine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 8f1dbe0f54..c57d7dda6c 100644 --- a/include/llvm/Support/CommandLine.h +++ b/include/llvm/Support/CommandLine.h @@ -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()); } }; |