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.cpp2044 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2046 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2047 --EscapePtr; in SkipLineComment()
2051 if (*EscapePtr == '\\') // Escaped newline. in SkipLineComment()
2052 CurPtr = EscapePtr; in SkipLineComment()
2053 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()
2054 EscapePtr[-2] == '?') // Trigraph-escaped newline. in SkipLineComment()
2055 CurPtr = EscapePtr-2; in SkipLineComment()
2061 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
DLiteralSupport.cpp1666 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
1671 SpellingPtr = EscapePtr; in getOffsetOfStringByte()