cvise
cvise copied to clipboard
void RemoveNestedFunction::getNewTmpVariableStr: Assertion `FD && "Cannot resolve DName!"' failed.
The following fails:
$ cat fsize.ii
template <class V> void operator*(V);
template <class Allocator> struct cpp_int_backend {
void do_get_string() { this->size() * Allocator::limb_bits; }
};
$ clang_delta --transformation=remove-nested-function --counter=1 fsize.ii
clang_delta: /home/marxin/Programming/cvise/clang_delta/RemoveNestedFunction.cpp:362: void RemoveNestedFunction::getNewTmpVariableStr(clang::ASTContext&, std::string&): Assertion `FD && "Cannot resolve DName!"' failed.
Aborted (core dumped)