clang  14.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"

Collaboration diagram for clang::IdentifierLoc:
Collaboration graph
[legend]

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 187 of file ParsedAttr.h.

Member Function Documentation

◆ create()

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

Definition at line 31 of file ParsedAttr.cpp.

Member Data Documentation

◆ Ident

IdentifierInfo* clang::IdentifierLoc::Ident

Definition at line 189 of file ParsedAttr.h.

Referenced by clang::Sema::checkStringLiteralArgumentAttr().

◆ Loc

SourceLocation clang::IdentifierLoc::Loc

Definition at line 188 of file ParsedAttr.h.

Referenced by clang::Sema::checkStringLiteralArgumentAttr().


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