Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFunctionEffects.cpp1389 const FunctionEffectsRef &FX, const FunctionEffectWithCondition &NewEC, in diagnoseConflictingFunctionEffect() argument
1393 if (NewEC.Cond.getCondition() != nullptr) in diagnoseConflictingFunctionEffect()
1399 << ("'" + NewEC.description() + "'") in diagnoseConflictingFunctionEffect()
1407 FunctionEffect::Kind NewKind = NewEC.Effect.kind(); in diagnoseConflictingFunctionEffect()
H A DTreeTransform.h6510 FunctionEffectWithCondition NewEC = PrevEC; in TransformFunctionProtoType() local
6524 NewEC.Cond = {}; in TransformFunctionProtoType()
6527 NewEC.Effect = FunctionEffect(PrevEC.Effect.oppositeKind()); in TransformFunctionProtoType()
6528 NewEC.Cond = {}; in TransformFunctionProtoType()
6531 NewEC.Cond = EffectConditionExpr(NewExpr.get()); in TransformFunctionProtoType()
6538 if (!SemaRef.diagnoseConflictingFunctionEffect(*NewFX, NewEC, in TransformFunctionProtoType()
6541 NewFX->insert(NewEC, Errs); in TransformFunctionProtoType()
H A DSemaType.cpp7665 const FunctionEffectWithCondition NewEC{FunctionEffect(FEKind), in handleNonBlockingNonAllocatingTypeAttr() local
7668 if (S.diagnoseConflictingFunctionEffect(FPT->getFunctionEffects(), NewEC, in handleNonBlockingNonAllocatingTypeAttr()
7678 [[maybe_unused]] bool Success = FX.insert(NewEC, Errs); in handleNonBlockingNonAllocatingTypeAttr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp5476 bool FunctionEffectSet::insert(const FunctionEffectWithCondition &NewEC, in insert() argument
5478 FunctionEffect::Kind NewOppositeKind = NewEC.Effect.oppositeKind(); in insert()
5479 Expr *NewCondition = NewEC.Cond.getCondition(); in insert()
5490 if (EC.Effect.kind() == NewEC.Effect.kind()) { in insert()
5498 Errs.push_back({EC, NewEC}); in insert()
5503 if (NewEC.Effect.kind() < EC.Effect.kind() && InsertIdx > Idx) in insert()
5513 NewEC.Cond.getCondition()); in insert()
5515 Effects.insert(Effects.begin() + InsertIdx, NewEC.Effect); in insert()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h5147 bool insert(const FunctionEffectWithCondition &NewEC, Conflicts &Errs);