forked from OSchip/llvm-project
![]() The google-readability-casting check is meant to be on par with cpplint's readability/casting check, according to the documentation. However it currently does not diagnose functional casts, like: float x = 1.5F; int y = int(x); This is detected by cpplint, however, and the guidelines are clear that such a cast is only allowed when the type is a class type (constructor call): > You may use cast formats like `T(x)` only when `T` is a class type. Therefore, update the clang-tidy check to check this case. Differential Revision: https://reviews.llvm.org/D114427 |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
clang-tidy | ||
clangd | ||
CMakeLists.txt | ||
ModularizeUsage.rst | ||
README.txt | ||
ReleaseNotes.rst | ||
clang-doc.rst | ||
clang-include-fixer.rst | ||
clang-modernize.rst | ||
clang-rename.rst | ||
clang-tidy.rst | ||
clangd.rst | ||
conf.py | ||
cpp11-migrate.rst | ||
doxygen-mainpage.dox | ||
doxygen.cfg.in | ||
index.rst | ||
make.bat | ||
modularize.rst | ||
pp-trace.rst |
README.txt
---------------------------------- Documentation in clang-tools-extra ---------------------------------- To generate documentation in HTML format from files in clang-tools-extra/docs, build the docs-clang-tools-html target. To generate documentation from the source code using Doxygen, build the doxygen-clang-tools target.