Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DCommentLexer.cpp249 const char *EscapePtr = CurPtr - 1; in findBCPLCommentEnd() local
250 while(isHorizontalWhitespace(*EscapePtr)) in findBCPLCommentEnd()
251 EscapePtr--; in findBCPLCommentEnd()
253 if (*EscapePtr == '\\' || in findBCPLCommentEnd()
254 (EscapePtr - 2 >= BufferPtr && EscapePtr[0] == '/' && in findBCPLCommentEnd()
255 EscapePtr[-1] == '?' && EscapePtr[-2] == '?')) { in findBCPLCommentEnd()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp2317 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2319 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2320 --EscapePtr; in SkipLineComment()
2324 if (*EscapePtr == '\\') in SkipLineComment()
2326 CurPtr = EscapePtr; in SkipLineComment()
2327 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()
2328 EscapePtr[-2] == '?' && LangOpts.Trigraphs) in SkipLineComment()
2330 CurPtr = EscapePtr-2; in SkipLineComment()
2336 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
H A DLiteralSupport.cpp1922 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
1927 SpellingPtr = EscapePtr; in getOffsetOfStringByte()