diff options
author | Dan Gohman <djg@cray.com> | 2007-08-01 15:32:29 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-08-01 15:32:29 +0000 |
commit | 34c280e03131036065fb78613b754badb1c30514 (patch) | |
tree | 9984d67ee6e2fd4c3289e50a08b46ce5df8cbbc6 /lib/Transforms/Scalar/CodeGenPrepare.cpp | |
parent | dd1aa3a8bef2e90cebd2af0fc242c817ff5fab8e (diff) | |
download | external_llvm-34c280e03131036065fb78613b754badb1c30514.zip external_llvm-34c280e03131036065fb78613b754badb1c30514.tar.gz external_llvm-34c280e03131036065fb78613b754badb1c30514.tar.bz2 |
More explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/CodeGenPrepare.cpp')
-rw-r--r-- | lib/Transforms/Scalar/CodeGenPrepare.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/CodeGenPrepare.cpp b/lib/Transforms/Scalar/CodeGenPrepare.cpp index 2969df3..ddc0007 100644 --- a/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -40,8 +40,8 @@ namespace { const TargetLowering *TLI; public: static char ID; // Pass identification, replacement for typeid - CodeGenPrepare(const TargetLowering *tli = 0) : FunctionPass((intptr_t)&ID), - TLI(tli) {} + explicit CodeGenPrepare(const TargetLowering *tli = 0) + : FunctionPass((intptr_t)&ID), TLI(tli) {} bool runOnFunction(Function &F); private: |