/external/clang/lib/AST/ |
D | TemplateBase.cpp | 130 return (getAsExpr()->isTypeDependent() || getAsExpr()->isValueDependent() || in isDependent() 131 isa<PackExpansionExpr>(getAsExpr())); in isDependent() 170 return getAsExpr()->isInstantiationDependent(); in isInstantiationDependent() 199 return isa<PackExpansionExpr>(getAsExpr()); in isPackExpansion() 225 if (getAsExpr()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPack() 291 getAsExpr()->Profile(ID, Context, true); in Profile() 339 return cast<PackExpansionExpr>(getAsExpr())->getPattern(); in getPackExpansionPattern() 401 getAsExpr()->printPretty(Out, nullptr, Policy); in print() 503 Arg.getAsExpr()->printPretty(OS, nullptr, Policy); in operator <<()
|
D | TypeLoc.cpp | 377 ArgInfos[i] = TemplateArgumentLocInfo(Args[i].getAsExpr()); in initializeArgLocs()
|
D | ASTDiagnostic.cpp | 1204 ArgExpr = Iter->getAsExpr(); in GetExpr() 1231 ArgExpr = Iter.getDesugar().getAsExpr(); in GetInt() 1257 ArgExpr = Iter.getDesugar().getAsExpr(); in GetValueDecl()
|
D | StmtProfile.cpp | 1495 Visit(Arg.getAsExpr()); in VisitTemplateArgument()
|
D | ASTImporter.cpp | 332 Arg1.getAsExpr(), Arg2.getAsExpr()); in IsStructurallyEquivalent() 2150 if (Expr *ToExpr = Importer.Import(From.getAsExpr())) in ImportTemplateArgument()
|
D | ASTDumper.cpp | 945 dumpStmt(A.getAsExpr()); in dumpTemplateArgument()
|
D | MicrosoftMangle.cpp | 1202 mangleExpression(TA.getAsExpr()); in mangleTemplateArg()
|
D | ItaniumMangle.cpp | 3529 const Expr *E = A.getAsExpr()->IgnoreParens(); in mangleTemplateArg()
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 307 Expr *getAsExpr() const { in getAsExpr() function 403 Expr *getAsExpr() const { in getAsExpr() function 481 return LocInfo.getAsExpr(); in getSourceExpression() 486 return LocInfo.getAsExpr(); in getSourceDeclExpression() 491 return LocInfo.getAsExpr(); in getSourceNullPtrExpression() 496 return LocInfo.getAsExpr(); in getSourceIntegralExpression()
|
D | DataRecursiveASTVisitor.h | 718 return getDerived().TraverseStmt(Arg.getAsExpr()); in TraverseTemplateArgument()
|
D | RecursiveASTVisitor.h | 784 return getDerived().TraverseStmt(Arg.getAsExpr()); in TraverseTemplateArgument()
|
/external/clang/include/clang/Sema/ |
D | ParsedTemplate.h | 76 Expr *getAsExpr() const { in getAsExpr() function
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 430 ExprResult Result = ActOnPackExpansion(Arg.getAsExpr(), EllipsisLoc); in ActOnPackExpansion() 908 = cast<PackExpansionExpr>(Argument.getAsExpr()); in getTemplateArgumentPackExpansionPattern()
|
D | SemaTemplateDeduction.cpp | 216 X.getAsExpr()->Profile(ID1, Context, true); in checkDeducedTemplateArguments() 217 Y.getAsExpr()->Profile(ID2, Context, true); in checkDeducedTemplateArguments() 1732 = getDeducedParameterFromExpr(Param.getAsExpr())) { in DeduceTemplateArguments() 1740 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsExpr(), in DeduceTemplateArguments() 1946 X.getAsExpr()->Profile(XID, Context, true); in isSameTemplateArg() 1947 Y.getAsExpr()->Profile(YID, Context, true); in isSameTemplateArg() 2037 return TemplateArgumentLoc(Arg, Arg.getAsExpr()); in getTrivialTemplateArgumentLoc() 4921 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
|
D | SemaTemplate.cpp | 498 Expr *E = static_cast<Expr *>(Arg.getAsExpr()); in translateTemplateArgument() 2362 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg.getAsExpr()); in isTemplateArgumentTemplateParameter() 3050 if (DeclRefExpr *ArgExpr = dyn_cast<DeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument() 3054 dyn_cast<DependentScopeDeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument() 3058 dyn_cast<CXXDependentScopeMemberExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument() 3450 CheckTemplateArgument(NTTP, NTTPType, Arg.getArgument().getAsExpr(), in CheckTemplateArgument() 3457 if (Res.get() != Arg.getArgument().getAsExpr()) { in CheckTemplateArgument() 5949 Expr *ArgExpr = Args[I].getAsExpr(); in CheckNonTypeTemplatePartialSpecializationArgs()
|
D | SemaTemplateInstantiate.cpp | 1150 Expr *argExpr = arg.getAsExpr(); in transformNonTypeTemplateParmRef()
|
D | TreeTransform.h | 3416 Output = TemplateArgumentLoc(Arg, Arg.getAsExpr()); in InventTemplateArgumentLoc() 3483 if (!InputExpr) InputExpr = Input.getArgument().getAsExpr(); in TransformTemplateArgument()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 636 return InnerMatcher.matches(*Node.getAsExpr(), Finder, Builder); in AST_MATCHER_P()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 5000 AddStmt(Arg.getAsExpr()); in AddTemplateArgumentLocInfo() 5030 = Arg.getArgument().getAsExpr() == Arg.getLocInfo().getAsExpr(); in AddTemplateArgumentLoc() 5476 AddStmt(Arg.getAsExpr()); in AddTemplateArgument()
|
D | ASTReader.cpp | 6122 return TemplateArgumentLoc(Arg, TemplateArgumentLocInfo(Arg.getAsExpr())); in ReadTemplateArgumentLoc()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 1342 const Expr *E = TA.getAsExpr(); in CollectTemplateParams()
|