clang 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::LinkInModulesPass Class Reference

Create and return a pass that links in Moduels from a provided BackendConsumer to a given primary Module. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/LinkInModulesPass.h"

Inheritance diagram for llvm::LinkInModulesPass:
Inheritance graph
[legend]

Public Member Functions

 LinkInModulesPass (clang::BackendConsumer *BC, bool ShouldLinkFiles=true)
 
PreservedAnalyses run (Module &M, AnalysisManager< Module > &)
 

Static Public Member Functions

static bool isRequired ()
 

Detailed Description

Create and return a pass that links in Moduels from a provided BackendConsumer to a given primary Module.

Note that this pass is designed for use with the legacy pass manager.

Definition at line 29 of file LinkInModulesPass.h.

Constructor & Destructor Documentation

◆ LinkInModulesPass()

LinkInModulesPass::LinkInModulesPass ( clang::BackendConsumer BC,
bool  ShouldLinkFiles = true 
)

Definition at line 23 of file LinkInModulesPass.cpp.

Member Function Documentation

◆ isRequired()

static bool llvm::LinkInModulesPass::isRequired ( )
inlinestatic

Definition at line 37 of file LinkInModulesPass.h.

◆ run()

PreservedAnalyses LinkInModulesPass::run ( Module &  M,
AnalysisManager< Module > &   
)

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