/external/clang/lib/AST/ |
D | TemplateBase.cpp | 128 return (getAsExpr()->isTypeDependent() || getAsExpr()->isValueDependent() || in isDependent() 129 isa<PackExpansionExpr>(getAsExpr())); in isDependent() 168 return getAsExpr()->isInstantiationDependent(); in isInstantiationDependent() 197 return isa<PackExpansionExpr>(getAsExpr()); in isPackExpansion() 223 if (getAsExpr()->containsUnexpandedParameterPack()) in containsUnexpandedParameterPack() 289 getAsExpr()->Profile(ID, Context, true); in Profile() 337 return cast<PackExpansionExpr>(getAsExpr())->getPattern(); in getPackExpansionPattern() 399 getAsExpr()->printPretty(Out, nullptr, Policy); in print() 501 Arg.getAsExpr()->printPretty(OS, nullptr, Policy); in operator <<()
|
D | TypeLoc.cpp | 478 ArgInfos[i] = TemplateArgumentLocInfo(Args[i].getAsExpr()); in initializeArgLocs()
|
D | ASTDiagnostic.cpp | 1266 ArgExpr = Iter->getAsExpr(); in GetExpr() 1293 ArgExpr = Iter.getDesugar().getAsExpr(); in GetInt() 1319 ArgExpr = Iter.getDesugar().getAsExpr(); in GetValueDecl()
|
D | StmtProfile.cpp | 1623 Visit(Arg.getAsExpr()); in VisitTemplateArgument()
|
D | ASTDumper.cpp | 951 dumpStmt(A.getAsExpr()); in dumpTemplateArgument()
|
D | ASTImporter.cpp | 375 Arg1.getAsExpr(), Arg2.getAsExpr()); in IsStructurallyEquivalent() 2204 if (Expr *ToExpr = Importer.Import(From.getAsExpr())) in ImportTemplateArgument()
|
D | MicrosoftMangle.cpp | 1254 mangleExpression(TA.getAsExpr()); in mangleTemplateArg()
|
D | ItaniumMangle.cpp | 3706 const Expr *E = A.getAsExpr()->IgnoreParens(); in mangleTemplateArg()
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 304 Expr *getAsExpr() const { in getAsExpr() function 400 Expr *getAsExpr() const { in getAsExpr() function 478 return LocInfo.getAsExpr(); in getSourceExpression() 483 return LocInfo.getAsExpr(); in getSourceDeclExpression() 488 return LocInfo.getAsExpr(); in getSourceNullPtrExpression() 493 return LocInfo.getAsExpr(); in getSourceIntegralExpression()
|
D | RecursiveASTVisitor.h | 743 return getDerived().TraverseStmt(Arg.getAsExpr());
|
/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() 909 = 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() 1741 = getDeducedParameterFromExpr(Param.getAsExpr())) { in DeduceTemplateArguments() 1749 return DeduceNonTypeTemplateArgument(S, NTTP, Arg.getAsExpr(), in DeduceTemplateArguments() 1955 X.getAsExpr()->Profile(XID, Context, true); in isSameTemplateArg() 1956 Y.getAsExpr()->Profile(YID, Context, true); in isSameTemplateArg() 2046 return TemplateArgumentLoc(Arg, Arg.getAsExpr()); in getTrivialTemplateArgumentLoc() 5000 MarkUsedTemplateParameters(Ctx, TemplateArg.getAsExpr(), OnlyDeduced, in MarkUsedTemplateParameters()
|
D | SemaTemplate.cpp | 499 Expr *E = static_cast<Expr *>(Arg.getAsExpr()); in translateTemplateArgument() 2429 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(Arg.getAsExpr()); in isTemplateArgumentTemplateParameter() 3099 if (DeclRefExpr *ArgExpr = dyn_cast<DeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument() 3103 dyn_cast<DependentScopeDeclRefExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument() 3107 dyn_cast<CXXDependentScopeMemberExpr>(Arg.getAsExpr())) { in CheckTemplateTypeArgument() 3500 CheckTemplateArgument(NTTP, NTTPType, Arg.getArgument().getAsExpr(), in CheckTemplateArgument() 3507 if (Res.get() != Arg.getArgument().getAsExpr()) { in CheckTemplateArgument() 6029 Expr *ArgExpr = Args[I].getAsExpr(); in CheckNonTypeTemplatePartialSpecializationArgs()
|
D | SemaTemplateInstantiate.cpp | 1134 Expr *argExpr = arg.getAsExpr(); in transformNonTypeTemplateParmRef()
|
D | TreeTransform.h | 3604 Output = TemplateArgumentLoc(Arg, Arg.getAsExpr()); in InventTemplateArgumentLoc() 3671 if (!InputExpr) InputExpr = Input.getArgument().getAsExpr(); in TransformTemplateArgument()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 4837 AddStmt(Arg.getAsExpr()); in AddTemplateArgumentLocInfo() 4867 = Arg.getArgument().getAsExpr() == Arg.getLocInfo().getAsExpr(); in AddTemplateArgumentLoc() 5312 AddStmt(Arg.getAsExpr()); in AddTemplateArgument()
|
D | ASTReader.cpp | 6186 return TemplateArgumentLoc(Arg, TemplateArgumentLocInfo(Arg.getAsExpr())); in ReadTemplateArgumentLoc()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 686 return InnerMatcher.matches(*Node.getAsExpr(), Finder, Builder); in AST_MATCHER_P()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 1362 const Expr *E = TA.getAsExpr(); in CollectTemplateParams()
|