[llvm-commits] CVS: llvm/include/llvm/Analysis/InstForest.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 23 10:31:51 PDT 2003
Changes in directory llvm/include/llvm/Analysis:
InstForest.h updated: 1.18 -> 1.19
---
Log message:
Remove redundant const qualifiers from cast<> expressions
---
Diffs of the changes:
Index: llvm/include/llvm/Analysis/InstForest.h
diff -u llvm/include/llvm/Analysis/InstForest.h:1.18 llvm/include/llvm/Analysis/InstForest.h:1.19
--- llvm/include/llvm/Analysis/InstForest.h:1.18 Sat Jun 21 22:05:45 2003
+++ llvm/include/llvm/Analysis/InstForest.h Wed Jul 23 10:29:59 2003
@@ -76,13 +76,13 @@
return cast<Constant>(getValue());
}
inline const Constant *getConstant() const {
- return cast<const Constant>(getValue());
+ return cast<Constant>(getValue());
}
inline BasicBlock *getBasicBlock() {
return cast<BasicBlock>(getValue());
}
inline const BasicBlock *getBasicBlock() const {
- return cast<const BasicBlock>(getValue());
+ return cast<BasicBlock>(getValue());
}
inline Instruction *getInstruction() {
assert(isInstruction() && "getInstruction() on non instruction node!");
More information about the llvm-commits
mailing list