clang API Documentation

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"
Include dependency graph for TokenConcatenation.cpp:

Go to the source code of this file.

Functions

static bool IsStringPrefix (StringRef Str, bool CPlusPlus11)
static char GetFirstChar (Preprocessor &PP, const Token &Tok)

Function Documentation

static char GetFirstChar ( Preprocessor PP,
const Token Tok 
) [static]
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 23 of file TokenConcatenation.cpp.

References clang::frontend::CPlusPlus11.