aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetLowering.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-01 15:32:29 +0000
committerDan Gohman <gohman@apple.com>2007-08-01 15:32:29 +0000
commitc2bbfc18e9adbbdcf5b3375d8d25e2452f7df7f1 (patch)
tree9984d67ee6e2fd4c3289e50a08b46ce5df8cbbc6 /include/llvm/Target/TargetLowering.h
parenta9f643432deabcdd83fed5539e6e9009842f1e11 (diff)
downloadexternal_llvm-c2bbfc18e9adbbdcf5b3375d8d25e2452f7df7f1.zip
external_llvm-c2bbfc18e9adbbdcf5b3375d8d25e2452f7df7f1.tar.gz
external_llvm-c2bbfc18e9adbbdcf5b3375d8d25e2452f7df7f1.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 'include/llvm/Target/TargetLowering.h')
-rw-r--r--include/llvm/Target/TargetLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index a1aa50c..c22d399 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -76,7 +76,7 @@ public:
SchedulingForRegPressure // Scheduling for lowest register pressure.
};
- TargetLowering(TargetMachine &TM);
+ explicit TargetLowering(TargetMachine &TM);
virtual ~TargetLowering();
TargetMachine &getTargetMachine() const { return TM; }
@@ -510,7 +510,7 @@ public:
SDOperand Old;
SDOperand New;
- TargetLoweringOpt(SelectionDAG &InDAG) : DAG(InDAG) {}
+ explicit TargetLoweringOpt(SelectionDAG &InDAG) : DAG(InDAG) {}
bool CombineTo(SDOperand O, SDOperand N) {
Old = O;