mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
* Make Module::getTypeName const
* Add new Module::getTypeByName method * Group methods in Module.cpp better git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10668 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -132,7 +132,11 @@ public:
|
||||
/// getTypeName - If there is at least one entry in the symbol table for the
|
||||
/// specified type, return it.
|
||||
///
|
||||
std::string getTypeName(const Type *Ty);
|
||||
std::string getTypeName(const Type *Ty) const;
|
||||
|
||||
/// getTypeByName - Return the type with the specified name in this module, or
|
||||
/// null if there is none by that name.
|
||||
const Type *getTypeByName(const std::string &Name) const;
|
||||
|
||||
/// Get the underlying elements of the Module...
|
||||
inline const GlobalListType &getGlobalList() const { return GlobalList; }
|
||||
|
Reference in New Issue
Block a user