diff options
author | Dan Gohman <gohman@apple.com> | 2008-03-25 22:06:05 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-03-25 22:06:05 +0000 |
commit | 950a4c40b823cd4f09dc71be635229246dfd6cac (patch) | |
tree | ff52517c682e08112a66247bc8b85f81664f72b3 /include/llvm/Analysis/Dominators.h | |
parent | cfbb2f074da2842e42956d3b4c21e91b37f36f06 (diff) | |
download | external_llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.zip external_llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.gz external_llvm-950a4c40b823cd4f09dc71be635229246dfd6cac.tar.bz2 |
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Dominators.h')
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 80088fd..8d333de 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -48,7 +48,7 @@ class DominatorBase { protected: std::vector<NodeT*> Roots; const bool IsPostDominators; - inline DominatorBase(bool isPostDom) : + inline explicit DominatorBase(bool isPostDom) : Roots(), IsPostDominators(isPostDom) {} public: @@ -294,7 +294,7 @@ protected: } public: - DominatorTreeBase(bool isPostDom) + explicit DominatorTreeBase(bool isPostDom) : DominatorBase<NodeT>(isPostDom), DFSInfoValid(false), SlowQueries(0) {} virtual ~DominatorTreeBase() { reset(); } |