From 423c2260f95883f7c84ac962e58ac66c3a11efac Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 23 Mar 2007 18:44:11 +0000 Subject: Add the 'explicit' keyword to several constructors that accept one argument that don't appear intended as implicit-conversion operators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35280 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/PassAnalysisSupport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/PassAnalysisSupport.h') diff --git a/include/llvm/PassAnalysisSupport.h b/include/llvm/PassAnalysisSupport.h index d832485..3234e91 100644 --- a/include/llvm/PassAnalysisSupport.h +++ b/include/llvm/PassAnalysisSupport.h @@ -111,7 +111,7 @@ private: AnalysisResolver(); // DO NOT IMPLEMENT public: - AnalysisResolver(PMDataManager &P) : PM(P) { } + explicit AnalysisResolver(PMDataManager &P) : PM(P) { } inline PMDataManager &getPMDataManager() { return PM; } -- cgit v1.1