https://bugs.llvm.org/show_bug.cgi?id=38888
Bug ID: 38888
Summary: ExprMutationAnalyzer crash with uninstanciated
templates
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
template <typename a> class b {
typedef a c;
c m_fn1() const noexcept;
};
template <typename a> typename b<a>::c b<a>::m_fn1() const noexcept {
c d;
for (; d > 0;)
;
}
So, i'm not quite sure how to write a test for this,
but if i call ExprMutationAnalyzer::findDeclMutation() with vardecl of "c d;",
with stmt (the scope) being either loop condition, loop increment, or loop body
(i'm not sure which one it is) there is a crash.
Sorry that i can't quite yet provide more actionable info.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs