Lines Matching refs:AST

132 const FunctionDecl *getFunctionNode(clang::ASTUnit *AST,  in getFunctionNode()  argument
135 AST->getASTContext()); in getFunctionNode()
161 auto AST = buildASTFromCode(R"cpp( in TEST() local
188 const FunctionDecl *Func = getFunctionNode(AST.get(), "func"); in TEST()
217 const FunctionDecl *CTorFunc = getFunctionNode(AST.get(), "A"); in TEST()
245 AST->getASTContext().getLocalCommentForDeclUncached(CTorFunc); in TEST()
257 AST->getASTContext()); in TEST()
269 Func = getFunctionNode(AST.get(), "parmvardecl_attr"); in TEST()
283 auto AST = buildASTFromCode(R"cpp( in TEST() local
354 AST->getASTContext()); in TEST()
401 AST->getASTContext()); in TEST()
442 AST->getASTContext()); in TEST()
473 AST->getASTContext()); in TEST()
495 auto varChecker = [&AST](StringRef varName, StringRef SemanticDump, in TEST()
501 AST->getASTContext()); in TEST()
636 auto AST = buildASTFromCode(R"cpp( in TEST() local
652 AST->getASTContext()); in TEST()
677 auto AST = buildASTFromCode(R"cpp( in TEST() local
692 AST->getASTContext()); in TEST()
718 auto AST = buildASTFromCode(R"cpp( in TEST() local
789 auto getFunctionNode = [&AST](const std::string &name) { in TEST()
791 AST->getASTContext()); in TEST()
947 auto AST = in TEST() local
976 auto getLambdaNode = [&AST](const std::string &name) { in TEST()
979 AST->getASTContext()); in TEST()
1066 auto AST = buildASTFromCode(R"cpp( in TEST() local
1069 const auto *TUDecl = AST->getASTContext().getTranslationUnitDecl(); in TEST()
1583 auto AST = buildASTFromCode(R"cpp( in TEST() local
1630 AST->getASTContext()); in TEST()
1721 AST->getASTContext()); in TEST()
1759 AST->getASTContext()); in TEST()
1840 AST->getASTContext()); in TEST()
1869 auto AST = buildASTFromCodeWithArgs(R"cpp( in TEST() local
1896 AST->getASTContext()); in TEST()