DeclarationNameExtra is used as a base of various uncommon special names. More...
#include "clang/Basic/IdentifierTable.h"
DeclarationNameExtra is used as a base of various uncommon special names.
This class is needed since DeclarationName has not enough space to store the kind of every possible names. Therefore the kind of common names is stored directly in DeclarationName, and the kind of uncommon names is stored in DeclarationNameExtra. It is aligned to 8 bytes because DeclarationName needs the lower 3 bits to store the kind of common names. DeclarationNameExtra is tightly coupled to DeclarationName and any change here is very likely to require changes in DeclarationName(Table).
Definition at line 853 of file IdentifierTable.h.
◆ ExtraKindThe kind of "extra" information stored in the DeclarationName.
See ExtraKindOrNumArgs
for an explanation of how these enumerator values are used. Note that DeclarationName depends on the numerical values of the enumerators in this enum. See DeclarationName::StoredNameKind for more info.
Definition at line 863 of file IdentifierTable.h.
◆ DeclarationNameExtra() [1/2] ◆ DeclarationNameExtra() [2/2] clang::detail::DeclarationNameExtra::DeclarationNameExtra ( unsigned NumArgs ) inlineprotectedDefinition at line 883 of file IdentifierTable.h.
◆ getKind() ExtraKind clang::detail::DeclarationNameExtra::getKind ( ) const inlineprotected ◆ getNumArgs() unsigned clang::detail::DeclarationNameExtra::getNumArgs ( ) const inlineprotected ◆ clang::DeclarationName ◆ clang::DeclarationNameTable ◆ ExtraKindOrNumArgs unsigned clang::detail::DeclarationNameExtra::ExtraKindOrNumArgs protectedThe documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4