struct CompilerInstance::OutputFile

Declaration

struct CompilerInstance::OutputFile { /* full declaration omitted */ };

Description

Holds information about the output file. If TempFilename is not empty we must rename it to Filename at the end. TempFilename may be empty and Filename non-empty if creating the temporary failed.

Declared at: clang/include/clang/Frontend/CompilerInstance.h:165

Member Variables

public std::string Filename
public Optional<llvm::sys::fs::TempFile> File

Method Overview

  • public OutputFile(std::string filename, Optional<llvm::sys::fs::TempFile> file)

Methods

ΒΆOutputFile(std::string filename,
           Optional<llvm::sys::fs::TempFile> file)

Declared at: clang/include/clang/Frontend/CompilerInstance.h:169

Parameters

std::string filename
Optional<llvm::sys::fs::TempFile> file