Skip to content

Commit be7f185

Browse files
authored
[NFC][analyzer] Fix typo in VirtualCall checker docs (#133593)
1 parent 6b98134 commit be7f185

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/docs/analyzer/checkers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ pure virtual – but may be still surprising for the programmer.)
610610
void releaseResources() {
611611
// warn: This can call the pure virtual method A::getKind() when this is
612612
// called from the destructor.
613-
callSomeFunction(getKind())
613+
callSomeFunction(getKind());
614614
}
615615
};
616616
@@ -936,7 +936,7 @@ checker does not report them**.
936936
void releaseResources() {
937937
// warn: This can be called within ~A() and calls A::getKind() even if
938938
// we are destructing a class that is derived from A.
939-
callSomeFunction(getKind())
939+
callSomeFunction(getKind());
940940
}
941941
};
942942

0 commit comments

Comments
 (0)