Home
last modified time | relevance | path

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

/external/clang/lib/AST/
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()
/external/clang/lib/Lex/
DLexer.cpp2072 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2074 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2075 --EscapePtr; in SkipLineComment()
2079 if (*EscapePtr == '\\') // Escaped newline. in SkipLineComment()
2080 CurPtr = EscapePtr; in SkipLineComment()
2081 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()
2082 EscapePtr[-2] == '?') // Trigraph-escaped newline. in SkipLineComment()
2083 CurPtr = EscapePtr-2; in SkipLineComment()
2089 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
DLiteralSupport.cpp1680 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
1685 SpellingPtr = EscapePtr; in getOffsetOfStringByte()