diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-05-05 20:51:58 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-05-05 20:51:58 +0000 |
commit | 521e245288e5f9c88c24b28855676ea8034dfa75 (patch) | |
tree | 1739d4220c36294966e48b9e9008c696dab01a00 | |
parent | 8554cc2ea79861ddf43998bff634d1682e848216 (diff) |
Using "unsigned" was masking the "size_t" version of this method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50668 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/PassNameParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index 8c31189be2..961638c43f 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -82,7 +82,7 @@ public: // printOptionInfo - Print out information about this option. Override the // default implementation to sort the table before we print... - virtual void printOptionInfo(const cl::Option &O, unsigned GlobalWidth) const{ + virtual void printOptionInfo(const cl::Option &O, size_t GlobalWidth) const { PassNameParser *PNP = const_cast<PassNameParser*>(this); std::sort(PNP->Values.begin(), PNP->Values.end(), ValLessThan); cl::parser<const PassInfo*>::printOptionInfo(O, GlobalWidth); |