1
0
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:
Douglas Katzman 2015-06-25 18:48:26 +00:00
parent 33b322c0c3
commit c6d8bcc603

View File

@ -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)