diff --git a/include/llvm/IR/DiagnosticInfo.h b/include/llvm/IR/DiagnosticInfo.h index ac4c4bdce2a..c9d82a5ec2f 100644 --- a/include/llvm/IR/DiagnosticInfo.h +++ b/include/llvm/IR/DiagnosticInfo.h @@ -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