clang: include/clang/Analysis/SelectorExtras.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9#ifndef LLVM_CLANG_ANALYSIS_SELECTOREXTRAS_H
10#define LLVM_CLANG_ANALYSIS_SELECTOREXTRAS_H
11
13
15
16template <typename... IdentifierInfos>
18 const IdentifierInfos *...IIs) {
19 static_assert(sizeof...(IdentifierInfos) > 0,
20 "keyword selectors must have at least one argument");
22
24}
25
26template <typename... IdentifierInfos>
28 IdentifierInfos *... IIs) {
30 return;
32}
33
34}
35
36#endif
Defines the clang::ASTContext interface.
Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...
SelectorTable & Selectors
IdentifierInfo & get(StringRef Name)
Return the identifier token info for the specified named identifier.
Selector getSelector(unsigned NumArgs, const IdentifierInfo **IIV)
Can create any sort of selector.
Smart pointer class that efficiently represents Objective-C method names.
bool isNull() const
Determine whether this is the empty selector.
The JSON file list parser is used to communicate input to InstallAPI.
static Selector getKeywordSelector(ASTContext &Ctx, const IdentifierInfos *...IIs)
static void lazyInitKeywordSelector(Selector &Sel, ASTContext &Ctx, IdentifierInfos *... IIs)