Skip to content

Commit 03cfce1

Browse files
committed
CGF::markStmtAsUsed
1 parent e4172ca commit 03cfce1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/lib/CodeGen/CodeGenFunction.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,6 +1624,9 @@ class CodeGenFunction : public CodeGenTypeCache {
16241624
return PGO.getIsCounterPair(S);
16251625
}
16261626

1627+
void markStmtAsUsed(bool Skipped, const Stmt *S) {
1628+
PGO.markStmtAsUsed(Skipped, S);
1629+
}
16271630
void markStmtMaybeUsed(const Stmt *S) { PGO.markStmtMaybeUsed(S); }
16281631

16291632
/// Increment the profiler's counter for the given statement by \p StepV.

0 commit comments

Comments
 (0)