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

#include <SourceCode.h>

Public Attributes

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

Detailed Description

Definition at line 312 of file SourceCode.h.

Member Data Documentation

◆ Info

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

Definition at line 314 of file SourceCode.h.

◆ Name

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

Definition at line 313 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 318 of file SourceCode.h.

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