Home
last modified time | relevance | path

Searched refs:ExprType (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangedConstraintManager.cpp78 QualType ExprType = SSE->getType(); in assumeSym() local
80 SSE->getLHS(), BO_EQ, SSE->getRHS(), ExprType); in assumeSym()
85 const llvm::APSInt &Zero = getBasicVals().getValue(0, ExprType); in assumeSym()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp2129 ParenParseOption ExprType = ParenParseOption::CastExpr; in ParseExprAfterUnaryExprOrTypeTrait() local
2133 ExprType, /*StopIfCastExr=*/true, in ParseExprAfterUnaryExprOrTypeTrait()
2141 if (ExprType == ParenParseOption::CastExpr) { in ParseExprAfterUnaryExprOrTypeTrait()
2611 Parser::ParseParenExpression(ParenParseOption &ExprType, bool StopIfCastExpr, in ParseParenExpression() argument
2632 /*IsParenthesized=*/ExprType >= ParenParseOption::CompoundLiteral); in ParseParenExpression()
2656 if (ExprType >= ParenParseOption::CompoundStmt && Tok.is(tok::l_brace)) { in ParseParenExpression()
2679 ExprType = ParenParseOption::CompoundStmt; in ParseParenExpression()
2689 } else if (ExprType >= ParenParseOption::CompoundLiteral && BridgeCast) { in ParseParenExpression()
2726 } else if (ExprType >= ParenParseOption::CompoundLiteral && in ParseParenExpression()
2737 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T, in ParseParenExpression()
[all …]
H A DParseExprCXX.cpp3552 Parser::ParseCXXAmbiguousParenExpression(ParenParseOption &ExprType, in ParseCXXAmbiguousParenExpression() argument
3557 assert(ExprType == ParenParseOption::CastExpr && in ParseCXXAmbiguousParenExpression()
3655 ExprType = ParenParseOption::CompoundLiteral; in ParseCXXAmbiguousParenExpression()
3682 ExprType = ParenParseOption::SimpleExpr; in ParseCXXAmbiguousParenExpression()
H A DParser.cpp1603 ParenParseOption ExprType = ParenParseOption::SimpleExpr; in ParseAsmStringLiteral() local
1610 ExprType, /*StopIfCastExr=*/true, ParenExprKind::Unknown, in ParseAsmStringLiteral()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DClauseT.h181 template <typename IdType, typename ExprType> struct ObjectT;
214 template <typename TypeType, typename IdType, typename ExprType> //
218 std::tuple<OPT(TypeType), ObjectT<IdType, ExprType>, RangeT<ExprType>> t;
1317 template <typename TypeType, typename IdType, typename ExprType,
1322 using ExprTy = ExprType;
1325 using BaseT = ClauseT<TypeType, IdType, ExprType, Extras...>;
1328 clause::UnionOfAllClausesT<TypeType, IdType, ExprType>,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRetainPtrCtorAdoptChecker.cpp629 template <typename ExprType>
630 void reportLeak(const ExprType *E, const Decl *DeclWithIssue) const { in reportLeak()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp4346 QualType ExprType = E->IgnoreParens()->getType(); in CheckUnaryExprOrTypeTraitOperand() local
4347 if (!ExprType->isArrayType()) { in CheckUnaryExprOrTypeTraitOperand()
4348 Diag(E->getExprLoc(), diag::err_countof_arg_not_array_type) << ExprType; in CheckUnaryExprOrTypeTraitOperand()
4571 bool Sema::CheckUnaryExprOrTypeTraitOperand(QualType ExprType, in CheckUnaryExprOrTypeTraitOperand() argument
4576 if (ExprType->isDependentType()) in CheckUnaryExprOrTypeTraitOperand()
4585 if (const ReferenceType *Ref = ExprType->getAs<ReferenceType>()) in CheckUnaryExprOrTypeTraitOperand()
4586 ExprType = Ref->getPointeeType(); in CheckUnaryExprOrTypeTraitOperand()
4596 ExprType->isIncompleteArrayType()) in CheckUnaryExprOrTypeTraitOperand()
4600 ExprType = Context.getBaseElementType(ExprType); in CheckUnaryExprOrTypeTraitOperand()
4604 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
[all …]
H A DSemaTemplateInstantiate.cpp2241 QualType ExprType = TargetType.getNonLValueExprType(SemaRef.Context); in TransformTemplateParmRefExpr() local
2243 ExprType.addConst(); in TransformTemplateParmRefExpr()
2245 ExprType, TargetType->isReferenceType() ? VK_LValue : VK_PRValue, in TransformTemplateParmRefExpr()
H A DSemaOpenMP.cpp3192 QualType ExprType = VD->getType().getNonReferenceType(); in ActOnOpenMPIdExpression() local
3196 Id.getLoc(), ExprType, VK_LValue); in ActOnOpenMPIdExpression()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1421 const auto *ExprType = dyn_cast<TypedInit>(Expr); in ParseOperation() local
1422 if (!ExprType) { in ParseOperation()
1427 const auto *RecType = dyn_cast<RecordRecTy>(ExprType->getType()); in ParseOperation()
1435 const auto *SType = dyn_cast<StringRecTy>(ExprType->getType()); in ParseOperation()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h822 QualType ExprType);
H A DSema.h7350 bool CheckUnaryExprOrTypeTraitOperand(QualType ExprType, SourceLocation OpLoc,
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.cpp1966 QualType ExprType = E->getType(); in CheckBitCast() local
1968 << ExprType << S.getLangOpts().CharIsSigned << E->getSourceRange(); in CheckBitCast()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h4233 ExprResult ParseParenExpression(ParenParseOption &ExprType,
4450 ParenParseOption &ExprType, ParsedType &CastTy,
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp862 Value *EmitUnPromotedValue(Value *result, QualType ExprType);
3727 QualType ExprType) { in EmitUnPromotedValue() argument
3728 return CGF.Builder.CreateFPTrunc(result, ConvertType(ExprType), "unpromotion"); in EmitUnPromotedValue()