diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-31 07:08:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-31 07:08:19 +0000 |
commit | 69284b03d1dc7ebdc2ce22f65afe5ef04cc01cf4 (patch) | |
tree | 85f25335d137000cf3232c0cfe16fbb42873b1e9 /include | |
parent | b0fa6599811adac127f95289567dc20d97187442 (diff) | |
download | llvm-69284b03d1dc7ebdc2ce22f65afe5ef04cc01cf4.tar.gz llvm-69284b03d1dc7ebdc2ce22f65afe5ef04cc01cf4.tar.bz2 llvm-69284b03d1dc7ebdc2ce22f65afe5ef04cc01cf4.tar.xz |
Make the lookup method const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/SymbolTable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/SymbolTable.h b/include/llvm/SymbolTable.h index 8502375581..22a9acd438 100644 --- a/include/llvm/SymbolTable.h +++ b/include/llvm/SymbolTable.h @@ -42,7 +42,7 @@ public: ~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) { |