Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/AST/
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()
/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()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp2300 const char *EscapePtr = CurPtr-1; in SkipLineComment() local
2302 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()
DLiteralSupport.cpp1889 const char *EscapePtr = SpellingPtr; in getOffsetOfStringByte() local
1894 SpellingPtr = EscapePtr; in getOffsetOfStringByte()