Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clang/docs/analyzer/checkers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ pure virtual – but may be still surprising for the programmer.)
void releaseResources() {
// warn: This can call the pure virtual method A::getKind() when this is
// called from the destructor.
callSomeFunction(getKind())
callSomeFunction(getKind());
}
};

Expand Down Expand Up @@ -936,7 +936,7 @@ checker does not report them**.
void releaseResources() {
// warn: This can be called within ~A() and calls A::getKind() even if
// we are destructing a class that is derived from A.
callSomeFunction(getKind())
callSomeFunction(getKind());
}
};

Expand Down