Home
last modified time | relevance | path

Searched refs:SourceExpr (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp289 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()
DLoopConvertUtils.h96 void findExprComponents(const clang::Expr *SourceExpr) { in findExprComponents() argument
97 TraverseStmt(const_cast<clang::Expr *>(SourceExpr)); in findExprComponents()
DLoopConvertCheck.cpp354 const Expr *SourceExpr = Member->getBase(); in getContainerFromBeginEndCall() local
355 if (!SourceExpr) in getContainerFromBeginEndCall()
359 return SourceExpr; in getContainerFromBeginEndCall()
/external/clang/include/clang/AST/
DExpr.h850 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/
DExpr.h1127 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/
DSemaChecking.cpp11544 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 …]
DSemaOverload.cpp11863 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/
DSemaOverload.cpp10273 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/
DASTImporter.cpp5727 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/
DCIndex.cpp2571 if (Expr *SourceExpr = E->getSourceExpr()) in VisitOpaqueValueExpr() local
2572 return Visit(SourceExpr); in VisitOpaqueValueExpr()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp2176 E->SourceExpr = Record.readSubExpr(); in VisitOpaqueValueExpr()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp2823 if (Expr *SourceExpr = E->getSourceExpr()) in VisitOpaqueValueExpr() local
2824 return Visit(SourceExpr); in VisitOpaqueValueExpr()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1665 E->SourceExpr = Reader.ReadSubExpr(); in VisitOpaqueValueExpr()