Home
last modified time | relevance | path

Searched refs:IdDependencyRecord (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DIdDependentBackwardBranchCheck.h28 struct IdDependencyRecord { struct
29 IdDependencyRecord(const VarDecl *Declaration, SourceLocation Location, in IdDependencyRecord() argument
33 IdDependencyRecord(const FieldDecl *Declaration, SourceLocation Location, in IdDependencyRecord() argument
37 IdDependencyRecord() = default;
44 std::map<const VarDecl *, IdDependencyRecord> IdDepVarsMap; argument
46 std::map<const FieldDecl *, IdDependencyRecord> IdDepFieldsMap;
49 IdDependencyRecord *hasIdDepVar(const Expr *Expression);
52 IdDependencyRecord *hasIdDepField(const Expr *Expression);
H A DIdDependentBackwardBranchCheck.cpp81 IdDependentBackwardBranchCheck::IdDependencyRecord *
93 if (IdDependencyRecord *Result = hasIdDepVar(ChildExpression)) in hasIdDepVar()
98 IdDependentBackwardBranchCheck::IdDependencyRecord *
110 if (IdDependencyRecord *Result = hasIdDepField(ChildExpression)) in hasIdDepField()
119 IdDependencyRecord(Variable, Variable->getBeginLoc(), in saveIdDepVar()
127 IdDepFieldsMap[Field] = IdDependencyRecord( in saveIdDepField()
155 IdDependencyRecord(PotentialVar, PotentialVar->getBeginLoc(), Message); in saveIdDepVarFromReference()
179 IdDepFieldsMap[PotentialField] = IdDependencyRecord( in saveIdDepFieldFromReference()
243 IdDependencyRecord *IdDepVar = hasIdDepVar(CondExpr); in check()
244 IdDependencyRecord *IdDepField = hasIdDepField(CondExpr); in check()