clang 24.0.0git
clang::IncrementalCompilerBuilder Class Reference

Create a pre-configured CompilerInstance for incremental processing. More...

#include "clang/Interpreter/Interpreter.h"

Public Member Functions

 IncrementalCompilerBuilder ()
void SetCompilerArgs (const std::vector< const char * > &Args)
void SetTargetTriple (std::string TT)
llvm::Expected< std::unique_ptr< CompilerInstance > > CreateCpp ()
void SetOffloadArch (llvm::StringRef Arch)
void SetDeviceSDK (llvm::StringRef Path)
void SetDriverCompilationCallback (std::function< DriverCompilationFn > C)
llvm::Expected< std::unique_ptr< CompilerInstance > > CreateHost (OffloadType Type)
llvm::Expected< std::unique_ptr< CompilerInstance > > CreateDevice (OffloadType Type)

Detailed Description

Create a pre-configured CompilerInstance for incremental processing.

Definition at line 54 of file Interpreter.h.

Constructor & Destructor Documentation

◆ IncrementalCompilerBuilder()

clang::IncrementalCompilerBuilder::IncrementalCompilerBuilder ( )
inline

Definition at line 58 of file Interpreter.h.

Member Function Documentation

◆ CreateCpp()

llvm::Expected< std::unique_ptr< CompilerInstance > > clang::IncrementalCompilerBuilder::CreateCpp ( )

Definition at line 373 of file Interpreter.cpp.

◆ CreateDevice()

llvm::Expected< std::unique_ptr< CompilerInstance > > clang::IncrementalCompilerBuilder::CreateDevice ( OffloadType Type)

Definition at line 427 of file Interpreter.cpp.

◆ CreateHost()

llvm::Expected< std::unique_ptr< CompilerInstance > > clang::IncrementalCompilerBuilder::CreateHost ( OffloadType Type)

Definition at line 432 of file Interpreter.cpp.

◆ SetCompilerArgs()

void clang::IncrementalCompilerBuilder::SetCompilerArgs ( const std::vector< const char * > & Args)
inline

Definition at line 60 of file Interpreter.h.

◆ SetDeviceSDK()

void clang::IncrementalCompilerBuilder::SetDeviceSDK ( llvm::StringRef Path)
inline

Definition at line 73 of file Interpreter.h.

◆ SetDriverCompilationCallback()

void clang::IncrementalCompilerBuilder::SetDriverCompilationCallback ( std::function< DriverCompilationFn > C)
inline

Definition at line 76 of file Interpreter.h.

References clang::C, and std::function.

Referenced by clang::OrcIncrementalExecutorBuilder::configure().

◆ SetOffloadArch()

void clang::IncrementalCompilerBuilder::SetOffloadArch ( llvm::StringRef Arch)
inline

Definition at line 70 of file Interpreter.h.

References Arch.

◆ SetTargetTriple()

void clang::IncrementalCompilerBuilder::SetTargetTriple ( std::string TT)
inline

Definition at line 64 of file Interpreter.h.


The documentation for this class was generated from the following files: