Lines Matching refs:Spelling
168 /// spelling loc that indicates the bytes to be lexed for the token and an
240 // Token Spelling
244 /// spelling of this token from the provided input buffer.
246 const LangOptions &LangOpts, char *Spelling) {
256 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
259 if (Spelling[Length - 1] == '"')
267 Spelling[Length - 2] == 'R' && Spelling[Length - 1] == '"') {
274 // Everything between the quotes is included verbatim in the spelling.
275 memcpy(Spelling + Length, BufPtr, RawLength);
285 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
294 /// getSpelling() - Return the 'spelling' of this token. The spelling of a
297 /// wants to get the true, uncanonicalized, spelling of things like digraphs
335 /// getSpelling() - Return the 'spelling' of this token. The spelling of a
338 /// wants to get the true, uncanonicalized, spelling of things like digraphs
362 /// getSpelling - This method is used to get the spelling of a token into a
994 // If spelling location resides in the same FileID as macro expansion
1004 // Find the spelling location of the start of the non-argument expansion
1039 // spelling location.
1043 // characters come from spelling(FileLoc)+Offset.
2064 std::string Spelling = PP->getSpelling(Result, &Invalid);
2068 assert(Spelling[0] == '/' && Spelling[1] == '/' && "Not line comment?");
2069 Spelling[1] = '*'; // Change prefix to "/*".
2070 Spelling += "*/"; // add suffix.
2073 PP->CreateString(Spelling, Result,