[clang] be7f185 - [NFC][analyzer] Fix typo in VirtualCall checker docs (#133593)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 29 13:34:18 PDT 2025
Author: Alcaro
Date: 2025-03-29T21:34:15+01:00
New Revision: be7f185ca16e990614113519d003bfe3685f489b
URL: https://github.com/llvm/llvm-project/commit/be7f185ca16e990614113519d003bfe3685f489b
DIFF: https://github.com/llvm/llvm-project/commit/be7f185ca16e990614113519d003bfe3685f489b.diff
LOG: [NFC][analyzer] Fix typo in VirtualCall checker docs (#133593)
Added:
Modified:
clang/docs/analyzer/checkers.rst
Removed:
################################################################################
diff --git a/clang/docs/analyzer/checkers.rst b/clang/docs/analyzer/checkers.rst
index 482a7ca3340c5..f91b2af1fd105 100644
--- a/clang/docs/analyzer/checkers.rst
+++ b/clang/docs/analyzer/checkers.rst
@@ -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());
}
};
@@ -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());
}
};
More information about the cfe-commits
mailing list