clang-tools 20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
clang::clangd::ASTAction Struct Reference

#include <TUScheduler.h>

Public Types

enum  Kind { Queued , RunningAction , Building , Idle }
 

Public Member Functions

 ASTAction ()=default
 
 ASTAction (Kind K, llvm::StringRef Name)
 

Public Attributes

Kind K = ASTAction::Idle
 
std::string Name
 The name of the action currently running, e.g.
 

Detailed Description

Definition at line 125 of file TUScheduler.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Queued 
RunningAction 
Building 
Idle 

Definition at line 126 of file TUScheduler.h.

Constructor & Destructor Documentation

◆ ASTAction() [1/2]

clang::clangd::ASTAction::ASTAction ( )
default

◆ ASTAction() [2/2]

clang::clangd::ASTAction::ASTAction ( Kind  K,
llvm::StringRef  Name 
)
inline

Definition at line 134 of file TUScheduler.h.

Member Data Documentation

◆ K

Kind clang::clangd::ASTAction::K = ASTAction::Idle

Definition at line 135 of file TUScheduler.h.

◆ Name

std::string clang::clangd::ASTAction::Name

The name of the action currently running, e.g.

Update, GoToDef, Hover. Empty if we are in the idle state.

Definition at line 138 of file TUScheduler.h.


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