projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
edb4563
)
Add qualifiers for calls to member functions in dependent bases.
author
Anders Carlsson
<andersca@mac.com>
Fri, 11 Dec 2009 01:04:42 +0000
(
01:04
+0000)
committer
Anders Carlsson
<andersca@mac.com>
Fri, 11 Dec 2009 01:04:42 +0000
(
01:04
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91087
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/CommandLine.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/CommandLine.h
b/include/llvm/Support/CommandLine.h
index 2e65fdd79a143dfa6c29b44b69527f33f3a7bbec..7f8b10c375f9f1408613bfdb5324cb8270e7c6e5 100644
(file)
--- a/
include/llvm/Support/CommandLine.h
+++ b/
include/llvm/Support/CommandLine.h
@@
-986,7
+986,7
@@
template<class DataType>
class list_storage<DataType, bool> : public std::vector<DataType> {
public:
template<class T>
- void addValue(const T &V) { push_back(V); }
+ void addValue(const T &V) {
std::vector<DataType>::
push_back(V); }
};
@@
-1011,7
+1011,7
@@
class list : public Option, public list_storage<DataType, Storage> {
typename ParserClass::parser_data_type();
if (Parser.parse(*this, ArgName, Arg, Val))
return true; // Parse Error!
- addValue(Val);
+
list_storage<DataType, Storage>::
addValue(Val);
setPosition(pos);
Positions.push_back(pos);
return false;