Reviewed By: jvillard Differential Revision: D13222367 fbshipit-source-id: 8b20575b7master
parent
e59d9632b1
commit
33eabe6bfd
@ -1,2 +1,4 @@
|
||||
codetoanalyze/cpp/linters-for-test-only/test_constructor.cpp, f, 12, FIND_STATIC_LOCAL_VAR, no_bucket, WARNING, []
|
||||
codetoanalyze/cpp/linters-for-test-only/test_constructor.cpp, g, 17, FIND_CXX_COPY_CONSTRUCTOR, no_bucket, WARNING, []
|
||||
codetoanalyze/cpp/linters-for-test-only/test_overrides.cpp, B_bar, 16, FIND_CXX_METHOD_OVERRIDES, no_bucket, WARNING, []
|
||||
codetoanalyze/cpp/linters-for-test-only/test_overrides.cpp, B_foo, 14, FIND_CXX_METHOD_OVERRIDES, no_bucket, WARNING, []
|
||||
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2018-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
struct A {
|
||||
virtual void foo();
|
||||
virtual void bar();
|
||||
void bazoo();
|
||||
};
|
||||
|
||||
struct B : public A {
|
||||
void foo() override;
|
||||
void bar(int i);
|
||||
void bar() /* override */;
|
||||
void bazoo();
|
||||
};
|
Loading…
Reference in new issue