Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

void RemoveNestedFunction::getNewTmpVariableStr: Assertion `FD && "Cannot resolve DName!"' failed. #49

Open
marxin opened this issue Mar 12, 2021 · 0 comments

Comments

@marxin
Copy link
Owner

marxin commented Mar 12, 2021

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)
@marxin marxin changed the title void RemoveNestedFunction::getNewTmpVariableStr(clang::ASTContext&, std::string&): Assertion `FD && "Cannot resolve DName!"' failed. void RemoveNestedFunction::getNewTmpVariableStr: Assertion `FD && "Cannot resolve DName!"' failed. Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant