diff options
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index b9c98814f1..570b1bc7b4 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -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. |