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

#include <SourceCode.h>

Collaboration diagram for clang::clangd::DefinedMacro:
[legend]

Public Attributes

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

Detailed Description

Definition at line 293 of file SourceCode.h.

Member Data Documentation

◆ Info

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

Definition at line 295 of file SourceCode.h.

◆ Name

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

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


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