We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b0bf5 commit 96ad7efCopy full SHA for 96ad7ef
clang/docs/analyzer/checkers.rst
@@ -563,7 +563,7 @@ pure virtual – but may be still surprising for the programmer.)
563
.. code-block:: cpp
564
565
struct A {
566
- virtual void getKind() = 0;
+ virtual int getKind() = 0;
567
568
A() {
569
// warn: This calls the pure virtual method A::getKind().
@@ -888,7 +888,7 @@ checker does not report them**.
888
889
890
891
- virtual void getKind();
+ virtual int getKind();
892
893
894
// warn: This calls A::getKind() even if we are constructing an instance
0 commit comments