llvm.org GIT mirror llvm / 521e245
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 Bill Wendling 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8181
8282 // printOptionInfo - Print out information about this option. Override the
8383 // default implementation to sort the table before we print...
84 virtual void printOptionInfo(const cl::Option &O, unsigned GlobalWidth) const{
84 virtual void printOptionInfo(const cl::Option &O, size_t GlobalWidth) const {
8585 PassNameParser *PNP = const_cast(this);
8686 std::sort(PNP->Values.begin(), PNP->Values.end(), ValLessThan);
8787 cl::parser::printOptionInfo(O, GlobalWidth);