Home | History | Annotate | Download | only in Lex

Lines Matching defs:FilenameBuffer

1312 bool Preprocessor::ConcatenateIncludeName(SmallString<128> &FilenameBuffer,
1330 FilenameBuffer.push_back(' ');
1332 // Get the spelling of the token, directly into FilenameBuffer if possible.
1333 unsigned PreAppendSize = FilenameBuffer.size();
1334 FilenameBuffer.resize(PreAppendSize+CurTok.getLength());
1336 const char *BufPtr = &FilenameBuffer[PreAppendSize];
1339 // If the token was spelled somewhere else, copy it into FilenameBuffer.
1340 if (BufPtr != &FilenameBuffer[PreAppendSize])
1341 memcpy(&FilenameBuffer[PreAppendSize], BufPtr, ActualLen);
1343 // Resize FilenameBuffer to the correct size.
1345 FilenameBuffer.resize(PreAppendSize+ActualLen);
1387 SmallString<128> FilenameBuffer;
1399 Filename = getSpelling(FilenameTok, FilenameBuffer);
1406 // case, glue the tokens together into FilenameBuffer and interpret those.
1407 FilenameBuffer.push_back('<');
1408 if (ConcatenateIncludeName(FilenameBuffer, End))
1410 Filename = FilenameBuffer.str();