clang 19.0.0git
Static Public Member Functions | Public Attributes | List of all members
clang::IdentifierLoc Struct Reference

Wraps an identifier and optional source location for the identifier. More...

#include "clang/Sema/ParsedAttr.h"

Static Public Member Functions

static IdentifierLoccreate (ASTContext &Ctx, SourceLocation Loc, IdentifierInfo *Ident)
 

Public Attributes

SourceLocation Loc
 
IdentifierInfoIdent
 

Detailed Description

Wraps an identifier and optional source location for the identifier.

Definition at line 100 of file ParsedAttr.h.

Member Function Documentation

◆ create()

IdentifierLoc * IdentifierLoc::create ( ASTContext Ctx,
SourceLocation  Loc,
IdentifierInfo Ident 
)
static

Definition at line 28 of file ParsedAttr.cpp.

References Ident, Loc, and clang::Result.

Referenced by fixSeparateAttrArgAndNumber().

Member Data Documentation

◆ Ident

IdentifierInfo* clang::IdentifierLoc::Ident

◆ Loc

SourceLocation clang::IdentifierLoc::Loc

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