clang 20.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::tooling::stdlib::Header Class Reference

#include "clang/Tooling/Inclusions/StandardLibrary.h"

Public Member Functions

llvm::StringRef name () const
 

Static Public Member Functions

static std::vector< Headerall (Lang L=Lang::CXX)
 
static std::optional< Headernamed (llvm::StringRef Name, Lang Language=Lang::CXX)
 

Friends

llvm::raw_ostream & operator<< (llvm::raw_ostream &OS, const Header &H)
 
bool operator== (const Header &L, const Header &R)
 

Detailed Description

Definition at line 39 of file StandardLibrary.h.

Member Function Documentation

◆ all()

std::vector< Header > clang::tooling::stdlib::Header::all ( Lang  L = Lang::CXX)
static

◆ name()

llvm::StringRef clang::tooling::stdlib::Header::name ( ) const

Definition at line 204 of file StandardLibrary.cpp.

References clang::tooling::stdlib::getMappingPerLang().

◆ named()

std::optional< Header > clang::tooling::stdlib::Header::named ( llvm::StringRef  Name,
Lang  Language = Lang::CXX 
)
static

Friends And Related Function Documentation

◆ operator<<

llvm::raw_ostream & operator<< ( llvm::raw_ostream &  OS,
const Header H 
)
friend

Definition at line 46 of file StandardLibrary.h.

◆ operator==

bool operator== ( const Header L,
const Header R 
)
friend

Definition at line 58 of file StandardLibrary.h.


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