Home
last modified time | relevance | path

Searched refs:isIdentifierHead (Results 1 – 5 of 5) sorted by relevance

/external/clang/unittests/Basic/
DCharInfoTest.cpp54 TEST(CharInfoTest, isIdentifierHead) { in TEST() argument
55 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 …]
/external/clang/include/clang/Basic/
DCharInfo.h49 LLVM_READONLY static inline bool isIdentifierHead(unsigned char c,
186 if (S.empty() || !isIdentifierHead(S[0])) in isValidIdentifier()
/external/clang/lib/Frontend/
DLayoutOverrideSource.cpp20 if (S.empty() || !isIdentifierHead(S[0])) in parseName()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1156 if (!isIdentifierHead(Name[0])) in IsValidIdentifier()
/external/clang/lib/Lex/
DLexer.cpp1662 if (!isIdentifierHead(C)) { in LexUDSuffix()