brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 6072527 Raw
26 lines · plain
1.. title:: clang-tidy - hicpp-explicit-conversions2.. meta::3   :http-equiv=refresh: 5;URL=../google/explicit-constructor.html4 5hicpp-explicit-conversions6==========================7 8This check is an alias for9:doc:`google-explicit-constructor <../google/explicit-constructor>`.10 11Used to enforce parts of `rule 5.4.112<https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-expressions>`_.13This check will enforce that constructors and conversion operators are14marked ``explicit``. Other forms of casting checks are implemented in15other places. The following checks can be used to check for more forms16of casting:17 18- :doc:`cppcoreguidelines-pro-type-static-cast-downcast19  <../cppcoreguidelines/pro-type-static-cast-downcast>`20- :doc:`cppcoreguidelines-pro-type-reinterpret-cast21  <../cppcoreguidelines/pro-type-reinterpret-cast>`22- :doc:`cppcoreguidelines-pro-type-const-cast23  <../cppcoreguidelines/pro-type-const-cast>`24- :doc:`cppcoreguidelines-pro-type-cstyle-cast25  <../cppcoreguidelines/pro-type-cstyle-cast>`26