diff options
author | AMS21 <AMS21.github@gmail.com> | 2023-04-04 06:35:08 +0000 |
---|---|---|
committer | Piotr Zegar <me@piotrzegar.pl> | 2023-04-04 07:20:25 +0000 |
commit | 3afe3dbfa0157608aa1d058f6be28e0060aaf9c6 (patch) | |
tree | 6fda0100c5f33f52b9c85edb94bfdfd738f14a21 /clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp | |
parent | 745a957f9dc562477cbe587fb3fa8305713b51b3 (diff) | |
download | llvm-3afe3dbfa0157608aa1d058f6be28e0060aaf9c6.zip llvm-3afe3dbfa0157608aa1d058f6be28e0060aaf9c6.tar.gz llvm-3afe3dbfa0157608aa1d058f6be28e0060aaf9c6.tar.bz2 |
[clang-tidy] Fix readability-static-accessed-through-instance check for anonymous structs
Previously we would provide a fixit which looked like
this `unnamed struct at ...::f()` but which is obviously
not valid C/C++.
Since there is no real nice way to accesses a static function
from an anonymous struct anyways we simply ignore all
anonymous structs.
Fixes llvm#61736
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D147411
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp')
0 files changed, 0 insertions, 0 deletions