clang API Documentation

clang::Sema::WeakInfo Class Reference

#include <Sema.h>

Collaboration diagram for clang::Sema::WeakInfo:
Collaboration graph
[legend]

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

WeakUndeclaredIdentifiers - Identifiers contained in pragma weak before declared. rare. may alias another identifier, declared or undeclared

Definition at line 451 of file Sema.h.


Constructor & Destructor Documentation

clang::Sema::WeakInfo::WeakInfo (  )  [inline]

Definition at line 456 of file Sema.h.

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

Definition at line 458 of file Sema.h.


Member Function Documentation

IdentifierInfo* clang::Sema::WeakInfo::getAlias (  )  const [inline]

Definition at line 460 of file Sema.h.

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

SourceLocation clang::Sema::WeakInfo::getLocation (  )  const [inline]

Definition at line 461 of file Sema.h.

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

bool clang::Sema::WeakInfo::getUsed (  )  [inline]

Definition at line 463 of file Sema.h.

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

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

Definition at line 467 of file Sema.h.

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

Definition at line 464 of file Sema.h.

References getAlias(), and getLocation().

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

Definition at line 462 of file Sema.h.

References Used.

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


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