aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorJonas Toth <jonas.toth@gmail.com>2018-10-31 16:50:44 +0000
committerJonas Toth <jonas.toth@gmail.com>2018-10-31 16:50:44 +0000
commit0ea5af7acb33c8b455edea3a02ee2ffcbbcad3f8 (patch)
tree8cece7013e098f165ee66914058a38aa6038c432 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent1c254c6716cd01a228c5c35a225a45e6d8ee51ad (diff)
downloadllvm-0ea5af7acb33c8b455edea3a02ee2ffcbbcad3f8.zip
llvm-0ea5af7acb33c8b455edea3a02ee2ffcbbcad3f8.tar.gz
llvm-0ea5af7acb33c8b455edea3a02ee2ffcbbcad3f8.tar.bz2
[clang-tidy] new check 'readability-isolate-declaration'
Summary: This patch introduces a new clang-tidy check that matches on all `declStmt` that declare more then one variable and transform them into one statement per declaration if possible. It currently only focusses on variable declarations but should be extended to cover more kinds of declarations in the future. It is related to https://reviews.llvm.org/D27621 and does use it's extensive test-suite. Thank you to firolino for his work! Reviewers: rsmith, aaron.ballman, alexfh, hokein, kbobyrev Reviewed By: aaron.ballman Subscribers: ZaMaZaN4iK, mgehre, nemanjai, kbarton, lebedev.ri, Eugene.Zelenko, mgorny, xazax.hun, cfe-commits Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D51949 llvm-svn: 345735
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions