[llvm] r282722 - Remove unnecessary explicit

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 09:01:34 PDT 2016


Author: anemet
Date: Thu Sep 29 11:01:34 2016
New Revision: 282722

URL: http://llvm.org/viewvc/llvm-project?rev=282722&view=rev
Log:
Remove unnecessary explicit

Modified:
    llvm/trunk/include/llvm/IR/DiagnosticInfo.h

Modified: llvm/trunk/include/llvm/IR/DiagnosticInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DiagnosticInfo.h?rev=282722&r1=282721&r2=282722&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/DiagnosticInfo.h (original)
+++ llvm/trunk/include/llvm/IR/DiagnosticInfo.h Thu Sep 29 11:01:34 2016
@@ -387,8 +387,8 @@ public:
     std::string Val;
 
     explicit Argument(StringRef Str = "") : Key("String"), Val(Str) {}
-    explicit Argument(StringRef Key, Value *V) : Key(Key), Val(V->getName()) {}
-    explicit Argument(StringRef Key, int N);
+    Argument(StringRef Key, Value *V) : Key(Key), Val(V->getName()) {}
+    Argument(StringRef Key, int N);
   };
 
   /// \p PassName is the name of the pass emitting this diagnostic. \p




More information about the llvm-commits mailing list