Searched refs:EscapePtr (Results 1 – 6 of 6) sorted by relevance
249 const char *EscapePtr = CurPtr - 1; in findBCPLCommentEnd() local250 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()
250 const char *EscapePtr = CurPtr - 1; in findBCPLCommentEnd() local251 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()
2072 const char *EscapePtr = CurPtr-1; in SkipLineComment() local2074 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()
1680 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local1685 SpellingPtr = EscapePtr; in getOffsetOfStringByte()
2300 const char *EscapePtr = CurPtr-1; in SkipLineComment() local2302 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()2303 --EscapePtr; in SkipLineComment()2307 if (*EscapePtr == '\\') in SkipLineComment()2309 CurPtr = EscapePtr; in SkipLineComment()2310 else if (EscapePtr[0] == '/' && EscapePtr[-1] == '?' && in SkipLineComment()2311 EscapePtr[-2] == '?' && LangOpts.Trigraphs) in SkipLineComment()2313 CurPtr = EscapePtr-2; in SkipLineComment()2319 Diag(EscapePtr, diag::backslash_newline_space); in SkipLineComment()
1889 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local1894 SpellingPtr = EscapePtr; in getOffsetOfStringByte()