Home | History | Annotate | Download | only in Lex

Lines Matching refs:Spelling

160 /// spelling loc that indicates the bytes to be lexed for the token and an
232 // Token Spelling
236 /// spelling of this token from the provided input buffer.
238 const LangOptions &LangOpts, char *Spelling) {
248 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
251 if (Spelling[Length - 1] == '"')
259 Spelling[Length - 2] == 'R' && Spelling[Length - 1] == '"') {
266 // Everything between the quotes is included verbatim in the spelling.
267 memcpy(Spelling + Length, BufPtr, RawLength);
277 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
286 /// getSpelling() - Return the 'spelling' of this token. The spelling of a
289 /// wants to get the true, uncanonicalized, spelling of things like digraphs
327 /// getSpelling() - Return the 'spelling' of this token. The spelling of a
330 /// wants to get the true, uncanonicalized, spelling of things like digraphs
354 /// getSpelling - This method is used to get the spelling of a token into a
986 // If spelling location resides in the same FileID as macro expansion
996 // Find the spelling location of the start of the non-argument expansion
1031 // spelling location.
1035 // characters come from spelling(FileLoc)+Offset.
2164 std::string Spelling = PP->getSpelling(Result, &Invalid);
2168 assert(Spelling[0] == '/' && Spelling[1] == '/' && "Not line comment?");
2169 Spelling[1] = '*'; // Change prefix to "/*".
2170 Spelling += "*/"; // add suffix.
2173 PP->CreateString(Spelling, Result,