LLVM 20.0.0git
Public Member Functions | List of all members
llvm::ScopedDbgInfoFormatSetter< T > Class Template Reference

Used to temporarily set the debug info format of a function, module, or basic block for the duration of this object's lifetime, after which the prior state will be restored. More...

#include "llvm/IR/DebugProgramInstruction.h"

Public Member Functions

 ScopedDbgInfoFormatSetter (T &Obj, bool NewState)
 
 ~ScopedDbgInfoFormatSetter ()
 

Detailed Description

template<typename T>
class llvm::ScopedDbgInfoFormatSetter< T >

Used to temporarily set the debug info format of a function, module, or basic block for the duration of this object's lifetime, after which the prior state will be restored.

Definition at line 680 of file DebugProgramInstruction.h.

Constructor & Destructor Documentation

◆ ScopedDbgInfoFormatSetter()

template<typename T >
llvm::ScopedDbgInfoFormatSetter< T >::ScopedDbgInfoFormatSetter ( T Obj,
bool  NewState 
)
inline

Definition at line 685 of file DebugProgramInstruction.h.

◆ ~ScopedDbgInfoFormatSetter()

template<typename T >
llvm::ScopedDbgInfoFormatSetter< T >::~ScopedDbgInfoFormatSetter ( )
inline

Definition at line 689 of file DebugProgramInstruction.h.


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