[all-commits] [llvm/llvm-project] d272d3: [clang-tidy] Ignore implicit casts in modernize-us...
Malcolm Parsons via All-commits
all-commits at lists.llvm.org
Tue Jan 14 01:57:07 PST 2020
Branch: refs/heads/arcpatch-D72630
Home: https://github.com/llvm/llvm-project
Commit: d272d3a1885a82d6ccf5b3d5b6841f79d81e24e5
https://github.com/llvm/llvm-project/commit/d272d3a1885a82d6ccf5b3d5b6841f79d81e24e5
Author: Malcolm Parsons <malcolm.parsons at gmail.com>
Date: 2020-01-14 (Tue, 14 Jan 2020)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize-use-default-member-init.cpp
Log Message:
-----------
[clang-tidy] Ignore implicit casts in modernize-use-default-member-init
Summary:
Initialising a pointer from nullptr involves an implicit cast.
Ignore it after getting initialiser from InitListExpr.
Fixes: PR44440
Reviewers: aaron.ballman, alexfh, JonasToth
Reviewed By: JonasToth
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72630
More information about the All-commits
mailing list