[Option] Remove an unnecessary conversion function.
authorFangrui Song <maskray@google.com>
Sat, 5 May 2018 06:05:31 +0000 (06:05 +0000)
committerFangrui Song <maskray@google.com>
Sat, 5 May 2018 06:05:31 +0000 (06:05 +0000)
llvm-svn: 331585

llvm/include/llvm/Option/ArgList.h

index 743a530..687c8cb 100644 (file)
@@ -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; }