Home
last modified time | relevance | path

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

/external/clang/unittests/Basic/
DCharInfoTest.cpp74 TEST(CharInfoTest, isIdentifierBody) { in TEST() argument
75 EXPECT_TRUE(isIdentifierBody('a')); in TEST()
76 EXPECT_TRUE(isIdentifierBody('A')); in TEST()
77 EXPECT_TRUE(isIdentifierBody('z')); in TEST()
78 EXPECT_TRUE(isIdentifierBody('Z')); in TEST()
79 EXPECT_TRUE(isIdentifierBody('_')); in TEST()
81 EXPECT_TRUE(isIdentifierBody('0')); in TEST()
82 EXPECT_FALSE(isIdentifierBody('.')); in TEST()
83 EXPECT_FALSE(isIdentifierBody('`')); in TEST()
84 EXPECT_FALSE(isIdentifierBody('\0')); in TEST()
[all …]
/external/clang/include/clang/Basic/
DCharInfo.h59 LLVM_READONLY static inline bool isIdentifierBody(unsigned char c,
190 if (!isIdentifierBody(*I)) in isValidIdentifier()
/external/clang/lib/Frontend/
DLayoutOverrideSource.cpp24 while (Offset < S.size() && isIdentifierBody(S[Offset])) in parseName()
/external/clang/lib/Lex/
DLexer.cpp1004 return isIdentifierBody(c, LangOpts.DollarIdents); in isIdentifierBodyChar()
1479 while (isIdentifierBody(C)) in LexIdentifier()
1534 } else if (!isIdentifierBody(C)) { in LexIdentifier()
1542 while (isIdentifierBody(C)) { in LexIdentifier()
1601 if (isIdentifierBody(Next)) { in LexNumericConstant()
1673 if (!isIdentifierBody(Next)) { in LexUDSuffix()
1705 if (isIdentifierBody(C)) { CurPtr = ConsumeChar(CurPtr, Size, Result); } in LexUDSuffix()
DModuleMap.cpp124 if (isIdentifierBody(Name[I])) in sanitizeFilenameAsIdentifier()
/external/clang/lib/AST/
DMicrosoftMangle.cpp2859 if (isIdentifierBody(Byte, /*AllowDollar=*/true)) { in mangleStringLiteral()