clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::tooling::CompileCommand Struct Reference

Specifies the working directory and command of a compilation. More...

#include "clang/Tooling/CompilationDatabase.h"

Collaboration diagram for clang::tooling::CompileCommand:
Collaboration graph
[legend]

Public Member Functions

 CompileCommand ()
 
 CompileCommand (Twine Directory, Twine Filename, std::vector< std::string > CommandLine, Twine Output)
 

Public Attributes

std::string Directory
 The working directory the command was executed from. More...
 
std::string Filename
 The source file associated with the command. More...
 
std::vector< std::string > CommandLine
 The command line that was executed. More...
 
std::string Output
 The output file associated with the command. More...
 

Detailed Description

Specifies the working directory and command of a compilation.

Definition at line 43 of file CompilationDatabase.h.

Constructor & Destructor Documentation

◆ CompileCommand() [1/2]

clang::tooling::CompileCommand::CompileCommand ( )
inline

Definition at line 44 of file CompilationDatabase.h.

◆ CompileCommand() [2/2]

clang::tooling::CompileCommand::CompileCommand ( Twine  Directory,
Twine  Filename,
std::vector< std::string >  CommandLine,
Twine  Output 
)
inline

Definition at line 45 of file CompilationDatabase.h.

Member Data Documentation

◆ CommandLine

std::vector<std::string> clang::tooling::CompileCommand::CommandLine

The command line that was executed.

Definition at line 59 of file CompilationDatabase.h.

◆ Directory

std::string clang::tooling::CompileCommand::Directory

The working directory the command was executed from.

Definition at line 53 of file CompilationDatabase.h.

◆ Filename

std::string clang::tooling::CompileCommand::Filename

The source file associated with the command.

Definition at line 56 of file CompilationDatabase.h.

◆ Output

std::string clang::tooling::CompileCommand::Output

The output file associated with the command.

Definition at line 62 of file CompilationDatabase.h.


The documentation for this struct was generated from the following file: