hanchenye-llvm-project/clang-tools-extra/clang-tidy
Malcolm Parsons a7c957fd81 [clang-tidy] Handle unions with existing default-member-init
Summary:
clang-tidy's modernize-use-default-member-init was crashing for unions
with an existing default member initializer.

Fixes PR40492

Reviewers: aaron.ballman, alexfh, JonasToth

Reviewed By: JonasToth

Subscribers: JonasToth, riccibruno, xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D57665

llvm-svn: 353092
2019-02-04 21:09:31 +00:00
..
abseil [clang-tidy] Add the abseil-duration-unnecessary-conversion check 2019-02-04 19:28:20 +00:00
android Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
boost Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
bugprone [clang-tidy] refactor bugprone-exception-escape analysis into class 2019-01-31 10:46:37 +00:00
cert Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
cppcoreguidelines Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
fuchsia Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
google Revert rCTE352968 due to compilation failures 💥 2019-02-02 23:01:20 +00:00
hicpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
llvm Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
misc [clang-tidy] misc-non-private-member-variables-in-classes: ignore implicit methods 2019-01-20 14:28:27 +00:00
modernize [clang-tidy] Handle unions with existing default-member-init 2019-02-04 21:09:31 +00:00
mpi Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
objc Revert rCTE351921 to fix documentation geneeration. 2019-01-23 02:58:59 +00:00
performance Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
plugin Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
portability Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
readability [clang-tidy] Work around http://llvm.org/PR40392 2019-01-21 16:26:54 +00:00
tool Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
utils [clang-tidy] refactor bugprone-exception-escape analysis into class 2019-01-31 10:46:37 +00:00
zircon Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CMakeLists.txt Add explicit dependency on clangSerialization after rC348911 2018-12-12 08:25:16 +00:00
ClangTidy.cpp [clang-tidy] Use getStripPluginsAdjuster 2019-01-21 10:10:18 +00:00
ClangTidy.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyDiagnosticConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyDiagnosticConsumer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyForceLinker.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyModule.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyModule.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyModuleRegistry.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyOptions.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyOptions.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyProfiling.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangTidyProfiling.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
add_new_check.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
rename_check.py Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00