[clang-tidy] Simplify braced init check
authorStephen Kelly <steveire@gmail.com>
Tue, 29 Dec 2020 13:42:20 +0000 (13:42 +0000)
committerStephen Kelly <steveire@gmail.com>
Sat, 20 Feb 2021 20:09:13 +0000 (20:09 +0000)
commite8b8f896024620eb86bf924be73100d83c74c736
tree9c2a3aeb4df5bac77cf16d27e87a0eb42b3886b9
parent7dd42ecfa2a29bac89c965544c14b32805c8f02b
[clang-tidy] Simplify braced init check

The normalization of matchers means that this now works in all language
modes.

Differential Revision: https://reviews.llvm.org/D96135
clang-tools-extra/clang-tidy/modernize/ReturnBracedInitListCheck.cpp
clang-tools-extra/clang-tidy/modernize/ReturnBracedInitListCheck.h
clang-tools-extra/test/clang-tidy/checkers/modernize-return-braced-init-list.cpp