Home | History | Annotate | Download | only in AST

Lines Matching refs:SL

98   bool shouldMangleStringLiteral(const StringLiteral *SL) override;
138 void mangleStringLiteral(const StringLiteral *SL, raw_ostream &Out) override;
340 MicrosoftMangleContextImpl::shouldMangleStringLiteral(const StringLiteral *SL) {
341 return SL->isAscii() || SL->isWide();
2398 void MicrosoftMangleContextImpl::mangleStringLiteral(const StringLiteral *SL,
2425 if (SL->isAscii())
2427 else if (SL->isWide())
2437 Mangler.mangleNumber(SL->getByteLength() + SL->getCharByteWidth());
2461 auto GetLittleEndianByte = [&Mangler, &SL](unsigned Index) {
2462 unsigned CharByteWidth = SL->getCharByteWidth();
2463 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth);
2468 auto GetBigEndianByte = [&Mangler, &SL](unsigned Index) {
2469 unsigned CharByteWidth = SL->getCharByteWidth();
2470 uint32_t CodeUnit = SL->getCodeUnit(Index / CharByteWidth);
2476 for (unsigned I = 0, E = SL->getByteLength(); I != E; ++I)
2481 for (unsigned NullTerminator = 0; NullTerminator < SL->getCharByteWidth();
2550 unsigned NumCharsToMangle = std::min(32U, SL->getLength());
2551 for (unsigned I = 0, E = NumCharsToMangle * SL->getCharByteWidth(); I != E;
2557 for (unsigned NullTerminator = 0; NullTerminator < SL->getCharByteWidth();