clang-tools  14.0.0git
Public Attributes | List of all members
clang::clangd::DefinedMacro Struct Reference

#include <SourceCode.h>

Collaboration diagram for clang::clangd::DefinedMacro:
Collaboration graph

Public Attributes

llvm::StringRef Name
const MacroInfo * Info
SourceLocation NameLoc
 Location of the identifier that names the macro. More...

Detailed Description

Definition at line 303 of file SourceCode.h.

Member Data Documentation

◆ Info

const MacroInfo* clang::clangd::DefinedMacro::Info

Definition at line 305 of file SourceCode.h.

◆ Name

llvm::StringRef clang::clangd::DefinedMacro::Name

Definition at line 304 of file SourceCode.h.

◆ NameLoc

SourceLocation clang::clangd::DefinedMacro::NameLoc

Location of the identifier that names the macro.

Unlike Info->Location, this translates preamble-patch locations to main-file locations.

Definition at line 309 of file SourceCode.h.

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