diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-01-10 09:45:57 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-01-10 09:45:57 +0000 |
commit | 78df7f141c63e563f82de44ecdcb6bcfe3e633ad (patch) | |
tree | fd64ebba7c44c8fe73f7b9747863de0810d9944a /include | |
parent | 60d97d4f55b6bd51179eba3388c95d5ec6942ec8 (diff) | |
download | external_llvm-78df7f141c63e563f82de44ecdcb6bcfe3e633ad.zip external_llvm-78df7f141c63e563f82de44ecdcb6bcfe3e633ad.tar.gz external_llvm-78df7f141c63e563f82de44ecdcb6bcfe3e633ad.tar.bz2 |
Make ValueSymbolTable (temporarily) a friend of Value so it can mod the
Name of Value instances.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Value.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 8b6601d..80ff9c6 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -51,7 +51,8 @@ private: PATypeHolder Ty; Use *UseList; - friend class SymbolTable; // Allow SymbolTable to directly poke Name. + friend class ValueSymbolTable; // Allow ValueSymbolTable to directly mod Name. + friend class SymbolTable; // Allow SymbolTable to directly poke Name. std::string Name; void operator=(const Value &); // Do not implement |