clang 22.0.0git
clang::CodeGen::ApplyInlineDebugLocation Class Reference

A scoped helper to set the current debug location to an inlined location. More...

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

Public Member Functions

 ApplyInlineDebugLocation (CodeGenFunction &CGF, GlobalDecl InlinedFn)
 Set up the CodeGenFunction's DebugInfo to produce inline locations for the function InlinedFn.
 ~ApplyInlineDebugLocation ()
 Restore everything back to the original state.
 ApplyInlineDebugLocation (const ApplyInlineDebugLocation &)=delete
ApplyInlineDebugLocationoperator= (ApplyInlineDebugLocation &)=delete

Detailed Description

A scoped helper to set the current debug location to an inlined location.

Definition at line 973 of file CGDebugInfo.h.

Constructor & Destructor Documentation

◆ ApplyInlineDebugLocation() [1/2]

ApplyInlineDebugLocation::ApplyInlineDebugLocation ( CodeGenFunction & CGF,
GlobalDecl InlinedFn )

Set up the CodeGenFunction's DebugInfo to produce inline locations for the function InlinedFn.

The current debug location becomes the inlined call site of the inlined function.

Definition at line 291 of file CGDebugInfo.cpp.

Referenced by ApplyInlineDebugLocation(), and operator=().

◆ ~ApplyInlineDebugLocation()

ApplyInlineDebugLocation::~ApplyInlineDebugLocation ( )

Restore everything back to the original state.

Definition at line 307 of file CGDebugInfo.cpp.

◆ ApplyInlineDebugLocation() [2/2]

clang::CodeGen::ApplyInlineDebugLocation::ApplyInlineDebugLocation ( const ApplyInlineDebugLocation & )
delete

Member Function Documentation

◆ operator=()

ApplyInlineDebugLocation & clang::CodeGen::ApplyInlineDebugLocation::operator= ( ApplyInlineDebugLocation & )
delete

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