clang 22.0.0git
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]

◆ WeakInfo() [2/2]

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

Definition at line 30 of file Weak.h.

Member Function Documentation

◆ getAlias()

◆ 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

References WeakInfo().

◆ operator==()

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

References WeakInfo().


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