clang 22.0.0git
clang::interp::LocOverrideScope< Emitter > Class Template Referencefinal

When generating code for e.g. More...

Public Member Functions

 LocOverrideScope (Compiler< Emitter > *Ctx, SourceInfo NewValue, bool Enabled=true)
 ~LocOverrideScope ()

Detailed Description

template<class Emitter>
class clang::interp::LocOverrideScope< Emitter >

When generating code for e.g.

implicit field initializers in constructors, we don't have anything to point to in case the initializer causes an error. In that case, we need to disable location tracking for the initializer so we later point to the call range instead.

Definition at line 195 of file Compiler.cpp.

Constructor & Destructor Documentation

◆ LocOverrideScope()

template<class Emitter>
clang::interp::LocOverrideScope< Emitter >::LocOverrideScope ( Compiler< Emitter > * Ctx,
SourceInfo NewValue,
bool Enabled = true )
inline

Definition at line 197 of file Compiler.cpp.

◆ ~LocOverrideScope()

Definition at line 205 of file Compiler.cpp.


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