projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d26af
)
[Option] Remove an unnecessary conversion function.
author
Fangrui Song
<maskray@google.com>
Sat, 5 May 2018 06:05:31 +0000
(06:05 +0000)
committer
Fangrui Song
<maskray@google.com>
Sat, 5 May 2018 06:05:31 +0000
(06:05 +0000)
llvm-svn: 331585
llvm/include/llvm/Option/ArgList.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Option/ArgList.h
b/llvm/include/llvm/Option/ArgList.h
index
743a530
..
687c8cb
100644
(file)
--- a/
llvm/include/llvm/Option/ArgList.h
+++ b/
llvm/include/llvm/Option/ArgList.h
@@
-85,9
+85,6
@@
public:
SkipToNextArg();
}
- // FIXME: This conversion function makes no sense.
- operator const Arg*() { return *Current; }
-
reference operator*() const { return *Current; }
pointer operator->() const { return Current; }