clang 22.0.0git
clang::IdentifierLoc Class Reference

A simple pair of identifier info and location. More...

#include "clang/Basic/IdentifierTable.h"

Public Member Functions

 IdentifierLoc ()=default
 IdentifierLoc (SourceLocation L, IdentifierInfo *Ident)
void setLoc (SourceLocation L)
void setIdentifierInfo (IdentifierInfo *Ident)
SourceLocation getLoc () const
IdentifierInfogetIdentifierInfo () const
bool operator== (const IdentifierLoc &X) const
bool operator!= (const IdentifierLoc &X) const

Detailed Description

A simple pair of identifier info and location.

Definition at line 1176 of file IdentifierTable.h.

Constructor & Destructor Documentation

◆ IdentifierLoc() [1/2]

clang::IdentifierLoc::IdentifierLoc ( )
default

Referenced by operator!=(), and operator==().

◆ IdentifierLoc() [2/2]

clang::IdentifierLoc::IdentifierLoc ( SourceLocation L,
IdentifierInfo * Ident )
inline

Definition at line 1182 of file IdentifierTable.h.

Member Function Documentation

◆ getIdentifierInfo()

◆ getLoc()

◆ operator!=()

bool clang::IdentifierLoc::operator!= ( const IdentifierLoc & X) const
inline

Definition at line 1193 of file IdentifierTable.h.

References IdentifierLoc(), and X.

◆ operator==()

bool clang::IdentifierLoc::operator== ( const IdentifierLoc & X) const
inline

Definition at line 1189 of file IdentifierTable.h.

References IdentifierLoc(), and X.

◆ setIdentifierInfo()

void clang::IdentifierLoc::setIdentifierInfo ( IdentifierInfo * Ident)
inline

Definition at line 1185 of file IdentifierTable.h.

Referenced by transferARCOwnershipToDeclaratorChunk().

◆ setLoc()

void clang::IdentifierLoc::setLoc ( SourceLocation L)
inline

Definition at line 1184 of file IdentifierTable.h.


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