aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-01-10 09:45:57 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-01-10 09:45:57 +0000
commit78df7f141c63e563f82de44ecdcb6bcfe3e633ad (patch)
treefd64ebba7c44c8fe73f7b9747863de0810d9944a /include
parent60d97d4f55b6bd51179eba3388c95d5ec6942ec8 (diff)
downloadexternal_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.h3
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