13#ifndef LLVM_CLANG_LEX_PPEMBEDPARAMETERS_H
14#define LLVM_CLANG_LEX_PPEMBEDPARAMETERS_H
18#include "llvm/ADT/SmallVector.h"
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