class ApplyInlineDebugLocation
Declaration
class ApplyInlineDebugLocation { /* full declaration omitted */ };
Description
A scoped helper to set the current debug location to an inlined location.
Declared at: clang/lib/CodeGen/CGDebugInfo.h:853
Member Variables
- private clang::SourceLocation SavedLocation
- private clang::CodeGen::CodeGenFunction* CGF
Method Overview
- public ApplyInlineDebugLocation(clang::CodeGen::CodeGenFunction & CGF, clang::GlobalDecl InlinedFn)
- public ~ApplyInlineDebugLocation()
Methods
¶ApplyInlineDebugLocation(
clang::CodeGen::CodeGenFunction& CGF,
clang::GlobalDecl InlinedFn)
ApplyInlineDebugLocation(
clang::CodeGen::CodeGenFunction& CGF,
clang::GlobalDecl InlinedFn)
Description
Set up the CodeGenFunction's DebugInfo to produce inline locations for the function \p InlinedFn. The current debug location becomes the inlined call site of the inlined function.
Declared at: clang/lib/CodeGen/CGDebugInfo.h:861
Parameters
- clang::CodeGen::CodeGenFunction& CGF
- clang::GlobalDecl InlinedFn
¶~ApplyInlineDebugLocation()
~ApplyInlineDebugLocation()
Description
Restore everything back to the original state.
Declared at: clang/lib/CodeGen/CGDebugInfo.h:863