[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git] / clang-tools-extra / docs / clang-tidy / checks / hicpp / explicit-conversions.rst
blobd8c69399d6d652c9b95b0b5ece13dc167f17d5c4
1 .. title:: clang-tidy - hicpp-explicit-conversions
2 .. meta::
3    :http-equiv=refresh: 5;URL=../google/explicit-constructor.html
5 hicpp-explicit-conversions
6 ==========================
8 This check is an alias for :doc:`google-explicit-constructor <../google/explicit-constructor>`.
9 Used to enforce parts of `rule 5.4.1 <https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-expressions>`_.
10 This check will enforce that constructors and conversion operators are marked `explicit`.
11 Other forms of casting checks are implemented in other places.
12 The following checks can be used to check for more forms of casting:
14 - :doc:`cppcoreguidelines-pro-type-static-cast-downcast <../cppcoreguidelines/pro-type-static-cast-downcast>`
15 - :doc:`cppcoreguidelines-pro-type-reinterpret-cast <../cppcoreguidelines/pro-type-reinterpret-cast>`
16 - :doc:`cppcoreguidelines-pro-type-const-cast <../cppcoreguidelines/pro-type-const-cast>`
17 - :doc:`cppcoreguidelines-pro-type-cstyle-cast <../cppcoreguidelines/pro-type-cstyle-cast>`