clang-tools  12.0.0git
Public Member Functions | List of all members
clang::clangd::trace::Session Class Reference

Sets up a global EventTracer that consumes events produced by Span and trace::log. More...

#include <Trace.h>

Public Member Functions

 Session (EventTracer &Tracer)
 
 ~Session ()
 

Detailed Description

Sets up a global EventTracer that consumes events produced by Span and trace::log.

Only one TracingSession can be active at a time and it should be set up before calling any clangd-specific functions.

Definition at line 102 of file Trace.h.

Constructor & Destructor Documentation

◆ Session()

clang::clangd::trace::Session::Session ( EventTracer Tracer)

Definition at line 258 of file Trace.cpp.

References Tracer.

◆ ~Session()

clang::clangd::trace::Session::~Session ( )

Definition at line 263 of file Trace.cpp.


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