clang-tools 20.0.0git
Classes | Public Member Functions | Public Attributes | List of all members
clang::clangd::config::CapturedDiags Struct Reference

#include <ConfigTesting.h>

Classes

struct  Diag
 

Public Member Functions

std::function< void(const llvm::SMDiagnostic &)> callback ()
 
void clear ()
 

Public Attributes

std::vector< DiagDiagnostics
 
std::vector< std::string > Files
 

Detailed Description

Definition at line 25 of file ConfigTesting.h.

Member Function Documentation

◆ callback()

std::function< void(const llvm::SMDiagnostic &)> clang::clangd::config::CapturedDiags::callback ( )
inline

Definition at line 26 of file ConfigTesting.h.

References Diagnostics, Files, and Out.

◆ clear()

void clang::clangd::config::CapturedDiags::clear ( )
inline

Definition at line 63 of file ConfigTesting.h.

References Diagnostics, and Files.

Member Data Documentation

◆ Diagnostics

std::vector<Diag> clang::clangd::config::CapturedDiags::Diagnostics

Definition at line 60 of file ConfigTesting.h.

Referenced by callback(), and clear().

◆ Files

std::vector<std::string> clang::clangd::config::CapturedDiags::Files

Definition at line 61 of file ConfigTesting.h.

Referenced by callback(), and clear().


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