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 | 40d388c25e28cdb4644e4f2b340600da717e6d8e (patch) | |
tree | 1ed0e59a053d3666a89772c5149c02506e342aa3 /llvm/include/llvm/Support/CommandLine.h | |
parent | 15e36e8edd74b289de73abb456171580b396020a (diff) | |
download | bcm5719-llvm-40d388c25e28cdb4644e4f2b340600da717e6d8e.tar.gz bcm5719-llvm-40d388c25e28cdb4644e4f2b340600da717e6d8e.zip |
Fix a typo.
llvm-svn: 128912
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 8f1dbe0f54b..c57d7dda6c1 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/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()); } }; |