[llvm-commits] [llvm] r50668 - /llvm/trunk/include/llvm/Support/PassNameParser.h

Bill Wendling isanbard at gmail.com
Mon May 5 13:51:59 PDT 2008


Author: void
Date: Mon May  5 15:51:58 2008
New Revision: 50668

URL: http://llvm.org/viewvc/llvm-project?rev=50668&view=rev
Log:
Using "unsigned" was masking the "size_t" version of this method.

Modified:
    llvm/trunk/include/llvm/Support/PassNameParser.h

Modified: llvm/trunk/include/llvm/Support/PassNameParser.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/PassNameParser.h?rev=50668&r1=50667&r2=50668&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/PassNameParser.h (original)
+++ llvm/trunk/include/llvm/Support/PassNameParser.h Mon May  5 15:51:58 2008
@@ -82,7 +82,7 @@
 
   // 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);





More information about the llvm-commits mailing list