@@ -164,7 +164,7 @@ std::shared_ptr<NamedTypeNode> Context::getNamedType(const std::string &name, co
164
164
void Context::addNamedType (
165
165
const std::string &mangled,
166
166
const Qualifiers &quals,
167
- const std::shared_ptr<NamedTypeNode> &type)
167
+ const std::shared_ptr<retdec::demangler::borland:: NamedTypeNode> &type)
168
168
{
169
169
assert (type && " violated precondition - type cannot be null" );
170
170
@@ -183,7 +183,7 @@ std::shared_ptr<Node> Context::getFunction(const std::string &mangled) const
183
183
184
184
void Context::addFunction (
185
185
const std::string &mangled,
186
- const std::shared_ptr<Node> &function)
186
+ const std::shared_ptr<retdec::demangler::borland:: Node> &function)
187
187
{
188
188
assert (function && " violated precondition - function cannot be null" );
189
189
@@ -195,7 +195,7 @@ std::shared_ptr<NameNode> Context::getName(const std::string &name) const
195
195
return retdec::utils::mapGetValueOrDefault (nameNodes, name);
196
196
}
197
197
198
- void Context::addName (const std::shared_ptr<NameNode> &name)
198
+ void Context::addName (const std::shared_ptr<retdec::demangler::borland:: NameNode> &name)
199
199
{
200
200
assert (name && " violated precondition - function cannot be null" );
201
201
@@ -204,14 +204,14 @@ void Context::addName(const std::shared_ptr<NameNode> &name)
204
204
}
205
205
206
206
std::shared_ptr<NestedNameNode> Context::getNestedName (
207
- std::shared_ptr<Node> super,
208
- std::shared_ptr<Node> name)
207
+ std::shared_ptr<retdec::demangler::borland:: Node> super,
208
+ std::shared_ptr<retdec::demangler::borland:: Node> name)
209
209
{
210
210
auto key = std::make_tuple (super, name);
211
211
return retdec::utils::mapGetValueOrDefault (nestedNameNodes, key);
212
212
}
213
213
214
- void Context::addNestedName (const std::shared_ptr<NestedNameNode> &name)
214
+ void Context::addNestedName (const std::shared_ptr<retdec::demangler::borland:: NestedNameNode> &name)
215
215
{
216
216
assert (name && " violated precondition - function cannot be null" );
217
217
@@ -220,15 +220,15 @@ void Context::addNestedName(const std::shared_ptr<NestedNameNode> &name)
220
220
}
221
221
222
222
std::shared_ptr<ArrayNode> Context::getArray (
223
- std::shared_ptr<Node> pointee,
223
+ std::shared_ptr<retdec::demangler::borland:: Node> pointee,
224
224
unsigned size,
225
- const Qualifiers &quals)
225
+ const retdec::demangler::borland:: Qualifiers &quals)
226
226
{
227
227
auto key = std::make_tuple (pointee, size, quals.isVolatile (), quals.isConst ());
228
228
return retdec::utils::mapGetValueOrDefault (arrayNodes, key);
229
229
}
230
230
231
- void Context::addArrayType (const std::shared_ptr<ArrayNode> &array) {
231
+ void Context::addArrayType (const std::shared_ptr<retdec::demangler::borland:: ArrayNode> &array) {
232
232
assert (array && " violated precondition - array cannot be null" );
233
233
234
234
auto pointee = array->pointee ();
0 commit comments