Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I would probably query the opcode only once and reuse it, but is also fine.
Btw whats your intention making this change? Do you plan greater refactorings/cleanups?
Comment Actions
Yeah, I think query the opcode once is a nice idea tho, let me do this in this patch only. And yeah I'm thinking of refactoring/cleanups where it needed and would love to make some big refactors. But I found this when I was looking into this issue (https://github.com/llvm/llvm-project/issues/53564 and needs to look at the deadstorechecker file.)
Comment Actions
Sorry but Idk why that DataFlowAnalysisIntro typo change also commited , I only add the deadstorechecker file.
Comment Actions
Shadowing potential names is not a good idea.
BTW OpCodes are often abbreviated to Op in variable names in this context.
clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp | ||
---|---|---|
110–111 |