Searched refs:isIdentifierHead (Results 1 – 5 of 5) sorted by relevance
54 TEST(CharInfoTest, isIdentifierHead) { in TEST() argument55 EXPECT_TRUE(isIdentifierHead('a')); in TEST()56 EXPECT_TRUE(isIdentifierHead('A')); in TEST()57 EXPECT_TRUE(isIdentifierHead('z')); in TEST()58 EXPECT_TRUE(isIdentifierHead('Z')); in TEST()59 EXPECT_TRUE(isIdentifierHead('_')); in TEST()61 EXPECT_FALSE(isIdentifierHead('0')); in TEST()62 EXPECT_FALSE(isIdentifierHead('.')); in TEST()63 EXPECT_FALSE(isIdentifierHead('`')); in TEST()64 EXPECT_FALSE(isIdentifierHead('\0')); in TEST()[all …]
49 LLVM_READONLY static inline bool isIdentifierHead(unsigned char c,186 if (S.empty() || !isIdentifierHead(S[0])) in isValidIdentifier()
20 if (S.empty() || !isIdentifierHead(S[0])) in parseName()
1156 if (!isIdentifierHead(Name[0])) in IsValidIdentifier()
1662 if (!isIdentifierHead(C)) { in LexUDSuffix()