add new method

llvm-svn: 10699
This commit is contained in:
Chris Lattner 2004-01-06 05:31:57 +00:00
parent 941515cf67
commit 3eaba359b0
1 changed files with 4 additions and 0 deletions

View File

@ -67,6 +67,10 @@ namespace llvm {
void setProgramArguments(It I, It E) {
ProgramArguments.assign(I, E);
}
unsigned getNumProgramArguments() const { return ProgramArguments.size(); }
const std::string &getProgramArgument(unsigned i) const {
return ProgramArguments[i];
}
//===------------------------------------------------------------------===//