aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorStephen Concannon <stephen.concannon@gmail.com>2021-05-12 20:25:22 +0200
committerHaojian Wu <hokein.wu@gmail.com>2021-05-12 20:51:25 +0200
commit211761332e4381c37edd91be7c59fc048014ff4e (patch)
tree4022e904dbf763b5c99f15b656c0ca1bd8a99902 /clang/lib/Frontend/CompilerInvocation.cpp
parented9e1a7dcc2eceb4596a5f2ede7daabcb1fdf4ab (diff)
downloadllvm-211761332e4381c37edd91be7c59fc048014ff4e.zip
llvm-211761332e4381c37edd91be7c59fc048014ff4e.tar.gz
llvm-211761332e4381c37edd91be7c59fc048014ff4e.tar.bz2
[clang-tidy] Allow opt-in or out of some commonly occuring patterns in NarrowingConversionsCheck.
Within clang-tidy's NarrowingConversionsCheck. * Allow opt-out of some common occurring patterns, such as: - Implicit casts between types of equivalent bit widths. - Implicit casts occurring from the return of a ::size() method. - Implicit casts on size_type and difference_type. * Allow opt-in of errors within template instantiations. This will help projects adopt these guidelines iteratively. Developed in conjunction with Yitzhak Mandelbaum (ymandel). Patch by Stephen Concannon! Differential Revision: https://reviews.llvm.org/D99543
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions