Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DRangedConstraintManager.cpp71 QualType ExprType = SSE->getType(); in assumeSym() local
73 SymMgr.getSymSymExpr(SSE->getLHS(), BO_EQ, SSE->getRHS(), ExprType); in assumeSym()
78 const llvm::APSInt &Zero = getBasicVals().getValue(0, ExprType); in assumeSym()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp544 QualType ExprType; in TraverseMemberExpr() local
559 ExprType = Call->getCallReturnType(*Context); in TraverseMemberExpr()
570 if (ExprType.isNull()) in TraverseMemberExpr()
571 ExprType = Obj->getType(); in TraverseMemberExpr()
573 if (!ExprType->isPointerType()) in TraverseMemberExpr()
/external/llvm-project/clang/lib/Parse/
DParseExpr.cpp2291 ParenParseOption ExprType = CastExpr; in ParseExprAfterUnaryExprOrTypeTrait() local
2294 Operand = ParseParenExpression(ExprType, true/*stopIfCastExpr*/, in ParseExprAfterUnaryExprOrTypeTrait()
2300 if (ExprType == CastExpr) { in ParseExprAfterUnaryExprOrTypeTrait()
2757 Parser::ParseParenExpression(ParenParseOption &ExprType, bool stopIfCastExpr, in ParseParenExpression() argument
2776 /*IsParenthesized=*/ExprType >= CompoundLiteral); in ParseParenExpression()
2801 if (ExprType >= CompoundStmt && Tok.is(tok::l_brace)) { in ParseParenExpression()
2823 ExprType = CompoundStmt; in ParseParenExpression()
2833 } else if (ExprType >= CompoundLiteral && BridgeCast) { in ParseParenExpression()
2870 } else if (ExprType >= CompoundLiteral && in ParseParenExpression()
2881 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T, in ParseParenExpression()
[all …]
DParseExprCXX.cpp3837 Parser::ParseCXXAmbiguousParenExpression(ParenParseOption &ExprType, in ParseCXXAmbiguousParenExpression() argument
3842 assert(ExprType == CastExpr && "Compound literals are not ambiguous!"); in ParseCXXAmbiguousParenExpression()
3938 ExprType = CompoundLiteral; in ParseCXXAmbiguousParenExpression()
3965 ExprType = SimpleExpr; in ParseCXXAmbiguousParenExpression()
/external/clang/lib/Parse/
DParseExpr.cpp1782 ParenParseOption ExprType = CastExpr; in ParseExprAfterUnaryExprOrTypeTrait() local
1785 Operand = ParseParenExpression(ExprType, true/*stopIfCastExpr*/, in ParseExprAfterUnaryExprOrTypeTrait()
1791 if (ExprType == CastExpr) { in ParseExprAfterUnaryExprOrTypeTrait()
2184 Parser::ParseParenExpression(ParenParseOption &ExprType, bool stopIfCastExpr, in ParseParenExpression() argument
2200 ExprType >= CompoundLiteral? Sema::PCC_ParenthesizedExpression in ParseParenExpression()
2226 if (ExprType >= CompoundStmt && Tok.is(tok::l_brace)) { in ParseParenExpression()
2246 ExprType = CompoundStmt; in ParseParenExpression()
2255 } else if (ExprType >= CompoundLiteral && BridgeCast) { in ParseParenExpression()
2290 } else if (ExprType >= CompoundLiteral && in ParseParenExpression()
2301 ExprResult res = ParseCXXAmbiguousParenExpression(ExprType, CastTy, T, in ParseParenExpression()
[all …]
DParseExprCXX.cpp3099 Parser::ParseCXXAmbiguousParenExpression(ParenParseOption &ExprType, in ParseCXXAmbiguousParenExpression() argument
3104 assert(ExprType == CastExpr && "Compound literals are not ambiguous!"); in ParseCXXAmbiguousParenExpression()
3199 ExprType = CompoundLiteral; in ParseCXXAmbiguousParenExpression()
3226 ExprType = SimpleExpr; in ParseCXXAmbiguousParenExpression()
/external/llvm-project/polly/include/polly/Support/
DSCEVAffinator.h86 isl::pw_aff addModuloSemantic(isl::pw_aff PWA, llvm::Type *ExprType) const;
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExtractVariable.cpp370 if (const Type *ExprType = E->getType().getTypePtrOrNull()) in eligibleForExtraction() local
371 if (ExprType->isVoidType()) in eligibleForExtraction()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp856 QualType ExprType = Updater->getType(); in EmitDesignatedInitUpdater() local
858 if (ExprType->isArrayType()) { in EmitDesignatedInitUpdater()
859 llvm::ArrayType *AType = cast<llvm::ArrayType>(ConvertType(ExprType)); in EmitDesignatedInitUpdater()
917 if (ExprType->isRecordType()) in EmitDesignatedInitUpdater()
1132 QualType ExprType = Updater->getType(); in Build() local
1133 RecordDecl *RD = ExprType->getAs<RecordType>()->getDecl(); in Build()
/external/llvm-project/polly/lib/Support/
DSCEVAffinator.cpp160 Type *ExprType) const { in addModuloSemantic()
161 unsigned Width = TD.getTypeSizeInBits(ExprType); in addModuloSemantic()
/external/rust/crates/syn/src/
Dlib.rs353 ExprTryBlock, ExprTuple, ExprType, ExprUnary, ExprUnsafe, ExprWhile, ExprYield, Index, Member,
Dexpr.rs210 Type(ExprType),
727 pub struct ExprType #full {
799 | Expr::Type(ExprType { attrs, .. }) in replace_attrs()
1358 lhs = Expr::Type(ExprType { in parse_expr()
2243 ExprType, Type, "expected type ascription expression",
3030 impl ToTokens for ExprType { implementation
/external/clang/include/clang/Parse/
DParser.h1476 ExprResult ParseParenExpression(ParenParseOption &ExprType,
1483 ParenParseOption &ExprType, ParsedType &CastTy,
/external/rust/crates/syn/src/gen/
Dfold.rs244 fn fold_expr_type(&mut self, i: ExprType) -> ExprType { in fold_expr_type() argument
1494 pub fn fold_expr_type<F>(f: &mut F, node: ExprType) -> ExprType in fold_expr_type()
1498 ExprType { in fold_expr_type()
Dclone.rs693 impl Clone for ExprType { implementation
695 ExprType { in clone()
Deq.rs686 impl Eq for ExprType {} implementation
689 impl PartialEq for ExprType { implementation
Dvisit_mut.rs247 fn visit_expr_type_mut(&mut self, i: &mut ExprType) { in visit_expr_type_mut() argument
1704 pub fn visit_expr_type_mut<V>(v: &mut V, node: &mut ExprType) in visit_expr_type_mut()
Dvisit.rs243 fn visit_expr_type(&mut self, i: &'ast ExprType) { in visit_expr_type() argument
1700 pub fn visit_expr_type<'ast, V>(v: &mut V, node: &'ast ExprType) in visit_expr_type()
Dhash.rs917 impl Hash for ExprType { implementation
Ddebug.rs1007 impl Debug for ExprType { implementation
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiate.cpp1472 QualType ExprType = TargetType.getNonLValueExprType(SemaRef.Context); in TransformTemplateParmRefExpr() local
1474 ExprType.addConst(); in TransformTemplateParmRefExpr()
1477 ExprType, TargetType->isReferenceType() ? VK_LValue : VK_RValue, NTTP, in TransformTemplateParmRefExpr()
DSemaExpr.cpp4188 bool Sema::CheckUnaryExprOrTypeTraitOperand(QualType ExprType, in CheckUnaryExprOrTypeTraitOperand() argument
4192 if (ExprType->isDependentType()) in CheckUnaryExprOrTypeTraitOperand()
4201 if (const ReferenceType *Ref = ExprType->getAs<ReferenceType>()) in CheckUnaryExprOrTypeTraitOperand()
4202 ExprType = Ref->getPointeeType(); in CheckUnaryExprOrTypeTraitOperand()
4209 ExprType = Context.getBaseElementType(ExprType); in CheckUnaryExprOrTypeTraitOperand()
4212 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
4215 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
4220 OpLoc, ExprType, diag::err_sizeof_alignof_incomplete_or_sizeless_type, in CheckUnaryExprOrTypeTraitOperand()
4224 if (ExprType->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
4230 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
/external/llvm-project/clang/include/clang/Parse/
DParser.h1849 ExprResult ParseParenExpression(ParenParseOption &ExprType,
1856 ParenParseOption &ExprType, ParsedType &CastTy,
/external/clang/lib/Sema/
DSemaExpr.cpp3711 bool Sema::CheckUnaryExprOrTypeTraitOperand(QualType ExprType, in CheckUnaryExprOrTypeTraitOperand() argument
3715 if (ExprType->isDependentType()) in CheckUnaryExprOrTypeTraitOperand()
3724 if (const ReferenceType *Ref = ExprType->getAs<ReferenceType>()) in CheckUnaryExprOrTypeTraitOperand()
3725 ExprType = Ref->getPointeeType(); in CheckUnaryExprOrTypeTraitOperand()
3731 ExprType = Context.getBaseElementType(ExprType); in CheckUnaryExprOrTypeTraitOperand()
3734 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
3737 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
3741 if (RequireCompleteType(OpLoc, ExprType, in CheckUnaryExprOrTypeTraitOperand()
3746 if (ExprType->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
3752 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
/external/clang/include/clang/Sema/
DSema.h3916 bool CheckUnaryExprOrTypeTraitOperand(QualType ExprType, SourceLocation OpLoc,
8926 QualType ExprType);

12