Home
last modified time | relevance | path

Searched refs:EscapePtr (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp239 const char *EscapePtr = CurPtr - 1; in findBCPLCommentEnd() local
240 while(isHorizontalWhitespace(*EscapePtr)) in findBCPLCommentEnd()
241 EscapePtr--; in findBCPLCommentEnd()
243 if (*EscapePtr == '\\' || in findBCPLCommentEnd()
244 (EscapePtr - 2 >= BufferPtr && EscapePtr[0] == '/' && in findBCPLCommentEnd()
245 EscapePtr[-1] == '?' && EscapePtr[-2] == '?')) { in findBCPLCommentEnd()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp2638 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2640 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2641 --EscapePtr; in SkipLineComment()
2645 if (*EscapePtr == '\\') in SkipLineComment()
2647 CurPtr = EscapePtr; in SkipLineComment()
2648 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()
2649 EscapePtr[-2] == '?' && LangOpts.Trigraphs) in SkipLineComment()
2651 CurPtr = EscapePtr-2; in SkipLineComment()
2657 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
H A DLiteralSupport.cpp2445 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
2450 SpellingPtr = EscapePtr; in getOffsetOfStringByte()