clang 20.0.0git
Public Attributes | List of all members
clang::sema::AnalysisBasedWarnings::InterProceduralData Class Reference

InterProceduralData aims to be a storage of whatever data should be passed between analyses of different functions. More...

Public Attributes

CalledOnceInterProceduralData CalledOnceData
 

Detailed Description

InterProceduralData aims to be a storage of whatever data should be passed between analyses of different functions.

At the moment, its primary goal is to make the information gathered during the analysis of the blocks available during the analysis of the enclosing function. This is important due to the fact that blocks are analyzed before the enclosed function is even parsed fully, so it is not viable to access anything in the outer scope while analyzing the block. On the other hand, re-building CFG for blocks and re-analyzing them when we do have all the information (i.e. during the analysis of the enclosing function) seems to be ill-designed.

Definition at line 2463 of file AnalysisBasedWarnings.cpp.

Member Data Documentation

◆ CalledOnceData

CalledOnceInterProceduralData clang::sema::AnalysisBasedWarnings::InterProceduralData::CalledOnceData

Definition at line 2467 of file AnalysisBasedWarnings.cpp.


The documentation for this class was generated from the following file: