Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DCommentLexer.cpp250 const char *EscapePtr = CurPtr - 1; in findBCPLCommentEnd() local
251 while(isHorizontalWhitespace(*EscapePtr)) in findBCPLCommentEnd()
252 EscapePtr--; in findBCPLCommentEnd()
254 if (*EscapePtr == '\\' || in findBCPLCommentEnd()
255 (EscapePtr - 2 >= BufferPtr && EscapePtr[0] == '/' && in findBCPLCommentEnd()
256 EscapePtr[-1] == '?' && EscapePtr[-2] == '?')) { in findBCPLCommentEnd()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DLexer.cpp2266 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2268 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2269 --EscapePtr; in SkipLineComment()
2273 if (*EscapePtr == '\\') in SkipLineComment()
2275 CurPtr = EscapePtr; in SkipLineComment()
2276 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()
2277 EscapePtr[-2] == '?' && LangOpts.Trigraphs) in SkipLineComment()
2279 CurPtr = EscapePtr-2; in SkipLineComment()
2285 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
H A DLiteralSupport.cpp1866 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
1871 SpellingPtr = EscapePtr; in getOffsetOfStringByte()