reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Lex/LiteralSupport.h
  243     return GetStringLength() / CharByteWidth;
tools/clang/lib/Lex/LiteralSupport.cpp
 1516   CharByteWidth = getCharWidth(Kind, Target);
 1517   assert((CharByteWidth & 7) == 0 && "Assumes character size is byte multiple");
 1518   CharByteWidth /= 8;
 1522   SizeBound *= CharByteWidth;
 1678                           CharByteWidth, Diags, Features);
 1685                             CharByteWidth*8, Diags, Features);
 1687         if (CharByteWidth == 4) {
 1693         } else if (CharByteWidth == 2) {
 1700           assert(CharByteWidth == 1 && "Unexpected char width");
 1708     if (CharByteWidth == 4) {
 1713     } else if (CharByteWidth == 2) {
 1719       assert(CharByteWidth == 1 && "Unexpected char width");
 1763   if (ConvertUTF8toWide(CharByteWidth, Fragment, ResultPtr, ErrorPtrTmp))
 1790     Dummy.reserve(Fragment.size() * CharByteWidth);
 1793     while (!ConvertUTF8toWide(CharByteWidth, NextFragment, Ptr, ErrorPtrTmp)) {
 1880                         CharByteWidth*8, Diags, Features);