Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/AST/
H A DCommentLexer.cpp230 const char *EscapePtr = CurPtr - 1; in findBCPLCommentEnd() local
231 while(isHorizontalWhitespace(*EscapePtr)) in findBCPLCommentEnd()
232 EscapePtr--; in findBCPLCommentEnd()
234 if (*EscapePtr == '\\' || in findBCPLCommentEnd()
235 (EscapePtr - 2 >= BufferPtr && EscapePtr[0] == '/' && in findBCPLCommentEnd()
236 EscapePtr[-1] == '?' && EscapePtr[-2] == '?')) { in findBCPLCommentEnd()
/openbsd/gnu/llvm/clang/lib/Lex/
H A DLexer.cpp2491 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2493 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2494 --EscapePtr; in SkipLineComment()
2498 if (*EscapePtr == '\\') in SkipLineComment()
2500 CurPtr = EscapePtr; in SkipLineComment()
2501 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()
2502 EscapePtr[-2] == '?' && LangOpts.Trigraphs) in SkipLineComment()
2504 CurPtr = EscapePtr-2; in SkipLineComment()
2510 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
H A DLiteralSupport.cpp2269 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
2274 SpellingPtr = EscapePtr; in getOffsetOfStringByte()