clang 22.0.0git
Public Member Functions | List of all members
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

◆ IdentifierLoc() [2/2]

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

Definition at line 1182 of file IdentifierTable.h.

Member Function Documentation

◆ getIdentifierInfo()

IdentifierInfo * clang::IdentifierLoc::getIdentifierInfo ( ) const
inline

◆ getLoc()

SourceLocation clang::IdentifierLoc::getLoc ( ) const
inline

◆ operator!=()

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

Definition at line 1193 of file IdentifierTable.h.

References Loc, and X.

◆ operator==()

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

Definition at line 1189 of file IdentifierTable.h.

References Loc, 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.

References Loc.


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