Split functions from their declarations

This splits occurrences of functions from their declaration. This is
necessary to flag integer functions consistently and not just single
occurrences.
This commit is contained in:
2018-04-19 15:41:36 +02:00
committed by Patrick Lühne
parent d0debc6ad1
commit 618189368c
9 changed files with 87 additions and 37 deletions

View File

@@ -105,7 +105,7 @@ Comparison prepareCopy(const Comparison &other)
Function prepareCopy(const Function &other)
{
return Function(std::string(other.name), prepareCopy(other.arguments));
return Function(other.declaration, prepareCopy(other.arguments));
}
////////////////////////////////////////////////////////////////////////////////////////////////////