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

#include <ConfigTesting.h>

Collaboration diagram for clang::clangd::config::CapturedDiags:
Collaboration graph


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 24 of file ConfigTesting.h.

Member Function Documentation

◆ callback()

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

Definition at line 25 of file ConfigTesting.h.

References ns1::ns2::D, Diagnostics, Files, and Out.

◆ clear()

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

Definition at line 62 of file ConfigTesting.h.

References Diagnostics, and Files.

Member Data Documentation

◆ Diagnostics

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

Definition at line 59 of file ConfigTesting.h.

Referenced by callback(), and clear().

◆ Files

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

Definition at line 60 of file ConfigTesting.h.

Referenced by callback(), and clear().

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