Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DLexer.cpp2302 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2304 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2305 --EscapePtr; in SkipLineComment()
2309 if (*EscapePtr == '\\') in SkipLineComment()
2311 CurPtr = EscapePtr; in SkipLineComment()
2312 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()
2313 EscapePtr[-2] == '?' && LangOpts.Trigraphs) in SkipLineComment()
2315 CurPtr = EscapePtr-2; in SkipLineComment()
2321 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
H A DLiteralSupport.cpp1921 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
1926 SpellingPtr = EscapePtr; in getOffsetOfStringByte()