Fixed. Thanks for reporting the issue, Ian!

- Yang

On 10/4/19 5:19 AM, Ian Lynagh wrote:
Hi,

With the attached source (which 'g++ -c q.cpp' accepts),

creduce --skip-key-off --no-default-passes --add-pass pass_clang 
replace-derived-class 1 /bin/true q.cpp

crashes with:

clang_delta: CommonRenameClassRewriteVisitor.h:350: void 
clang_delta_common_visitor::CommonRenameClassRewriteVisitor<T>::renameTemplateName(clang::TemplateName,
 clang::SourceLocation) [with T = ReplaceDerivedClassRewriteVisitor]: Assertion `TmplD && 
"Invalid TemplateDecl!"' failed.
Aborted (core dumped)


Thanks
Ian

Reply via email to