reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
60 expectLinear(true, "void foo() {}"); 61 expectLinear(true, "void foo() { if (true) return; }"); 62 expectLinear(true, "void foo() { if constexpr (false); }"); 63 expectLinear(false, "void foo(bool coin) { if (coin) return; }"); 64 expectLinear(false, "void foo() { for(;;); }"); 65 expectLinear(false, "void foo() { do {} while (true); }"); 66 expectLinear(true, "void foo() { do {} while (false); }"); 67 expectLinear(true, "void foo() { foo(); }"); // Recursion is not our problem.