Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DCommentLexer.cpp241 const char *EscapePtr = CurPtr - 1; in findBCPLCommentEnd() local
242 while(isHorizontalWhitespace(*EscapePtr)) in findBCPLCommentEnd()
243 EscapePtr--; in findBCPLCommentEnd()
245 if (*EscapePtr == '\\' || in findBCPLCommentEnd()
246 (EscapePtr - 2 >= BufferPtr && EscapePtr[0] == '/' && in findBCPLCommentEnd()
247 EscapePtr[-1] == '?' && EscapePtr[-2] == '?')) { in findBCPLCommentEnd()
/external/clang/lib/Lex/
DLexer.cpp2040 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2042 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2043 --EscapePtr; in SkipLineComment()
2047 if (*EscapePtr == '\\') // Escaped newline. in SkipLineComment()
2048 CurPtr = EscapePtr; in SkipLineComment()
2049 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()
2050 EscapePtr[-2] == '?') // Trigraph-escaped newline. in SkipLineComment()
2051 CurPtr = EscapePtr-2; in SkipLineComment()
2057 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
DLiteralSupport.cpp1657 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
1662 SpellingPtr = EscapePtr; in getOffsetOfStringByte()