clang 20.0.0git
Functions
TokenConcatenation.cpp File Reference
#include "clang/Lex/TokenConcatenation.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/Support/ErrorHandling.h"

Go to the source code of this file.

Functions

static bool IsStringPrefix (StringRef Str, bool CPlusPlus11)
 IsStringPrefix - Return true if Str is a string prefix.
 
static char GetFirstChar (const Preprocessor &PP, const Token &Tok)
 GetFirstChar - Get the first character of the token.
 

Function Documentation

◆ GetFirstChar()

static char GetFirstChar ( const Preprocessor PP,
const Token Tok 
)
static

◆ IsStringPrefix()

static bool IsStringPrefix ( StringRef  Str,
bool  CPlusPlus11 
)
static

IsStringPrefix - Return true if Str is a string prefix.

'L', 'u', 'U', or 'u8'. Including raw versions.

Definition at line 22 of file TokenConcatenation.cpp.

References clang::CPlusPlus11.