aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorPiotr Zegar <me@piotrzegar.pl>2023-03-29 15:24:54 +0000
committerPiotr Zegar <me@piotrzegar.pl>2023-03-29 16:08:54 +0000
commit498c88563b7f6379d9e6ae4d89d182756fa1c0bc (patch)
tree5c520c9c3ac88fc3b94848aa9a490baa2db85855 /llvm/lib/CodeGen/DFAPacketizer.cpp
parent270067d69532448c4f6d7956e68d7a392857f9ce (diff)
downloadllvm-498c88563b7f6379d9e6ae4d89d182756fa1c0bc.zip
llvm-498c88563b7f6379d9e6ae4d89d182756fa1c0bc.tar.gz
llvm-498c88563b7f6379d9e6ae4d89d182756fa1c0bc.tar.bz2
[clang-tidy] Fix if-constexpr false-positive in readability-misleading-indentation
When depend on template parameter, compiler can use NullStmt instead of CompoundStmt. This causes issues as we losing information about end location of that Stmt. To avoid this issue check now ignores ifStmt with NullStmt on true-branch. Fixes: https://github.com/llvm/llvm-project/issues/61435 Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D146887
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions