/external/clang/unittests/Basic/ |
D | CharInfoTest.cpp | 74 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/ |
D | CharInfoTest.cpp | 73 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/ |
D | DependencyDirectivesSourceMinimizer.cpp | 134 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 …]
|
D | Lexer.cpp | 1051 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()
|
D | ModuleMap.cpp | 348 if (isIdentifierBody(Name[I])) in sanitizeFilenameAsIdentifier()
|
/external/clang/include/clang/Basic/ |
D | CharInfo.h | 59 LLVM_READONLY static inline bool isIdentifierBody(unsigned char c, 190 if (!isIdentifierBody(*I)) in isValidIdentifier()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | CharInfo.h | 58 LLVM_READONLY inline bool isIdentifierBody(unsigned char c, 190 if (!isIdentifierBody(*I, AllowDollar))
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | IntegerTypesCheck.cpp | 132 !isIdentifierBody(Data[Port.size()])) in check()
|
/external/llvm-project/clang/lib/Frontend/ |
D | LayoutOverrideSource.cpp | 23 while (Offset < S.size() && isIdentifierBody(S[Offset])) in parseName()
|
/external/clang/lib/Frontend/ |
D | LayoutOverrideSource.cpp | 24 while (Offset < S.size() && isIdentifierBody(S[Offset])) in parseName()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 1031 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()
|
D | ModuleMap.cpp | 121 if (isIdentifierBody(Name[I])) in sanitizeFilenameAsIdentifier()
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | Parsing.cpp | 168 [](char c) { return isASCII(c) && isIdentifierBody(c); }); in parseId()
|
/external/llvm-project/clang-tools-extra/clang-include-fixer/ |
D | IncludeFixer.cpp | 248 while (isIdentifierBody(*End) || *End == ':') in CorrectTypo()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | SourceCode.cpp | 948 while (B > 0 && isIdentifierBody(Code[B - 1])) in touching() 950 while (E < Code.size() && isIdentifierBody(Code[E])) in touching()
|
D | CodeComplete.cpp | 1788 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/ |
D | MicrosoftMangle.cpp | 2986 if (isIdentifierBody(Byte, /*AllowDollar=*/true)) { in mangleStringLiteral()
|
/external/llvm-project/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 3771 if (isIdentifierBody(Byte, /*AllowDollar=*/true)) { in mangleStringLiteral()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaType.cpp | 4187 } else if (!isIdentifierBody(NextChar[0], /*allow dollar*/true) && in fixItNullability() 4188 !isIdentifierBody(NextChar[-1], /*allow dollar*/true)) { in fixItNullability()
|