Home
last modified time | relevance | path

Searched refs:isIdentifierBody (Results 1 – 19 of 19) 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/llvm-project/clang/unittests/Basic/
DCharInfoTest.cpp73 TEST(CharInfoTest, isIdentifierBody) { in TEST() argument
74 EXPECT_TRUE(isIdentifierBody('a')); in TEST()
75 EXPECT_TRUE(isIdentifierBody('A')); in TEST()
76 EXPECT_TRUE(isIdentifierBody('z')); in TEST()
77 EXPECT_TRUE(isIdentifierBody('Z')); in TEST()
78 EXPECT_TRUE(isIdentifierBody('_')); in TEST()
80 EXPECT_TRUE(isIdentifierBody('0')); in TEST()
81 EXPECT_FALSE(isIdentifierBody('.')); in TEST()
82 EXPECT_FALSE(isIdentifierBody('`')); in TEST()
83 EXPECT_FALSE(isIdentifierBody('\0')); in TEST()
[all …]
/external/llvm-project/clang/lib/Lex/
DDependencyDirectivesSourceMinimizer.cpp134 if (First == Current || !isIdentifierBody(*--Current)) in isRawStringLiteral()
139 return First == Current || !isIdentifierBody(*--Current); in isRawStringLiteral()
144 return First == Current || !isIdentifierBody(*--Current); in isRawStringLiteral()
322 return (Cur + 1) < End && isIdentifierBody(*(Cur + 1)); in isQuoteCppDigitSeparator()
487 while (Last != End && (isIdentifierBody(*Last) || *Last == '.')); in printAdjacentModuleNameParts()
510 if (!isIdentifierBody(*First) && *First != '.') in printAtImportBody()
527 assert(isIdentifierBody(*First) && "invalid identifer"); in lexRawIdentifier()
529 while (Last != End && isIdentifierBody(*Last)) in lexRawIdentifier()
543 return isIdentifierBody(First[0]) ? First : nullptr; in getIdentifierContinuation()
572 (isIdentifierBody(*Last) || *Last == '.' || *Last == ',')); in printAdjacentMacroArgs()
[all …]
DLexer.cpp1051 return isIdentifierBody(c, LangOpts.DollarIdents); in isIdentifierBodyChar()
1646 while (isIdentifierBody(C)) in LexIdentifier()
1691 while (isIdentifierBody(*CurPtr)) in LexIdentifier()
1726 } else if (!isIdentifierBody(C)) { in LexIdentifier()
1734 while (isIdentifierBody(C)) { in LexIdentifier()
1794 if (isIdentifierBody(Next)) { in LexNumericConstant()
1866 if (!isIdentifierBody(Next)) { in LexUDSuffix()
1898 if (isIdentifierBody(C)) { CurPtr = ConsumeChar(CurPtr, Size, Result); } in LexUDSuffix()
DModuleMap.cpp348 if (isIdentifierBody(Name[I])) in sanitizeFilenameAsIdentifier()
/external/clang/include/clang/Basic/
DCharInfo.h59 LLVM_READONLY static inline bool isIdentifierBody(unsigned char c,
190 if (!isIdentifierBody(*I)) in isValidIdentifier()
/external/llvm-project/clang/include/clang/Basic/
DCharInfo.h58 LLVM_READONLY inline bool isIdentifierBody(unsigned char c,
190 if (!isIdentifierBody(*I, AllowDollar))
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DIntegerTypesCheck.cpp132 !isIdentifierBody(Data[Port.size()])) in check()
/external/llvm-project/clang/lib/Frontend/
DLayoutOverrideSource.cpp23 while (Offset < S.size() && isIdentifierBody(S[Offset])) in parseName()
/external/clang/lib/Frontend/
DLayoutOverrideSource.cpp24 while (Offset < S.size() && isIdentifierBody(S[Offset])) in parseName()
/external/clang/lib/Lex/
DLexer.cpp1031 return isIdentifierBody(c, LangOpts.DollarIdents); in isIdentifierBodyChar()
1506 while (isIdentifierBody(C)) in LexIdentifier()
1561 } else if (!isIdentifierBody(C)) { in LexIdentifier()
1569 while (isIdentifierBody(C)) { in LexIdentifier()
1629 if (isIdentifierBody(Next)) { in LexNumericConstant()
1701 if (!isIdentifierBody(Next)) { in LexUDSuffix()
1733 if (isIdentifierBody(C)) { CurPtr = ConsumeChar(CurPtr, Size, Result); } in LexUDSuffix()
DModuleMap.cpp121 if (isIdentifierBody(Name[I])) in sanitizeFilenameAsIdentifier()
/external/llvm-project/clang/lib/Tooling/Transformer/
DParsing.cpp168 [](char c) { return isASCII(c) && isIdentifierBody(c); }); in parseId()
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DIncludeFixer.cpp248 while (isIdentifierBody(*End) || *End == ':') in CorrectTypo()
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp948 while (B > 0 && isIdentifierBody(Code[B - 1])) in touching()
950 while (E < Code.size() && isIdentifierBody(Code[E])) in touching()
DCodeComplete.cpp1788 while (!Rest.empty() && isIdentifierBody(Rest.back())) in guessCompletionPrefix()
1794 while (!Rest.empty() && isIdentifierBody(Rest.back())) in guessCompletionPrefix()
1996 (isIdentifierBody(Content.back()) || !llvm::isASCII(Content.back())); in allowImplicitCompletion()
/external/clang/lib/AST/
DMicrosoftMangle.cpp2986 if (isIdentifierBody(Byte, /*AllowDollar=*/true)) { in mangleStringLiteral()
/external/llvm-project/clang/lib/AST/
DMicrosoftMangle.cpp3771 if (isIdentifierBody(Byte, /*AllowDollar=*/true)) { in mangleStringLiteral()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp4187 } else if (!isIdentifierBody(NextChar[0], /*allow dollar*/true) && in fixItNullability()
4188 !isIdentifierBody(NextChar[-1], /*allow dollar*/true)) { in fixItNullability()