Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DRangedConstraintManager.cpp78 QualType ExprType = SSE->getType(); in assumeSym() local
80 SymMgr.getSymSymExpr(SSE->getLHS(), BO_EQ, SSE->getRHS(), ExprType); in assumeSym()
85 const llvm::APSInt &Zero = getBasicVals().getValue(0, ExprType); in assumeSym()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseExpr.cpp2362 ParenParseOption ExprType = CastExpr; in ParseExprAfterUnaryExprOrTypeTrait() local
2365 Operand = ParseParenExpression(ExprType, true/*stopIfCastExpr*/, in ParseExprAfterUnaryExprOrTypeTrait()
2371 if (ExprType == CastExpr) { in ParseExprAfterUnaryExprOrTypeTrait()
2870 Parser::ParseParenExpression(ParenParseOption &ExprType, bool stopIfCastExpr, in ParseParenExpression() argument
2890 /*IsParenthesized=*/ExprType >= CompoundLiteral); in ParseParenExpression()
2914 if (ExprType >= CompoundStmt && Tok.is(tok::l_brace)) { in ParseParenExpression()
2937 ExprType = CompoundStmt; in ParseParenExpression()
2947 } else if (ExprType >= CompoundLiteral && BridgeCast) { in ParseParenExpression()
2984 } else if (ExprType >= CompoundLiteral && in ParseParenExpression()
2995 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T, in ParseParenExpression()
[all …]
H A DParseExprCXX.cpp3915 Parser::ParseCXXAmbiguousParenExpression(ParenParseOption &ExprType, in ParseCXXAmbiguousParenExpression() argument
3920 assert(ExprType == CastExpr && "Compound literals are not ambiguous!"); in ParseCXXAmbiguousParenExpression()
4017 ExprType = CompoundLiteral; in ParseCXXAmbiguousParenExpression()
4044 ExprType = SimpleExpr; in ParseCXXAmbiguousParenExpression()
/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DTGParser.cpp1135 TypedInit *ExprType = dyn_cast<TypedInit>(Expr); in ParseOperation() local
1136 if (!ExprType) { in ParseOperation()
1141 RecordRecTy *RecType = dyn_cast<RecordRecTy>(ExprType->getType()); in ParseOperation()
1149 StringRecTy *SType = dyn_cast<StringRecTy>(ExprType->getType()); in ParseOperation()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1737 QualType ExprType = TargetType.getNonLValueExprType(SemaRef.Context); in TransformTemplateParmRefExpr() local
1739 ExprType.addConst(); in TransformTemplateParmRefExpr()
1742 ExprType, TargetType->isReferenceType() ? VK_LValue : VK_PRValue, in TransformTemplateParmRefExpr()
H A DSemaExpr.cpp4370 bool Sema::CheckUnaryExprOrTypeTraitOperand(QualType ExprType, in CheckUnaryExprOrTypeTraitOperand() argument
4374 if (ExprType->isDependentType()) in CheckUnaryExprOrTypeTraitOperand()
4383 if (const ReferenceType *Ref = ExprType->getAs<ReferenceType>()) in CheckUnaryExprOrTypeTraitOperand()
4384 ExprType = Ref->getPointeeType(); in CheckUnaryExprOrTypeTraitOperand()
4391 ExprType = Context.getBaseElementType(ExprType); in CheckUnaryExprOrTypeTraitOperand()
4394 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
4397 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
4402 OpLoc, ExprType, diag::err_sizeof_alignof_incomplete_or_sizeless_type, in CheckUnaryExprOrTypeTraitOperand()
4406 if (ExprType->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
4412 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
H A DSemaOpenMP.cpp3146 QualType ExprType = VD->getType().getNonReferenceType(); in ActOnOpenMPIdExpression() local
3150 Id.getLoc(), ExprType, VK_LValue); in ActOnOpenMPIdExpression()
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h1866 ExprResult ParseParenExpression(ParenParseOption &ExprType,
1873 ParenParseOption &ExprType, ParsedType &CastTy,
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp806 Value *EmitUnPromotedValue(Value *result, QualType ExprType);
3163 QualType ExprType) { in EmitUnPromotedValue() argument
3164 return CGF.Builder.CreateFPTrunc(result, ConvertType(ExprType), "unpromotion"); in EmitUnPromotedValue()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h5716 bool CheckUnaryExprOrTypeTraitOperand(QualType ExprType, SourceLocation OpLoc,
12744 QualType ExprType);