Home
last modified time | relevance | path

Searched refs:isHorizontalWhitespace (Results 1 – 13 of 13) sorted by relevance

/external/clang/unittests/Basic/
DCharInfoTest.cpp94 TEST(CharInfoTest, isHorizontalWhitespace) { in TEST() argument
95 EXPECT_FALSE(isHorizontalWhitespace('a')); in TEST()
96 EXPECT_FALSE(isHorizontalWhitespace('_')); in TEST()
97 EXPECT_FALSE(isHorizontalWhitespace('0')); in TEST()
98 EXPECT_FALSE(isHorizontalWhitespace('.')); in TEST()
99 EXPECT_FALSE(isHorizontalWhitespace('`')); in TEST()
100 EXPECT_FALSE(isHorizontalWhitespace('\0')); in TEST()
101 EXPECT_FALSE(isHorizontalWhitespace('\x7f')); in TEST()
103 EXPECT_TRUE(isHorizontalWhitespace(' ')); in TEST()
104 EXPECT_TRUE(isHorizontalWhitespace('\t')); in TEST()
[all …]
/external/llvm-project/clang/unittests/Basic/
DCharInfoTest.cpp93 TEST(CharInfoTest, isHorizontalWhitespace) { in TEST() argument
94 EXPECT_FALSE(isHorizontalWhitespace('a')); in TEST()
95 EXPECT_FALSE(isHorizontalWhitespace('_')); in TEST()
96 EXPECT_FALSE(isHorizontalWhitespace('0')); in TEST()
97 EXPECT_FALSE(isHorizontalWhitespace('.')); in TEST()
98 EXPECT_FALSE(isHorizontalWhitespace('`')); in TEST()
99 EXPECT_FALSE(isHorizontalWhitespace('\0')); in TEST()
100 EXPECT_FALSE(isHorizontalWhitespace('\x7f')); in TEST()
102 EXPECT_TRUE(isHorizontalWhitespace(' ')); in TEST()
103 EXPECT_TRUE(isHorizontalWhitespace('\t')); in TEST()
[all …]
/external/clang/include/clang/Basic/
DCharInfo.h71 LLVM_READONLY static inline bool isHorizontalWhitespace(unsigned char c) { in isHorizontalWhitespace() function
/external/llvm-project/clang/include/clang/Basic/
DCharInfo.h70 LLVM_READONLY inline bool isHorizontalWhitespace(unsigned char c) { in isHorizontalWhitespace() function
/external/llvm-project/clang/lib/Lex/
DDependencyDirectivesSourceMinimizer.cpp118 while (First != End && isHorizontalWhitespace(*First)) in skipOverSpaces()
268 while (First != Last && isHorizontalWhitespace(Last[-1])) in findLastNonSpace()
278 assert(isHorizontalWhitespace(LastNonSpace[0])); in findFirstTrailingSpace()
DLexer.cpp1068 while (Str > BufferStart && isHorizontalWhitespace(*Str)) in isNewLineEscaped()
1286 while (isHorizontalWhitespace(C)) { in findLocationAfterToken()
2214 while (isHorizontalWhitespace(Char)) in SkipWhitespace()
2302 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2459 while (isHorizontalWhitespace(*CurPtr) || *CurPtr == 0) { in isEndOfBlockCommentWithEscapedNewLine()
2665 if (isHorizontalWhitespace(*CurPtr)) { in SkipBlockComment()
3329 } else if (isHorizontalWhitespace(*CurPtr)) { in LexTokenInternal()
/external/clang/lib/AST/
DCommentLexer.cpp109 while (isHorizontalWhitespace(C)) { in skipLineStartingDecorations()
251 while(isHorizontalWhitespace(*EscapePtr)) in findBCPLCommentEnd()
DRawCommentList.cpp96 if (!isHorizontalWhitespace(C)) in onlyWhitespaceOnLineBefore()
/external/llvm-project/clang/lib/AST/
DCommentLexer.cpp108 while (isHorizontalWhitespace(C)) { in skipLineStartingDecorations()
250 while(isHorizontalWhitespace(*EscapePtr)) in findBCPLCommentEnd()
DRawCommentList.cpp96 if (!isHorizontalWhitespace(C)) in onlyWhitespaceOnLineBefore()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DBracesAroundStatementsCheck.cpp81 while (isHorizontalWhitespace(*SM.getCharacterData(Loc))) { in findEndLocation()
/external/clang/lib/Lex/
DLexer.cpp1221 while (isHorizontalWhitespace(C)) { in findLocationAfterToken()
1997 while (isHorizontalWhitespace(Char)) in SkipWhitespace()
2074 while (isHorizontalWhitespace(*EscapePtr)) { // Skip whitespace. in SkipLineComment()
2229 while (isHorizontalWhitespace(*CurPtr) || *CurPtr == 0) { in isEndOfBlockCommentWithEscapedNewLine()
2435 if (isHorizontalWhitespace(*CurPtr)) { in SkipBlockComment()
3054 } else if (isHorizontalWhitespace(*CurPtr)) { in LexTokenInternal()
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCode.cpp272 while (isHorizontalWhitespace(LocChars[i])) in skipWhitespaceAndNewline()