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

#include <TUScheduler.h>

Collaboration diagram for clang::clangd::ASTAction:
Collaboration graph
[legend]

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. More...
 

Detailed Description

Definition at line 96 of file TUScheduler.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Queued 
RunningAction 
Building 
Idle 

Definition at line 97 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 105 of file TUScheduler.h.

Member Data Documentation

◆ K

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

Definition at line 106 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 109 of file TUScheduler.h.


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