|
clang
5.0.0
|
#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. More... | |
| static char | GetFirstChar (Preprocessor &PP, const Token &Tok) |
| GetFirstChar - Get the first character of the token. More... | |
|
static |
GetFirstChar - Get the first character of the token.
Definition at line 125 of file TokenConcatenation.cpp.
References Buffer, clang::SourceManager::getCharacterData(), clang::Token::getIdentifierInfo(), clang::Token::getLength(), clang::Token::getLiteralData(), clang::Token::getLocation(), clang::Preprocessor::getSourceManager(), clang::Preprocessor::getSpelling(), clang::SourceManager::getSpellingLoc(), clang::Token::isLiteral(), and clang::Token::needsCleaning().
Referenced by clang::TokenConcatenation::AvoidConcat().
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.
1.8.6