Merge pull request #1791 from neheb/exp

[clang-tidy] add explicit to single argument constructors
diff --git a/src/build_test.cc b/src/build_test.cc
index 078080d..0baabc4 100644
--- a/src/build_test.cc
+++ b/src/build_test.cc
@@ -490,10 +490,9 @@
                 status_(config_) {
   }
 
-  BuildTest(DepsLog* log) : config_(MakeConfig()), command_runner_(&fs_),
-                            builder_(&state_, config_, NULL, log, &fs_),
-                            status_(config_) {
-  }
+  explicit BuildTest(DepsLog* log)
+      : config_(MakeConfig()), command_runner_(&fs_),
+        builder_(&state_, config_, NULL, log, &fs_), status_(config_) {}
 
   virtual void SetUp() {
     StateTestWithBuiltinRules::SetUp();
diff --git a/src/graph.cc b/src/graph.cc
index ea11360..78d0d49 100644
--- a/src/graph.cc
+++ b/src/graph.cc
@@ -515,7 +515,7 @@
 }
 
 struct matches {
-  matches(std::vector<StringPiece>::iterator i) : i_(i) {}
+  explicit matches(std::vector<StringPiece>::iterator i) : i_(i) {}
 
   bool operator()(const Node* node) const {
     StringPiece opath = StringPiece(node->path());