Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/FileCheck/
DFileCheckTest.cpp861 EXPECT_TRUE(Pattern::isValidVarNameStart('a')); in TEST_F()
862 EXPECT_TRUE(Pattern::isValidVarNameStart('G')); in TEST_F()
863 EXPECT_TRUE(Pattern::isValidVarNameStart('_')); in TEST_F()
864 EXPECT_FALSE(Pattern::isValidVarNameStart('2')); in TEST_F()
865 EXPECT_FALSE(Pattern::isValidVarNameStart('$')); in TEST_F()
866 EXPECT_FALSE(Pattern::isValidVarNameStart('@')); in TEST_F()
867 EXPECT_FALSE(Pattern::isValidVarNameStart('+')); in TEST_F()
868 EXPECT_FALSE(Pattern::isValidVarNameStart('-')); in TEST_F()
869 EXPECT_FALSE(Pattern::isValidVarNameStart(':')); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheckImpl.h440 static bool isValidVarNameStart(char C);
DFileCheck.cpp69 bool Pattern::isValidVarNameStart(char C) { return C == '_' || isalpha(C); } in isValidVarNameStart() function in Pattern
85 if (!ParsedOneChar && !isValidVarNameStart(Str[I])) in parseVariable()
/external/llvm-project/llvm/lib/FileCheck/
DFileCheckImpl.h655 static bool isValidVarNameStart(char C);
DFileCheck.cpp419 bool Pattern::isValidVarNameStart(char C) { return C == '_' || isAlpha(C); } in isValidVarNameStart() function in Pattern
433 if (!isValidVarNameStart(Str[I++])) in parseVariable()