clang API Documentation
Captures information about a #pragma weak directive. More...
#include <Weak.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 |
| clang::WeakInfo::WeakInfo | ( | ) | [inline] |
| clang::WeakInfo::WeakInfo | ( | IdentifierInfo * | Alias, |
| SourceLocation | Loc | ||
| ) | [inline] |
| IdentifierInfo* clang::WeakInfo::getAlias | ( | ) | const [inline] |
Definition at line 34 of file Weak.h.
Referenced by clang::Sema::DeclApplyPragmaWeak(), and operator==().
| SourceLocation clang::WeakInfo::getLocation | ( | ) | const [inline] |
Definition at line 35 of file Weak.h.
Referenced by clang::Sema::DeclApplyPragmaWeak(), and operator==().
| bool clang::WeakInfo::getUsed | ( | ) | [inline] |
Definition at line 37 of file Weak.h.
Referenced by clang::Sema::DeclApplyPragmaWeak().
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().