diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-06 02:10:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-06 02:10:40 +0000 |
commit | eaadf5827692ae713faa6b38175559568c3dba26 (patch) | |
tree | 212b389fe53a21a1289c6b637b37ee561b992ed9 /include/llvm/Value.h | |
parent | e43dd1b8e7bcbb7bd38b90e05147c1d31ad41cb9 (diff) | |
download | llvm-eaadf5827692ae713faa6b38175559568c3dba26.tar.gz llvm-eaadf5827692ae713faa6b38175559568c3dba26.tar.bz2 llvm-eaadf5827692ae713faa6b38175559568c3dba26.tar.xz |
Add a new method, allow symtab to poke name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r-- | include/llvm/Value.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 164c7ee811..aef08453a6 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -50,6 +50,8 @@ protected: private: PATypeHolder Ty; Use *UseList; + + friend class SymbolTable; // Allow SymbolTable to directly poke Name. std::string Name; void operator=(const Value &); // Do not implement |