summaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-02 21:21:54 +0000
committerDan Gohman <gohman@apple.com>2007-08-02 21:21:54 +0000
commit61e729e2e9517ab2d8887bab86fb377900fa1081 (patch)
tree3eb45a42b1bb9e4e6761dc517e08949bd4750a96 /lib/CodeGen/BranchFolding.cpp
parent7f55fcbc6bec56662e46d35ca604553effb7a525 (diff)
downloadllvm-61e729e2e9517ab2d8887bab86fb377900fa1081.tar.gz
llvm-61e729e2e9517ab2d8887bab86fb377900fa1081.tar.bz2
llvm-61e729e2e9517ab2d8887bab86fb377900fa1081.tar.xz
More explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r--lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp
index 0fca985179..055302f153 100644
--- a/lib/CodeGen/BranchFolding.cpp
+++ b/lib/CodeGen/BranchFolding.cpp
@@ -46,7 +46,7 @@ namespace {
struct BranchFolder : public MachineFunctionPass {
static char ID;
- BranchFolder(bool defaultEnableTailMerge) :
+ explicit BranchFolder(bool defaultEnableTailMerge) :
MachineFunctionPass((intptr_t)&ID) {
switch (FlagEnableTailMerge) {
case cl::BOU_UNSET: EnableTailMerge = defaultEnableTailMerge; break;