forked from OSchip/llvm-project
Driver: Return reference for Arg::getOption().
llvm-svn: 66070
This commit is contained in:
parent
7c5a8d2fa0
commit
b17eec5909
|
@ -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; }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue