summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py
diff options
context:
space:
mode:
authorNathan <n.james93@hotmail.co.uk>2019-12-31 09:57:16 +0000
committerHans Wennborg <hans@chromium.org>2020-01-23 00:57:56 +0100
commit1f98c2b586e4ebce68d75856699059663a052cb7 (patch)
tree45c0a722aec9eb5ca43ad109ddca5ab8f0e16b66 /lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py
parentb5cdee9bdce49b31c74b0cf4f8231f66bbc2708e (diff)
downloadbcm5719-llvm-1f98c2b586e4ebce68d75856699059663a052cb7.tar.gz
bcm5719-llvm-1f98c2b586e4ebce68d75856699059663a052cb7.zip
[clang-tidy] Disable Checks on If constexpr statements in template Instantiations for BugproneBranchClone and ReadabilityBracesAroundStatements
Summary: fixes [[ https://bugs.llvm.org/show_bug.cgi?id=32203 | readability-braces-around-statements broken for if constexpr]] and [[ https://bugs.llvm.org/show_bug.cgi?id=44229 | bugprone-branch-clone false positive with template functions and constexpr ]] by disabling the relevant checks on if constexpr statements while inside an instantiated template. This is due to how the else branch of an if constexpr statement is folded away to a null statement if the condition evaluates to false Reviewers: alexfh, hokein, aaron.ballman, xazax.hun Reviewed By: aaron.ballman, xazax.hun Subscribers: rnkovacs, JonasToth, Jim, lebedev.ri, xazax.hun, cfe-commits Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D71980 (cherry picked from commit f9c46229e4ac29053747c96e08c574c6c48d544b)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud