clang 19.0.0git
Classes | Public Member Functions | List of all members
clang::WeakInfo Class Reference

Captures information about a #pragma weak directive. More...

#include "clang/Sema/Weak.h"

Classes

struct  DenseMapInfoByAliasOnly
 

Public Member Functions

 WeakInfo ()=default
 
 WeakInfo (const IdentifierInfo *Alias, SourceLocation Loc)
 
const IdentifierInfogetAlias () const
 
SourceLocation getLocation () const
 
bool operator== (WeakInfo RHS) const =delete
 
bool operator!= (WeakInfo RHS) const =delete
 

Detailed Description

Captures information about a #pragma weak directive.

Definition at line 25 of file Weak.h.

Constructor & Destructor Documentation

◆ WeakInfo() [1/2]

clang::WeakInfo::WeakInfo ( )
default

◆ WeakInfo() [2/2]

clang::WeakInfo::WeakInfo ( const IdentifierInfo Alias,
SourceLocation  Loc 
)
inline

Definition at line 30 of file Weak.h.

Member Function Documentation

◆ getAlias()

const IdentifierInfo * clang::WeakInfo::getAlias ( ) const
inline

◆ getLocation()

SourceLocation clang::WeakInfo::getLocation ( ) const
inline

Definition at line 33 of file Weak.h.

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

◆ operator!=()

bool clang::WeakInfo::operator!= ( WeakInfo  RHS) const
delete

◆ operator==()

bool clang::WeakInfo::operator== ( WeakInfo  RHS) const
delete

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