Go to the documentation of this file.
14 #ifndef LLVM_CLANG_SEMA_WEAK_H
15 #define LLVM_CLANG_SEMA_WEAK_H
18 #include "llvm/ADT/DenseMapInfo.h"
31 : alias(Alias), loc(Loc) {}
38 :
private llvm::DenseMapInfo<const IdentifierInfo *> {
46 return DenseMapInfo::getHashValue(W.
getAlias());
56 #endif // LLVM_CLANG_SEMA_WEAK_H
bool operator==(WeakInfo RHS) const =delete
static bool isEqual(const WeakInfo &LHS, const WeakInfo &RHS)
Encodes a location in the source.
const IdentifierInfo * getAlias() const
static WeakInfo getTombstoneKey()
static WeakInfo getEmptyKey()
bool operator!=(WeakInfo RHS) const =delete
Captures information about a #pragma weak directive.
SourceLocation getLocation() const
One of these records is kept for each identifier that is lexed.
WeakInfo(const IdentifierInfo *Alias, SourceLocation Loc)
static unsigned getHashValue(const WeakInfo &W)