aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2021-02-22 19:41:11 +0000
committerNathan James <n.james93@hotmail.co.uk>2021-02-22 19:41:11 +0000
commita2e15fa532f36db7080347fbae31470c8ceaffc4 (patch)
tree99a3fd22bc17a7a3e41fc342d79684ea37f3d90d /clang/lib/Frontend/CompilerInvocation.cpp
parent54529c4be64ec5f2269460df52602f0242e54a75 (diff)
downloadllvm-a2e15fa532f36db7080347fbae31470c8ceaffc4.zip
llvm-a2e15fa532f36db7080347fbae31470c8ceaffc4.tar.gz
llvm-a2e15fa532f36db7080347fbae31470c8ceaffc4.tar.bz2
[clang-tidy] Harden PreferMemberInitializerCheck
Prevent warning when the values are initialized using fields that will be initialized later or VarDecls defined in the constructors body. Both of these cases can't be safely fixed. Also improve logic of finding where to insert member initializers, previously it could be confused by in class member initializers. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D97132
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions