/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertUtils.cpp | 289 const Expr *SourceExpr, bool PermitDeref) { in isIndexInSubscriptExpr() argument 290 if (!SourceExpr || !Obj || !isIndexInSubscriptExpr(IndexExpr, IndexVar)) in isIndexInSubscriptExpr() 293 if (areSameExpr(Context, SourceExpr->IgnoreParenImpCasts(), in isIndexInSubscriptExpr() 298 if (PermitDeref && areSameExpr(Context, SourceExpr->IgnoreParenImpCasts(), in isIndexInSubscriptExpr()
|
D | LoopConvertUtils.h | 96 void findExprComponents(const clang::Expr *SourceExpr) { in findExprComponents() argument 97 TraverseStmt(const_cast<clang::Expr *>(SourceExpr)); in findExprComponents()
|
D | LoopConvertCheck.cpp | 354 const Expr *SourceExpr = Member->getBase(); in getContainerFromBeginEndCall() local 355 if (!SourceExpr) in getContainerFromBeginEndCall() 359 return SourceExpr; in getContainerFromBeginEndCall()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 850 Expr *SourceExpr; variable 856 Expr *SourceExpr = nullptr) 859 (SourceExpr && SourceExpr->isTypeDependent()), 861 (SourceExpr && SourceExpr->isValueDependent()), 863 (SourceExpr && SourceExpr->isInstantiationDependent()), 865 SourceExpr(SourceExpr), Loc(Loc) { 880 return SourceExpr ? SourceExpr->getLocStart() : Loc; in getLocStart() 883 return SourceExpr ? SourceExpr->getLocEnd() : Loc; in getLocEnd() 886 if (SourceExpr) return SourceExpr->getExprLoc(); in getExprLoc() 902 Expr *getSourceExpr() const { return SourceExpr; } in getSourceExpr()
|
/external/llvm-project/clang/include/clang/AST/ |
D | Expr.h | 1127 Expr *SourceExpr; variable 1131 ExprObjectKind OK = OK_Ordinary, Expr *SourceExpr = nullptr) 1132 : Expr(OpaqueValueExprClass, T, VK, OK), SourceExpr(SourceExpr) { in Expr() 1150 return SourceExpr ? SourceExpr->getBeginLoc() : getLocation(); in getBeginLoc() 1153 return SourceExpr ? SourceExpr->getEndLoc() : getLocation(); in getEndLoc() 1156 return SourceExpr ? SourceExpr->getExprLoc() : getLocation(); in getExprLoc() 1175 Expr *getSourceExpr() const { return SourceExpr; } in getSourceExpr() 1178 assert((!V || SourceExpr) && in setIsUnique()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 11544 Sema &S, Expr *SourceExpr, const Sema::SemaDiagnosticBuilder &Builder) { in adornObjCBoolConversionDiagWithTernaryFixit() argument 11545 Expr *Ignored = SourceExpr->IgnoreImplicit(); in adornObjCBoolConversionDiagWithTernaryFixit() 11551 SourceLocation EndLoc = S.getLocForEndOfToken(SourceExpr->getEndLoc()); in adornObjCBoolConversionDiagWithTernaryFixit() 11553 Builder << FixItHint::CreateInsertion(SourceExpr->getBeginLoc(), "(") in adornObjCBoolConversionDiagWithTernaryFixit() 12505 Expr *SourceExpr = E; in AnalyzeImplicitConversions() local 12512 SourceExpr = Src; in AnalyzeImplicitConversions() 12514 if (const auto *UO = dyn_cast<UnaryOperator>(SourceExpr)) in AnalyzeImplicitConversions() 12523 if (auto *CO = dyn_cast<AbstractConditionalOperator>(SourceExpr)) { in AnalyzeImplicitConversions() 12529 if (CallExpr *Call = dyn_cast<CallExpr>(SourceExpr)) in AnalyzeImplicitConversions() 12535 if (SourceExpr->getType() != T) in AnalyzeImplicitConversions() [all …]
|
D | SemaOverload.cpp | 11863 Expr* SourceExpr; member in __anon39067ac81b11::AddressOfFunctionResolver 11883 AddressOfFunctionResolver(Sema &S, Expr *SourceExpr, in AddressOfFunctionResolver() argument 11885 : S(S), SourceExpr(SourceExpr), TargetType(TargetType), in AddressOfFunctionResolver() 11892 OvlExprInfo(OverloadExpr::find(SourceExpr)), in AddressOfFunctionResolver() 12071 if (completeFunctionType(S, FunDecl, SourceExpr->getBeginLoc(), in AddMatchingNonTemplateFunction() 12147 SourceExpr->getBeginLoc(), S.PDiag(), in EliminateAllExceptMostSpecializedTemplate()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 10273 Expr* SourceExpr; member in __anond619a3da0d11::AddressOfFunctionResolver 10293 AddressOfFunctionResolver(Sema &S, Expr *SourceExpr, in AddressOfFunctionResolver() argument 10295 : S(S), SourceExpr(SourceExpr), TargetType(TargetType), in AddressOfFunctionResolver() 10302 OvlExprInfo(OverloadExpr::find(SourceExpr)), in AddressOfFunctionResolver() 10478 S.DeduceReturnType(FunDecl, SourceExpr->getLocStart(), Complain)) { in AddMatchingNonTemplateFunction() 10553 SourceExpr->getLocStart(), S.PDiag(), in EliminateAllExceptMostSpecializedTemplate()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 5727 Expr *SourceExpr = Importer.Import(E->getSourceExpr()); in VisitOpaqueValueExpr() local 5728 if (!SourceExpr && E->getSourceExpr()) in VisitOpaqueValueExpr() 5733 E->getObjectKind(), SourceExpr); in VisitOpaqueValueExpr()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 2571 if (Expr *SourceExpr = E->getSourceExpr()) in VisitOpaqueValueExpr() local 2572 return Visit(SourceExpr); in VisitOpaqueValueExpr()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 2176 E->SourceExpr = Record.readSubExpr(); in VisitOpaqueValueExpr()
|
/external/llvm-project/clang/tools/libclang/ |
D | CIndex.cpp | 2823 if (Expr *SourceExpr = E->getSourceExpr()) in VisitOpaqueValueExpr() local 2824 return Visit(SourceExpr); in VisitOpaqueValueExpr()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 1665 E->SourceExpr = Reader.ReadSubExpr(); in VisitOpaqueValueExpr()
|