forked from OSchip/llvm-project
Make ValueSymbolTable (temporarily) a friend of Value so it can mod the
Name of Value instances. llvm-svn: 25174
This commit is contained in:
parent
b05fce676f
commit
0a4e8c7be8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue