pytorch/caffe2/operators/quantized
cyy 483f748dd5 [BE] Enforce missing override keyword (#104032)
This PR enables `-Winconsistent-missing-destructor-override` and `-Winconsistent-missing-override`
and fixes violations.

<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 47e904e</samp>

This pull request updates the code of various classes and operators in the `caffe2` and `aten` subdirectories to use the `override` specifier instead of the `virtual` keyword for destructors and other virtual functions that override a base class function. This improves the code readability, quality, and consistency with C++ best practices. It also modifies the `./CMakeLists.txt` file to enable warnings for these specifiers, but disable errors.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/104032
Approved by: https://github.com/malfet
2023-06-24 02:34:24 +00:00
..
CMakeLists.txt
init_qnnpack.cc
int8_add_op.cc
int8_add_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_average_pool_op.cc
int8_average_pool_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_channel_shuffle_op.cc
int8_channel_shuffle_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_concat_op.cc
int8_concat_op.h
int8_conv_op_relu.cc
int8_conv_op.cc
int8_conv_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_conv_transpose_op.cc
int8_conv_transpose_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_dequantize_op.cc
int8_dequantize_op.h
int8_fc_op.cc
int8_fc_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_flatten_op.cc
int8_flatten_op.h
int8_given_tensor_fill_op.cc
int8_given_tensor_fill_op.h
int8_leaky_relu_op.cc
int8_leaky_relu_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_max_pool_op.cc
int8_max_pool_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_quantize_op.cc
int8_quantize_op.h
int8_relu_op.cc
int8_relu_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_reshape_op.cc
int8_reshape_op.h
int8_resize_nearest_op.cc
int8_resize_nearest_op.h
int8_roi_align_op_test.cc
int8_roi_align_op.cc
int8_roi_align_op.h
int8_sigmoid_op.cc
int8_sigmoid_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_simd.h
int8_slice_op.cc
int8_slice_op.h
int8_softmax_op.cc
int8_softmax_op.h [BE] Enforce missing override keyword (#104032) 2023-06-24 02:34:24 +00:00
int8_test_utils.h
int8_test.cc
int8_transpose_op.cc
int8_transpose_op.h
int8_utils.h