clang 23.0.0git
clang::ssaf::AnalysisRegistry::Add< AnalysisT > Struct Template Reference

Registers AnalysisT with the unified registry. More...

#include "clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h"

Public Member Functions

 Add (llvm::StringRef Desc)
 Add (const Add &)=delete
Addoperator= (const Add &)=delete

Detailed Description

template<typename AnalysisT>
struct clang::ssaf::AnalysisRegistry::Add< AnalysisT >

Registers AnalysisT with the unified registry.

The registry entry name is derived automatically from AnalysisT::ResultType::analysisName(), so name-mismatch bugs are impossible.

Add objects must be declared static at namespace scope.

Definition at line 64 of file AnalysisRegistry.h.

Constructor & Destructor Documentation

◆ Add() [1/2]

template<typename AnalysisT>
clang::ssaf::AnalysisRegistry::Add< AnalysisT >::Add ( llvm::StringRef Desc)
inlineexplicit

◆ Add() [2/2]

template<typename AnalysisT>
clang::ssaf::AnalysisRegistry::Add< AnalysisT >::Add ( const Add< AnalysisT > & )
delete

References Add().

Member Function Documentation

◆ operator=()

template<typename AnalysisT>
Add & clang::ssaf::AnalysisRegistry::Add< AnalysisT >::operator= ( const Add< AnalysisT > & )
delete

References Add().


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