Home
last modified time | relevance | path

Searched refs:NewEC (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp5193 bool FunctionEffectSet::insert(const FunctionEffectWithCondition &NewEC, in insert() argument
5195 FunctionEffect::Kind NewOppositeKind = NewEC.Effect.oppositeKind(); in insert()
5196 Expr *NewCondition = NewEC.Cond.getCondition(); in insert()
5207 if (EC.Effect.kind() == NewEC.Effect.kind()) { in insert()
5215 Errs.push_back({EC, NewEC}); in insert()
5220 if (NewEC.Effect.kind() < EC.Effect.kind() && InsertIdx > Idx) in insert()
5230 NewEC.Cond.getCondition()); in insert()
5232 Effects.insert(Effects.begin() + InsertIdx, NewEC.Effect); in insert()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTreeTransform.h6283 FunctionEffectWithCondition NewEC = PrevEC; in TransformFunctionProtoType() local
6297 NewEC.Cond = {}; in TransformFunctionProtoType()
6300 NewEC.Effect = FunctionEffect(PrevEC.Effect.oppositeKind()); in TransformFunctionProtoType()
6301 NewEC.Cond = {}; in TransformFunctionProtoType()
6304 NewEC.Cond = EffectConditionExpr(NewExpr.get()); in TransformFunctionProtoType()
6311 if (!SemaRef.diagnoseConflictingFunctionEffect(*NewFX, NewEC, in TransformFunctionProtoType()
6314 NewFX->insert(NewEC, Errs); in TransformFunctionProtoType()
H A DSemaType.cpp7569 const FunctionEffectWithCondition NewEC{FunctionEffect(FEKind), in handleNonBlockingNonAllocatingTypeAttr() local
7572 if (S.diagnoseConflictingFunctionEffect(FPT->getFunctionEffects(), NewEC, in handleNonBlockingNonAllocatingTypeAttr()
7582 [[maybe_unused]] bool Success = FX.insert(NewEC, Errs); in handleNonBlockingNonAllocatingTypeAttr()
H A DSemaDecl.cpp20265 const FunctionEffectsRef &FX, const FunctionEffectWithCondition &NewEC, in diagnoseConflictingFunctionEffect() argument
20269 if (NewEC.Cond.getCondition() != nullptr) in diagnoseConflictingFunctionEffect()
20275 << ("'" + NewEC.description() + "'") in diagnoseConflictingFunctionEffect()
20283 FunctionEffect::Kind NewKind = NewEC.Effect.kind(); in diagnoseConflictingFunctionEffect()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4945 bool insert(const FunctionEffectWithCondition &NewEC, Conflicts &Errs);