aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-08-15 21:05:57 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-08-15 21:05:57 +0000
commit497216dc000d23a1311677bb1847b9d5c19c57f8 (patch)
treebed16e0309bc0e38c36dd6910de9de6a7d7e0697 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parentc98ef9aeb74626bb8f880e83ff57b32b7237d775 (diff)
downloadllvm-497216dc000d23a1311677bb1847b9d5c19c57f8.zip
llvm-497216dc000d23a1311677bb1847b9d5c19c57f8.tar.gz
llvm-497216dc000d23a1311677bb1847b9d5c19c57f8.tar.bz2
lib/Support/CommandLine.cpp:
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
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions