diff options
author | Julian Schmidt <44101708+5chmidti@users.noreply.github.com> | 2023-11-14 23:00:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 23:00:18 +0100 |
commit | a3d76b3fa3f8641f515ea8bc5de0844e01f6d7cd (patch) | |
tree | b208f1697584f731ea8341864134b42bd7a9c3bf /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 447af1ce99c066169c5ea85a23963e8d3d93124a (diff) | |
download | llvm-a3d76b3fa3f8641f515ea8bc5de0844e01f6d7cd.zip llvm-a3d76b3fa3f8641f515ea8bc5de0844e01f6d7cd.tar.gz llvm-a3d76b3fa3f8641f515ea8bc5de0844e01f6d7cd.tar.bz2 |
[clang-tidy] fix match for binaryOperator in ExprMutationAnalyzer for misc-const-correctness (#70559)
The `ExprMutationAnalyzer`s matcher of `binaryOperator`s
that contained the variable expr, were previously narrowing the
variable to be type dependent, when the `binaryOperator` should
have been narrowed as dependent.
The variable we are trying to find mutations for does
not need to be the dependent type, the other operand of
the `binaryOperator` could be dependent.
Fixes #57297
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions