Skip to content
  1. Sep 01, 2004
  2. Aug 13, 2004
    • Reid Spencer's avatar
      Allow any cl::opt to use the method getPosition() to retrieve the option's · 2027a6ff
      Reid Spencer authored
      absolute position on the command line. Similarly allow any cl::list to
      use the method getPosition(n) to retrieve the absolute position of the nth
      option in the list. This provides support for two things: (a) options like
      -l that are actually positional and their order of occurrence matters when
      they are intermixed with positional arguments like "a.o"; and (b) options
      like -x LANG which affect only the positional arguments that come after
      the option. In both cases, knowing the absolute position of a given option
      helps.
      
      llvm-svn: 15725
      2027a6ff
  3. Aug 04, 2004
  4. Jul 18, 2004
  5. Jul 03, 2004
  6. May 07, 2004
  7. Mar 04, 2004
  8. Dec 14, 2003
  9. Nov 11, 2003
  10. Oct 20, 2003
  11. Oct 10, 2003
  12. Sep 16, 2003
  13. Aug 15, 2003
    • Brian Gaeke's avatar
      lib/Support/CommandLine.cpp: · 497216dc
      Brian Gaeke authored
      Many changes suggested by Chris. It's okay, I'll recover from the emotional
      damage...maybe someday. :-)
      
      Collapse ParseCStringVector into ParseStringVector.  Comment it.
      Make it take a const input.
      Use std::string::npos instead of -1 (what a mouthful!)
      Make ParseEnvironmentOptions take const inputs.
      Check its args at the very beginning.
      Strdup all the contents of newArgv and free them all at the end.
      
      include/Support/CommandLine.h:
      Constify progName and envVar arguments to ParseEnvironmentOptions().
      
      llvm-svn: 7905
      497216dc
    • Brian Gaeke's avatar
      ca782d9f
  14. Jul 30, 2003
  15. Jul 10, 2003
  16. Jun 28, 2003
  17. May 22, 2003
  18. Aug 07, 2002
  19. Aug 02, 2002
  20. Jul 31, 2002
  21. Jul 29, 2002
  22. Jul 27, 2002
  23. Jul 25, 2002
  24. Jul 24, 2002
  25. Jul 23, 2002
  26. Jul 22, 2002
  27. May 22, 2002
  28. Apr 29, 2002
  29. Feb 25, 2002
  30. Jan 31, 2002
  31. Jan 20, 2002
  32. Nov 27, 2001
  33. Nov 26, 2001
  34. Oct 27, 2001
Loading