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());
Defines the clang::SourceLocation class and associated facilities.
One of these records is kept for each identifier that is lexed.
Encodes a location in the source.
Captures information about a #pragma weak directive.
bool operator!=(WeakInfo RHS) const =delete
const IdentifierInfo * getAlias() const
bool operator==(WeakInfo RHS) const =delete
SourceLocation getLocation() const
WeakInfo(const IdentifierInfo *Alias, SourceLocation Loc)
The JSON file list parser is used to communicate input to InstallAPI.
static bool isEqual(const WeakInfo &LHS, const WeakInfo &RHS)
static WeakInfo getTombstoneKey()
static WeakInfo getEmptyKey()
static unsigned getHashValue(const WeakInfo &W)