Lines Matching refs:compiler
43 CompilerInstance compiler; in TEST() local
45 compiler.createDiagnostics(); in TEST()
46 compiler.getLangOpts().CPlusPlus = 1; in TEST()
47 compiler.getLangOpts().CPlusPlus11 = 1; in TEST()
49 compiler.getTargetOpts().Triple = llvm::Triple::normalize( in TEST()
51 compiler.setTarget(clang::TargetInfo::CreateTargetInfo( in TEST()
52 compiler.getDiagnostics(), in TEST()
54 compiler.getTargetOpts()))); in TEST()
56 compiler.createFileManager(); in TEST()
57 compiler.createSourceManager(compiler.getFileManager()); in TEST()
58 compiler.createPreprocessor(clang::TU_Prefix); in TEST()
60 compiler.createASTContext(); in TEST()
62 compiler.setASTConsumer(std::unique_ptr<ASTConsumer>( in TEST()
64 compiler.getDiagnostics(), in TEST()
66 compiler.getHeaderSearchOpts(), in TEST()
67 compiler.getPreprocessorOpts(), in TEST()
68 compiler.getCodeGenOpts(), in TEST()
71 compiler.createSema(clang::TU_Prefix, nullptr); in TEST()
73 clang::SourceManager &sm = compiler.getSourceManager(); in TEST()
77 clang::ParseAST(compiler.getSema(), false, false); in TEST()