[clang] Reapply "[clang analysis][thread-safety] Handle return-by-reference..… (PR #68572)
Aaron Puchert via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 17 15:27:54 PDT 2023
================
@@ -2278,7 +2303,7 @@ void ThreadSafetyAnalyzer::runAnalysis(AnalysisDeclContext &AC) {
PostOrderCFGView::CFGBlockSet VisitedBlocks(CFGraph);
CFGBlockInfo &Initial = BlockInfo[CFGraph->getEntry().getBlockID()];
- CFGBlockInfo &Final = BlockInfo[CFGraph->getExit().getBlockID()];
+ CFGBlockInfo &Final = BlockInfo[CFGraph->getExit().getBlockID()];
----------------
aaronpuchert wrote:
This change seems unnecessary, but I don't mind either way.
https://github.com/llvm/llvm-project/pull/68572
More information about the cfe-commits
mailing list