Create and copy the defined type to this module instance.
| 236 | |
| 237 | /// Create and copy the defined type to this module instance. |
| 238 | void addDefinedType(const AST::SubType &SType) { |
| 239 | std::unique_lock Lock(Mutex); |
| 240 | OwnedTypes.push_back(std::make_unique<AST::SubType>(SType)); |
| 241 | Types.push_back(OwnedTypes.back().get()); |
| 242 | } |
| 243 | |
| 244 | /// Create and add instances to this module instance. |
| 245 | template <typename... Args> void addFunc(Args &&...Values) { |
no test coverage detected