forked from OSchip/llvm-project
parent
6c00a01526
commit
50f0c80341
|
@ -290,6 +290,8 @@ namespace driver {
|
|||
StringRef RHS) const;
|
||||
|
||||
/// @}
|
||||
|
||||
void dump();
|
||||
};
|
||||
|
||||
class InputArgList : public ArgList {
|
||||
|
|
|
@ -306,6 +306,14 @@ const char *ArgList::GetOrMakeJoinedArgString(unsigned Index,
|
|||
return MakeArgString(LHS + RHS);
|
||||
}
|
||||
|
||||
void ArgList::dump() {
|
||||
llvm::errs() << "ArgList:";
|
||||
for (iterator it = begin(), ie = end(); it != ie; ++it) {
|
||||
llvm::errs() << " " << (*it)->getSpelling();
|
||||
}
|
||||
llvm::errs() << "\n";
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
InputArgList::InputArgList(const char* const *ArgBegin,
|
||||
|
|
Loading…
Reference in New Issue