1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

add new method

llvm-svn: 10699
This commit is contained in:
Chris Lattner 2004-01-06 05:31:57 +00:00
parent 90912a88f6
commit 455225f717

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];
}
//===------------------------------------------------------------------===//