clang 20.0.0git
|
Defines the clang::IdentifierInfo, clang::IdentifierTable, and clang::Selector interfaces. More...
#include "clang/Basic/Builtins.h"
#include "clang/Basic/DiagnosticIDs.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
#include "llvm/Support/type_traits.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <string>
#include <utility>
#include "clang/Basic/TokenKinds.def"
#include "clang/Basic/Builtins.inc"
Go to the source code of this file.
Classes | |
class | clang::IdentifierInfo |
One of these records is kept for each identifier that is lexed. More... | |
class | clang::PoisonIdentifierRAIIObject |
An RAII object for [un]poisoning an identifier within a scope. More... | |
class | clang::IdentifierIterator |
An iterator that walks over all of the known identifiers in the lookup table. More... | |
class | clang::IdentifierInfoLookup |
Provides lookups to, and iteration over, IdentiferInfo objects. More... | |
class | clang::IdentifierTable |
Implements an efficient mapping from strings to IdentifierInfo nodes. More... | |
class | clang::detail::DeclarationNameExtra |
DeclarationNameExtra is used as a base of various uncommon special names. More... | |
class | clang::MultiKeywordSelector |
One of these variable length records is kept for each selector containing more than one keyword. More... | |
class | clang::Selector |
Smart pointer class that efficiently represents Objective-C method names. More... | |
class | clang::SelectorTable |
This table allows us to fully hide how we implement multi-keyword caching. More... | |
struct | llvm::DenseMapInfo< clang::Selector > |
Define DenseMapInfo so that Selectors can be used as keys in DenseMap and DenseSets. More... | |
struct | llvm::PointerLikeTypeTraits< clang::Selector > |
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
namespace | clang::detail |
namespace | llvm |
Diagnostic wrappers for TextAPI types for error reporting. | |
Macros | |
#define | OBJC_AT_KEYWORD(X) objc_##X, |
#define | NOTABLE_IDENTIFIER(X) X, |
#define | BUILTIN(ID, TYPE, ATTRS) BI##ID, |
Typedefs | |
using | clang::IdentifierLocPair = std::pair< IdentifierInfo *, SourceLocation > |
A simple pair of identifier info and location. | |
Functions | |
bool | clang::isReservedAtGlobalScope (ReservedIdentifierStatus Status) |
Determine whether an identifier is reserved for use as a name at global scope. | |
bool | clang::isReservedInAllContexts (ReservedIdentifierStatus Status) |
Determine whether an identifier is reserved in all contexts. | |
Variables | |
static constexpr int | clang::InterestingIdentifierBits = 16 |
Defines the clang::IdentifierInfo, clang::IdentifierTable, and clang::Selector interfaces.
Definition in file IdentifierTable.h.
Definition at line 104 of file IdentifierTable.h.
Definition at line 99 of file IdentifierTable.h.
Definition at line 95 of file IdentifierTable.h.