From 40f16cf91d8469b8198990d2649a8cc81b558277 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Tue, 5 Apr 2011 19:13:11 +0000 Subject: [PATCH] Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128912 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/CommandLine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h index 8f1dbe0f54b..c57d7dda6c1 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 &VC = static_cast< const OptionValueCopy& >(V); - if (!VC.hasValue) return false; + if (!VC.hasValue()) return false; return compare(VC.getValue()); } }; -- 2.34.1