[clang] Reapply "[clang analysis][thread-safety] Handle return-by-reference..… (PR #68572)

Clement Courbet via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 23:25:22 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()];
----------------
legrosbuffle wrote:

Done.

https://github.com/llvm/llvm-project/pull/68572


More information about the cfe-commits mailing list