mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-01 13:17:01 +00:00
Add a flag to the struct type finder to collect only those types which have
names. This saves collecting types we normally don't care about. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -303,7 +303,8 @@ public:
|
||||
|
||||
/// findUsedStructTypes - Walk the entire module and find all of the
|
||||
/// struct types that are in use, returning them in a vector.
|
||||
void findUsedStructTypes(std::vector<StructType*> &StructTypes) const;
|
||||
void findUsedStructTypes(std::vector<StructType*> &StructTypes,
|
||||
bool OnlyNamed = false) const;
|
||||
|
||||
/// getTypeByName - Return the type with the specified name, or null if there
|
||||
/// is none by that name.
|
||||
|
Reference in New Issue
Block a user