reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/CodeGen/CodeGenExternalTest.cpp
  263     compiler.createDiagnostics();
  264     compiler.getLangOpts().CPlusPlus = 1;
  265     compiler.getLangOpts().CPlusPlus11 = 1;
  267     compiler.getTargetOpts().Triple = llvm::Triple::normalize(
  269     compiler.setTarget(clang::TargetInfo::CreateTargetInfo(
  270       compiler.getDiagnostics(),
  272         compiler.getTargetOpts())));
  274     compiler.createFileManager();
  275     compiler.createSourceManager(compiler.getFileManager());
  275     compiler.createSourceManager(compiler.getFileManager());
  276     compiler.createPreprocessor(clang::TU_Prefix);
  278     compiler.createASTContext();
  281     compiler.setASTConsumer(std::unique_ptr<ASTConsumer>(
  283              CreateLLVMCodeGen(compiler.getDiagnostics(),
  285                                compiler.getHeaderSearchOpts(),
  286                                compiler.getPreprocessorOpts(),
  287                                compiler.getCodeGenOpts(),
  290     compiler.createSema(clang::TU_Prefix, nullptr);
  292     clang::SourceManager &sm = compiler.getSourceManager();
  296     clang::ParseAST(compiler.getSema(), false, false);