Home | History | Annotate | Download | only in Lex

Lines Matching defs:FilenameBuffer

1391 bool Preprocessor::ConcatenateIncludeName(SmallString<128> &FilenameBuffer,
1409 FilenameBuffer.push_back(' ');
1411 // Get the spelling of the token, directly into FilenameBuffer if possible.
1412 unsigned PreAppendSize = FilenameBuffer.size();
1413 FilenameBuffer.resize(PreAppendSize+CurTok.getLength());
1415 const char *BufPtr = &FilenameBuffer[PreAppendSize];
1418 // If the token was spelled somewhere else, copy it into FilenameBuffer.
1419 if (BufPtr != &FilenameBuffer[PreAppendSize])
1420 memcpy(&FilenameBuffer[PreAppendSize], BufPtr, ActualLen);
1422 // Resize FilenameBuffer to the correct size.
1424 FilenameBuffer.resize(PreAppendSize+ActualLen);
1514 SmallString<128> FilenameBuffer;
1526 Filename = getSpelling(FilenameTok, FilenameBuffer);
1533 // case, glue the tokens together into FilenameBuffer and interpret those.
1534 FilenameBuffer.push_back('<');
1535 if (ConcatenateIncludeName(FilenameBuffer, End))
1537 Filename = FilenameBuffer;