From 2569f3eb8030752ff58866eba3b5c6779943f19b Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 5 May 2018 06:05:31 +0000 Subject: [PATCH] [Option] Remove an unnecessary conversion function. llvm-svn: 331585 --- llvm/include/llvm/Option/ArgList.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/include/llvm/Option/ArgList.h b/llvm/include/llvm/Option/ArgList.h index 743a530861ab..687c8cbb02f9 100644 --- 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; }