clang API Documentation

Public Member Functions
clang::WeakInfo Class Reference

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

#include <Weak.h>

List of all members.

Public Member Functions

 WeakInfo ()
 WeakInfo (IdentifierInfo *Alias, SourceLocation Loc)
IdentifierInfogetAlias () const
SourceLocation getLocation () const
void setUsed (bool Used=true)
bool getUsed ()
bool operator== (WeakInfo RHS) const
bool operator!= (WeakInfo RHS) const

Detailed Description

Captures information about a #pragma weak directive.

Definition at line 25 of file Weak.h.


Constructor & Destructor Documentation

Definition at line 30 of file Weak.h.

clang::WeakInfo::WeakInfo ( IdentifierInfo Alias,
SourceLocation  Loc 
) [inline]

Definition at line 32 of file Weak.h.


Member Function Documentation

Definition at line 34 of file Weak.h.

Referenced by clang::Sema::DeclApplyPragmaWeak(), and operator==().

Definition at line 35 of file Weak.h.

Referenced by clang::Sema::DeclApplyPragmaWeak(), and operator==().

Definition at line 37 of file Weak.h.

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

bool clang::WeakInfo::operator!= ( WeakInfo  RHS) const [inline]

Definition at line 41 of file Weak.h.

bool clang::WeakInfo::operator== ( WeakInfo  RHS) const [inline]

Definition at line 38 of file Weak.h.

References getAlias(), and getLocation().

void clang::WeakInfo::setUsed ( bool  Used = true) [inline]

Definition at line 36 of file Weak.h.

References Used.

Referenced by clang::Sema::DeclApplyPragmaWeak(), and clang::ASTReader::ReadWeakUndeclaredIdentifiers().


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