clang 22.0.0git
Public Member Functions | List of all members
clang::CIRGen::CIRGenFunction::SourceLocRAIIObject Class Reference

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

Public Member Functions

 SourceLocRAIIObject (CIRGenFunction &cgf, mlir::Location value)
 
void restore ()
 Can be used to restore the state early, before the dtor is run.
 
 ~SourceLocRAIIObject ()
 

Detailed Description

Definition at line 320 of file CIRGenFunction.h.

Constructor & Destructor Documentation

◆ SourceLocRAIIObject()

clang::CIRGen::CIRGenFunction::SourceLocRAIIObject::SourceLocRAIIObject ( CIRGenFunction cgf,
mlir::Location  value 
)
inline

Definition at line 325 of file CIRGenFunction.h.

References clang::CIRGen::CIRGenFunction::currSrcLoc.

◆ ~SourceLocRAIIObject()

clang::CIRGen::CIRGenFunction::SourceLocRAIIObject::~SourceLocRAIIObject ( )
inline

Definition at line 334 of file CIRGenFunction.h.

References restore().

Member Function Documentation

◆ restore()

void clang::CIRGen::CIRGenFunction::SourceLocRAIIObject::restore ( )
inline

Can be used to restore the state early, before the dtor is run.

Definition at line 333 of file CIRGenFunction.h.

References clang::CIRGen::CIRGenFunction::currSrcLoc.

Referenced by ~SourceLocRAIIObject().


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