diff options
author | eahcmrh <chris.hamilton@ericsson.com> | 2022-08-19 22:26:38 +0200 |
---|---|---|
committer | eahcmrh <chris.hamilton@ericsson.com> | 2022-08-19 23:29:32 +0200 |
commit | 9e1a4ce0b55db1388351550497e5ce43b588f71c (patch) | |
tree | 55fee45389fd2c4df405288fb7fc4ed5e3f84f1b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d769cd8cdc11bb2439bf8d0cb3f079c9e8912fa8 (diff) | |
download | llvm-9e1a4ce0b55db1388351550497e5ce43b588f71c.zip llvm-9e1a4ce0b55db1388351550497e5ce43b588f71c.tar.gz llvm-9e1a4ce0b55db1388351550497e5ce43b588f71c.tar.bz2 |
[clang-tidy] Fix for bugprone-sizeof-expression PR57167
This addresses a change in behavior of the bugprone-sizeof-expression
checker after upstream commit 15f3cd6bfc6, which cleaned up
ElaboratedType sugaring in the AST. This restores (mostly) the
beahvior of the checker prior to that commit, which may or may not have
been consistent with the intent of the checker, but at least gave a
tolerable level of what users would consider false positives.
Bug: https://github.com/llvm/llvm-project/issues/57167
Reviewed By: mizvekov, aaron.ballman
Differential Revision: https://reviews.llvm.org/D131926
Change-Id: Ibe5aad77ad00977134aa7fa67efbbd6bd725fd79
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions