clang-tools  16.0.0git
Public Member Functions | List of all members
clang::clangd::CollectPragmaMarks Class Reference
Inheritance diagram for clang::clangd::CollectPragmaMarks:
Inheritance graph
Collaboration diagram for clang::clangd::CollectPragmaMarks:
Collaboration graph

Public Member Functions

 CollectPragmaMarks (const SourceManager &SM, std::vector< clangd::PragmaMark > &Out)
void PragmaMark (SourceLocation Loc, StringRef Trivia) override

Detailed Description

Definition at line 34 of file CollectMacros.cpp.

Constructor & Destructor Documentation

◆ CollectPragmaMarks()

clang::clangd::CollectPragmaMarks::CollectPragmaMarks ( const SourceManager &  SM,
std::vector< clangd::PragmaMark > &  Out 

Definition at line 36 of file CollectMacros.cpp.

References Out.

Member Function Documentation

◆ PragmaMark()

void clang::clangd::CollectPragmaMarks::PragmaMark ( SourceLocation  Loc,
StringRef  Trivia 

Definition at line 40 of file CollectMacros.cpp.

References clang::clangd::isInsideMainFile(), and Loc.

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