clang-tools 20.0.0git
|
#include <CollectMacros.h>
Public Member Functions | |
Range | toRange (const SourceManager &SM) const |
Public Attributes | |
size_t | StartOffset |
size_t | EndOffset |
bool | IsDefinition |
bool | InConditionalDirective |
Definition at line 25 of file CollectMacros.h.
Range clang::clangd::MacroOccurrence::toRange | ( | const SourceManager & | SM | ) | const |
Definition at line 21 of file CollectMacros.cpp.
References EndOffset, clang::clangd::halfOpenToRange(), MainFile, and StartOffset.
size_t clang::clangd::MacroOccurrence::EndOffset |
Definition at line 28 of file CollectMacros.h.
Referenced by toRange().
bool clang::clangd::MacroOccurrence::InConditionalDirective |
Definition at line 32 of file CollectMacros.h.
bool clang::clangd::MacroOccurrence::IsDefinition |
Definition at line 30 of file CollectMacros.h.
size_t clang::clangd::MacroOccurrence::StartOffset |
Definition at line 27 of file CollectMacros.h.
Referenced by toRange().