HasPlainEdge = true;
continue;
}
-
+ if (CFGMemberDtor MD = CE.getAs<CFGMemberDtor>()) {
+ // A member destructor.
+ HasPlainEdge = true;
+ continue;
+ }
+ if (CFGBaseDtor BD = CE.getAs<CFGBaseDtor>()) {
+ // A base destructor.
+ HasPlainEdge = true;
+ continue;
+ }
CFGStmt CS = CE.getAs<CFGStmt>();
if (!CS.isValid())
continue;
A(char) : f(j()) { }
A(bool b) : f(b ? h() : j()) { }
};
+}
+
+namespace test3 {
+ struct A {
+ ~A();
+ };
+ struct B {
+ ~B() { }
+
+ A a;
+ };
+
+ struct C : A {
+ ~C() { }
+ };
}