aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFunctionPass.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-02 14:53:37 +0000
committerDan Gohman <gohman@apple.com>2007-07-02 14:53:37 +0000
commita6900c7ad9752a27e2e3b1bd78b2af3b1381176d (patch)
tree9cf6232f239b788b5c5377242dbf2dd6fd561f18 /include/llvm/CodeGen/MachineFunctionPass.h
parent0142677fe21b177a885a6843088a92cee754fce5 (diff)
Add explicit keywords.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunctionPass.h')
-rw-r--r--include/llvm/CodeGen/MachineFunctionPass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineFunctionPass.h b/include/llvm/CodeGen/MachineFunctionPass.h
index 7429e7b96c..9a8d29b3c8 100644
--- a/include/llvm/CodeGen/MachineFunctionPass.h
+++ b/include/llvm/CodeGen/MachineFunctionPass.h
@@ -26,7 +26,7 @@ namespace llvm {
struct MachineFunctionPass : public FunctionPass {
- MachineFunctionPass(intptr_t ID) : FunctionPass(ID) {}
+ explicit MachineFunctionPass(intptr_t ID) : FunctionPass(ID) {}
/// runOnMachineFunction - This method must be overloaded to perform the
/// desired machine code transformation or analysis.