[llvm-commits] CVS: llvm/include/llvm/SymbolTable.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Dec 31 01:09:16 PST 2003
Changes in directory llvm/include/llvm:
SymbolTable.h updated: 1.29 -> 1.30
---
Log message:
Make the lookup method const.
---
Diffs of the changes: (+1 -1)
Index: llvm/include/llvm/SymbolTable.h
diff -u llvm/include/llvm/SymbolTable.h:1.29 llvm/include/llvm/SymbolTable.h:1.30
--- llvm/include/llvm/SymbolTable.h:1.29 Tue Nov 11 16:41:30 2003
+++ llvm/include/llvm/SymbolTable.h Wed Dec 31 01:08:19 2003
@@ -42,7 +42,7 @@
~SymbolTable();
// lookup - Returns null on failure...
- Value *lookup(const Type *Ty, const std::string &name);
+ Value *lookup(const Type *Ty, const std::string &name) const;
// insert - Add named definition to the symbol table...
inline void insert(Value *N) {
More information about the llvm-commits
mailing list