clang API Documentation
#include <Sema.h>

Public Member Functions | |
| WeakInfo () | |
| WeakInfo (IdentifierInfo *Alias, SourceLocation Loc) | |
| IdentifierInfo * | getAlias () const |
| SourceLocation | getLocation () const |
| void | setUsed (bool Used=true) |
| bool | getUsed () |
| bool | operator== (WeakInfo RHS) const |
| bool | operator!= (WeakInfo RHS) const |
WeakUndeclaredIdentifiers - Identifiers contained in pragma weak before declared. rare. may alias another identifier, declared or undeclared
Definition at line 451 of file Sema.h.
| clang::Sema::WeakInfo::WeakInfo | ( | IdentifierInfo * | Alias, | |
| SourceLocation | Loc | |||
| ) | [inline] |
| 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] |
| 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().