clang::ASTConsumer *SlangRS::createBackend(const clang::CodeGenOptions& CodeGenOpts, llvm::raw_ostream *OS, Slang::OutputType OT) { return new RSBackend(mRSContext, &getDiagnostics(), CodeGenOpts, getTargetOptions(), &mPragmas, OS, OT, getSourceManager(), mAllowRSPrefix); }
clang::ASTConsumer * Slang::createBackend(const clang::CodeGenOptions& CodeGenOpts, llvm::raw_ostream *OS, OutputType OT) { return new Backend(mDiagEngine, CodeGenOpts, getTargetOptions(), &mPragmas, OS, OT); }