mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Add Arg::getValues method with const 'this' and const result
llvm-svn: 240673
This commit is contained in:
parent
33b322c0c3
commit
c6d8bcc603
@ -93,9 +93,8 @@ public:
|
||||
return Values[N];
|
||||
}
|
||||
|
||||
SmallVectorImpl<const char*> &getValues() {
|
||||
return Values;
|
||||
}
|
||||
SmallVectorImpl<const char *> &getValues() { return Values; }
|
||||
const SmallVectorImpl<const char *> &getValues() const { return Values; }
|
||||
|
||||
bool containsValue(StringRef Value) const {
|
||||
for (unsigned i = 0, e = getNumValues(); i != e; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user