Driver: Return reference for Arg::getOption().

llvm-svn: 66070
This commit is contained in:
Daniel Dunbar 2009-03-04 21:14:57 +00:00
parent 7c5a8d2fa0
commit b17eec5909
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ namespace driver {
virtual unsigned getNumValues() const = 0;
virtual const char *getValue(const ArgList &Args, unsigned N) const = 0;
const Option *getOption() const { return Opt; }
const Option &getOption() const { return *Opt; }
unsigned getIndex() const { return Index; }
};