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

References

tools/clang/lib/Lex/Lexer.cpp
 2498   unsigned char C = getCharAndSize(CurPtr, CharSize);
 2499   CurPtr += CharSize;
 2500   if (C == 0 && CurPtr == BufferEnd+1) {
 2503     --CurPtr;
 2508       FormTokenWithChars(Result, CurPtr, tok::unknown);
 2512     BufferPtr = CurPtr;
 2519     C = *CurPtr++;
 2524     if (CurPtr + 24 < BufferEnd &&
 2529       while (C != '/' && ((intptr_t)CurPtr & 0x0F) != 0)
 2530         C = *CurPtr++;
 2536       while (CurPtr+16 <= BufferEnd) {
 2537         int cmp = _mm_movemask_epi8(_mm_cmpeq_epi8(*(const __m128i*)CurPtr,
 2543           CurPtr += llvm::countTrailingZeros<unsigned>(cmp) + 1;
 2546         CurPtr += 16;
 2568       C = *CurPtr++;
 2573       C = *CurPtr++;
 2577       if (CurPtr[-2] == '*')  // We found the final */.  We're done!
 2580       if ((CurPtr[-2] == '\n' || CurPtr[-2] == '\r')) {
 2580       if ((CurPtr[-2] == '\n' || CurPtr[-2] == '\r')) {
 2581         if (isEndOfBlockCommentWithEscapedNewLine(CurPtr-2, this)) {
 2587       if (CurPtr[0] == '*' && CurPtr[1] != '/') {
 2587       if (CurPtr[0] == '*' && CurPtr[1] != '/') {
 2592           Diag(CurPtr-1, diag::warn_nested_block_comment);
 2594     } else if (C == 0 && CurPtr == BufferEnd+1) {
 2600       --CurPtr;
 2605         FormTokenWithChars(Result, CurPtr, tok::unknown);
 2609       BufferPtr = CurPtr;
 2611     } else if (C == '\0' && isCodeCompletionPoint(CurPtr-1)) {
 2617     C = *CurPtr++;
 2623                                             getSourceLocation(CurPtr)))) {
 2624     BufferPtr = CurPtr;
 2630     FormTokenWithChars(Result, CurPtr, tok::comment);
 2638   if (isHorizontalWhitespace(*CurPtr)) {
 2639     SkipWhitespace(Result, CurPtr+1, TokAtPhysicalStartOfLine);
 2644   BufferPtr = CurPtr;