| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | FormatTokenLexer.cpp | 205 At->Tok.setKind(tok::string_literal); in tryMergeNSStringLiteral() 223 Hash->Tok.setKind(tok::identifier); in tryMergeJSPrivateIdentifier() 268 At->Tok.setKind(tok::string_literal); in tryMergeCSharpStringLiteral() 313 At->Tok.setKind(tok::identifier); in tryMergeCSharpKeywordVariables() 333 Identifier->Tok.setKind(tok::kw_for); in tryTransformCSharpForEach() 350 For->Tok.setKind(tok::kw_for); in tryMergeForEach() 375 Try->Tok.setKind(tok::identifier); in tryTransformTryUsageForC() 401 First[0]->Tok.setKind(tok::lessless); in tryMergeLessLess() 1052 FormatTok->Tok.setKind(tok::greater); 1057 FormatTok->Tok.setKind(tok::less); [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ScanfFormatString.cpp | 439 CS.setKind(ConversionSpecifier::sArg); in fixType() 441 LM.setKind(LengthModifier::AsWideChar); in fixType() 443 LM.setKind(LengthModifier::None); in fixType() 462 LM.setKind(LengthModifier::None); in fixType() 470 LM.setKind(LengthModifier::AsChar); in fixType() 476 LM.setKind(LengthModifier::AsShort); in fixType() 483 LM.setKind(LengthModifier::AsLong); in fixType() 489 LM.setKind(LengthModifier::AsLongLong); in fixType() 515 CS.setKind(ConversionSpecifier::fArg); in fixType() 517 CS.setKind(ConversionSpecifier::dArg); in fixType() [all …]
|
| H A D | PrintfFormatString.cpp | 704 LM.setKind(LengthModifier::None); in fixType() 711 CS.setKind(ConversionSpecifier::sArg); in fixType() 721 LM.setKind(LengthModifier::None); in fixType() 812 LM.setKind(VectorNumElts.isInvalid() ? in fixType() 816 LM.setKind(VectorNumElts.isInvalid() ? in fixType() 823 LM.setKind(LengthModifier::AsChar); in fixType() 828 LM.setKind(LengthModifier::AsShort); in fixType() 833 LM.setKind(LengthModifier::AsLong); in fixType() 878 CS.setKind(ConversionSpecifier::cArg); in fixType() 879 LM.setKind(LengthModifier::None); in fixType() [all …]
|
| H A D | FormatString.cpp | 695 FixedCS.setKind(NewKind); in getStandardSpecifier() 974 FixedLM.setKind(LengthModifier::AsLongLong); in getCorrectedLengthModifier() 990 LM.setKind(LengthModifier::AsSizeT); in namedTypeToLengthModifier() 994 LM.setKind(LengthModifier::AsSizeT); in namedTypeToLengthModifier() 997 LM.setKind(LengthModifier::AsIntMax); in namedTypeToLengthModifier() 1000 LM.setKind(LengthModifier::AsIntMax); in namedTypeToLengthModifier() 1003 LM.setKind(LengthModifier::AsPtrDiff); in namedTypeToLengthModifier()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 710 I->setKind(tok::comma); in GenerateNewArgTokens() 907 EOFTok.setKind(tok::eof); in ReadMacroCallArgumentList() 968 EOFTok.setKind(tok::eof); in ReadMacroCallArgumentList() 1021 Tok.setKind(tok::eof); in ReadMacroCallArgumentList() 1556 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro() 1561 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro() 1571 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro() 1615 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro() 1627 Tok.setKind(tok::minus); in ExpandBuiltinMacro() 1862 Tok.setKind(tok::identifier); in ExpandBuiltinMacro() [all …]
|
| H A D | TokenLexer.cpp | 477 Tok.setKind(tok::unknown); in ExpandFunctionArguments() 534 Tok.setKind(tok::unknown); in ExpandFunctionArguments() 706 Tok.setKind(II->getTokenID()); in Lex() 797 ResultTokTmp.setKind(tok::string_literal); in pasteTokens() 810 Result.setKind(tok::raw_identifier); in pasteTokens() 879 Result.setKind(tok::unknown); in pasteTokens()
|
| H A D | Preprocessor.cpp | 742 Identifier.setKind(II->getTokenID()); in LookUpIdentifierInfo() 831 Identifier.setKind(II.getTokenID()); in HandleIdentifier() 1084 FilenameTok.setKind(tok::header_name); in LexHeaderName() 1102 FilenameTok.setKind(tok::header_name); in LexHeaderName() 1216 ImportTok.setKind(tok::kw_import); in LexAfterModuleImport() 1231 Suffix.back().setKind(tok::annot_module_begin); in LexAfterModuleImport() 1242 Suffix[0].setKind(tok::annot_header_unit); in LexAfterModuleImport() 1250 Result.setKind(tok::eof); in LexAfterModuleImport()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | x86_64.cpp | 114 E.setKind(x86_64::Delta32); in optimizeGOTAndStubAccesses() 152 E.setKind(x86_64::Pointer32); in optimizeGOTAndStubAccesses() 175 E.setKind(x86_64::BranchPCRel32); in optimizeGOTAndStubAccesses()
|
| H A D | COFF_x86_64.cpp | 146 E.setKind(x86_64::Pointer32); in lowerCOFFRelocationEdges() 150 E.setKind(x86_64::PCRel32); in lowerCOFFRelocationEdges()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Overload.h | 550 void setKind(Kind K) { in setKind() function 656 setKind(BadConversion); in setBad() 663 setKind(BadConversion); in setBad() 667 void setStandard() { setKind(StandardConversion); } in setStandard() 668 void setEllipsis() { setKind(EllipsisConversion); } in setEllipsis() 669 void setUserDefined() { setKind(UserDefinedConversion); } in setUserDefined()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParsePragma.cpp | 1142 Toks[0].setKind(tok::string_literal); in HandlePragmaMSInitSeg() 1950 Toks[0].setKind(tok::annot_pragma_vis); in HandlePragma() 2068 Toks[0].setKind(tok::annot_pragma_pack); in HandlePragma() 2111 Toks[0].setKind(tok::annot_pragma_msstruct); in HandlePragma() 2244 Toks[0].setKind(tok::annot_pragma_align); in ParseAlignPragma() 2560 Tok.setKind(tok::annot_pragma_openmp); in HandlePragma() 2581 Tok.setKind(tok::annot_pragma_openmp_end); in HandlePragma() 2787 EoF.setKind(tok::eof); in HandlePragma() 3249 FPTok.setKind(tok::annot_pragma_fp); in HandlePragma() 3369 EOFTok.setKind(tok::eof); in ParseLoopHintValue() [all …]
|
| H A D | Parser.cpp | 58 Tok.setKind(tok::eof); in Parser() 1660 Tok.setKind(tok::annot_cxxscope); in AnnotateScopeToken() 1728 FakeNext.setKind(tok::unknown); in TryAnnotateName() 1741 Tok.setKind(Name->getTokenID()); in TryAnnotateName() 1781 Tok.setKind(tok::annot_typename); in TryAnnotateName() 1790 Tok.setKind(tok::annot_overload_set); in TryAnnotateName() 1804 Tok.setKind(tok::annot_non_type); in TryAnnotateName() 1815 Tok.setKind(Classification.getKind() == Sema::NC_UndeclaredNonType in TryAnnotateName() 1876 Tok.setKind(tok::identifier); in TryKeywordIdentFallback() 1993 Tok.setKind(tok::annot_typename); in TryAnnotateTypeOrScopeToken() [all …]
|
| H A D | ParseTemplate.cpp | 485 Tok.setKind(tok::greater); in ParseTemplateParameters() 655 Tok.setKind(tok::kw_typename); in ParseTemplateParameter() 1193 Greater.setKind(tok::greater); in ParseGreaterThanInTemplateList() 1202 Tok.setKind(RemainingToken); in ParseGreaterThanInTemplateList() 1365 Tok.setKind(tok::annot_typename); in AnnotateTemplateIdToken() 1376 Tok.setKind(tok::annot_template_id); in AnnotateTemplateIdToken() 1442 Tok.setKind(tok::annot_typename); in AnnotateTemplateIdTokenAsType()
|
| H A D | ParseCXXInlineMethods.cpp | 229 Eof.setKind(tok::eof); in ParseCXXNonStaticMemberInitializer() 368 DefArgEnd.setKind(tok::eof); in ParseLexedMethodDeclaration() 448 ExceptionSpecEnd.setKind(tok::eof); in ParseLexedMethodDeclaration() 541 BodyEnd.setKind(tok::eof); in ParseLexedMethodDef() 710 AttrEnd.setKind(tok::eof); in ParseLexedAttribute()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | LexerUtils.cpp | 21 Token.setKind(tok::unknown); in getPreviousToken() 136 Tok.setKind(Info.getTokenID()); in getQualifyingToken()
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | x86_64.h | 578 E.setKind(KindToSet); in visitEdge() 613 E.setKind(x86_64::BranchPCRel32ToPtrJumpStubBypassable); in visitEdge()
|
| /llvm-project-15.0.7/clang/lib/Rewrite/ |
| H A D | TokenRewriter.cpp | 96 Tok.setKind(tok::unknown); in AddTokenBefore()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseTrailingReturnTypeCheck.cpp | 156 T.setKind(Info.getTokenID()); in findTrailingReturnTypeSourceLocation() 190 End.setKind(tok::eof); in classifyToken() 249 T.setKind(Info.getTokenID()); in classifyTokensBeforeFunctionName()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | VariadicMacroSupport.h | 156 SyntheticEOFToken.setKind(tok::eof); in VAOptExpansionContext()
|
| H A D | Token.h | 93 void setKind(tok::TokenKind K) { Kind = K; } in setKind() function
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | IntegerTypesCheck.cpp | 34 Tok.setKind(Info.getTokenID()); in getTokenAtLoc()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CPlusPlusNameParser.cpp | 353 tmp_tok.setKind(tok::less); in ConsumeOperator() 685 token.setKind(it->getValue()); in ExtractTokens()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | DDG.h | 85 void setKind(NodeKind K) { Kind = K; } in setKind() function 150 setKind((InstList.size() == 0 && Input.size() == 1) in appendInstructions()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | FormatString.h | 112 void setKind(Kind k) { kind = k; } in setKind() function 222 void setKind(Kind k) { kind = k; } in setKind() function
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTIL.h | 402 void setKind(VariableKind K) { Flags = K; } in setKind() function 668 Vd->setKind(Variable::VK_Fun); in Function() 673 Vd->setKind(Variable::VK_Fun); in Function() 720 Vd->setKind(Variable::VK_SFun); in SFunction() 727 Vd->setKind(Variable::VK_SFun); in SFunction() 1860 Vd->setKind(Variable::VK_Let); in Let() 1864 Vd->setKind(Variable::VK_Let); in Let()
|