mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-29 16:12:44 +00:00
Changes to work better with GCC3.4/LLVM G++
llvm-svn: 8054
This commit is contained in:
parent
277f72713c
commit
805dd2d1d7
@ -733,14 +733,17 @@ class opt : public Option,
|
||||
}
|
||||
public:
|
||||
// setInitialValue - Used by the cl::init modifier...
|
||||
void setInitialValue(const DataType &V) { setValue(V); }
|
||||
void setInitialValue(const DataType &V) { this->setValue(V); }
|
||||
|
||||
ParserClass &getParser() { return Parser; }
|
||||
|
||||
operator DataType() const { return getValue(); }
|
||||
operator DataType() const { return this->getValue(); }
|
||||
|
||||
template<class T>
|
||||
DataType &operator=(const T &Val) { setValue(Val); return getValue(); }
|
||||
DataType &operator=(const T &Val) {
|
||||
this->setValue(Val);
|
||||
return this->getValue();
|
||||
}
|
||||
|
||||
// One option...
|
||||
template<class M0t>
|
||||
|
Loading…
x
Reference in New Issue
Block a user