clang: include/clang/Lex/PPEmbedParameters.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13#ifndef LLVM_CLANG_LEX_PPEMBEDPARAMETERS_H
14#define LLVM_CLANG_LEX_PPEMBEDPARAMETERS_H
15
18#include "llvm/ADT/SmallVector.h"
19
21
22
23
25public:
27
30};
31
32
33
35public:
37
40};
41
42
43
45public:
47
50};
51
52
53
55public:
57
60};
61
62
63
65public:
67
70};
71
79
83 return 0;
84 }
88 return 0;
89 }
90};
91}
92
93#endif
Captures basic information about a preprocessor directive parameter.
Preprocessor standard embed parameter "if_empty" if_empty( balanced-token-seq )
SmallVector< Token, 2 > Tokens
PPEmbedParameterIfEmpty(SmallVectorImpl< Token > &&Tokens, SourceRange R)
Preprocessor standard embed parameter "limit" limit( constant-expression )
PPEmbedParameterLimit(size_t Limit, SourceRange R)
Preprocessor extension embed parameter "clang::offset" clang::offset( constant-expression )
PPEmbedParameterOffset(size_t Offset, SourceRange R)
Preprocessor standard embed parameter "prefix" prefix( balanced-token-seq )
SmallVector< Token, 2 > Tokens
PPEmbedParameterPrefix(SmallVectorImpl< Token > &&Tokens, SourceRange R)
Preprocessor standard embed parameter "suffix" suffix( balanced-token-seq )
PPEmbedParameterSuffix(SmallVectorImpl< Token > &&Tokens, SourceRange R)
SmallVector< Token, 2 > Tokens
A trivial tuple used to represent a source range.
The JSON file list parser is used to communicate input to InstallAPI.
std::optional< PPEmbedParameterIfEmpty > MaybeIfEmptyParam
std::optional< PPEmbedParameterOffset > MaybeOffsetParam
size_t SuffixTokenCount() const
std::optional< PPEmbedParameterLimit > MaybeLimitParam
std::optional< PPEmbedParameterSuffix > MaybeSuffixParam
std::optional< PPEmbedParameterPrefix > MaybePrefixParam
size_t PrefixTokenCount() const