Home
last modified time | relevance | path

Searched refs:setKind (Results 1 – 25 of 79) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormatTokenLexer.cpp296 At->Tok.setKind(tok::string_literal); in tryMergeNSStringLiteral()
314 Hash->Tok.setKind(tok::identifier); in tryMergeJSPrivateIdentifier()
402 At->Tok.setKind(tok::identifier); in tryMergeCSharpKeywordVariables()
422 Identifier->Tok.setKind(tok::kw_for); in tryTransformCSharpForEach()
439 For->Tok.setKind(tok::kw_for); in tryMergeForEach()
464 Try->Tok.setKind(tok::identifier); in tryTransformTryUsageForC()
489 First[0]->Tok.setKind(tok::lessless); in tryMergeLessLess()
842 Tok->Tok.setKind(tok::identifier); in handleTableGenNumericLikeIdentifier()
926 HashToken->Tok.setKind(tok::comment); in tryParsePythonComment()
1276 FormatTok->Tok.setKind(tok::less); in getNextToken()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp441 CS.setKind(ConversionSpecifier::sArg); in fixType()
443 LM.setKind(LengthModifier::AsWideChar); in fixType()
445 LM.setKind(LengthModifier::None); in fixType()
464 LM.setKind(LengthModifier::None); in fixType()
472 LM.setKind(LengthModifier::AsChar); in fixType()
478 LM.setKind(LengthModifier::AsShort); in fixType()
485 LM.setKind(LengthModifier::AsLong); in fixType()
491 LM.setKind(LengthModifier::AsLongLong); in fixType()
517 CS.setKind(ConversionSpecifier::fArg); in fixType()
519 CS.setKind(ConversionSpecifier::dArg); in fixType()
[all …]
H A DPrintfFormatString.cpp707 LM.setKind(LengthModifier::None); in fixType()
714 CS.setKind(ConversionSpecifier::sArg); in fixType()
724 LM.setKind(LengthModifier::None); in fixType()
817 LM.setKind(VectorNumElts.isInvalid() ? in fixType()
821 LM.setKind(VectorNumElts.isInvalid() ? in fixType()
828 LM.setKind(LengthModifier::AsChar); in fixType()
833 LM.setKind(LengthModifier::AsShort); in fixType()
838 LM.setKind(LengthModifier::AsLong); in fixType()
883 CS.setKind(ConversionSpecifier::cArg); in fixType()
884 LM.setKind(LengthModifier::None); in fixType()
[all …]
H A DFormatString.cpp787 FixedCS.setKind(NewKind); in getStandardSpecifier()
1073 FixedLM.setKind(LengthModifier::AsLongLong); in getCorrectedLengthModifier()
1088 LM.setKind(LengthModifier::AsSizeT); in namedTypeToLengthModifier()
1092 LM.setKind(LengthModifier::AsSizeT); in namedTypeToLengthModifier()
1095 LM.setKind(LengthModifier::AsIntMax); in namedTypeToLengthModifier()
1098 LM.setKind(LengthModifier::AsIntMax); in namedTypeToLengthModifier()
1101 LM.setKind(LengthModifier::AsPtrDiff); in namedTypeToLengthModifier()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp712 I->setKind(tok::comma); in GenerateNewArgTokens()
909 EOFTok.setKind(tok::eof); in ReadMacroCallArgumentList()
970 EOFTok.setKind(tok::eof); in ReadMacroCallArgumentList()
1023 Tok.setKind(tok::eof); in ReadMacroCallArgumentList()
1575 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1580 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1590 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1636 Tok.setKind(tok::string_literal); in ExpandBuiltinMacro()
1868 Tok.setKind(tok::identifier); in ExpandBuiltinMacro()
1876 Tok.setKind(tok::identifier); in ExpandBuiltinMacro()
[all …]
H A DTokenLexer.cpp479 Tok.setKind(tok::unknown); in ExpandFunctionArguments()
535 Tok.setKind(tok::unknown); in ExpandFunctionArguments()
707 Tok.setKind(II->getTokenID()); in Lex()
798 ResultTokTmp.setKind(tok::string_literal); in pasteTokens()
811 Result.setKind(tok::raw_identifier); in pasteTokens()
880 Result.setKind(tok::unknown); in pasteTokens()
H A DPreprocessor.cpp725 Identifier.setKind(II->getTokenID()); in LookUpIdentifierInfo()
791 Identifier.setKind(II.getTokenID()); in HandleIdentifier()
1056 FilenameTok.setKind(tok::header_name); in LexHeaderName()
1074 FilenameTok.setKind(tok::header_name); in LexHeaderName()
1198 ImportTok.setKind(tok::kw_import); in LexAfterModuleImport()
1213 Suffix.back().setKind(tok::annot_module_begin); in LexAfterModuleImport()
1224 Suffix[0].setKind(tok::annot_header_unit); in LexAfterModuleImport()
1232 Result.setKind(tok::eof); in LexAfterModuleImport()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A Dx86_64.cpp118 E.setKind(x86_64::Delta32); in optimizeGOTAndStubAccesses()
156 E.setKind(x86_64::Pointer32); in optimizeGOTAndStubAccesses()
179 E.setKind(x86_64::BranchPCRel32); in optimizeGOTAndStubAccesses()
H A DCOFF_x86_64.cpp202 E.setKind(x86_64::Pointer32); in lowerCOFFRelocationEdges()
206 E.setKind(x86_64::PCRel32); in lowerCOFFRelocationEdges()
210 E.setKind(x86_64::Pointer64); in lowerCOFFRelocationEdges()
214 E.setKind(x86_64::Pointer16); in lowerCOFFRelocationEdges()
221 E.setKind(x86_64::Pointer32); in lowerCOFFRelocationEdges()
H A Di386.cpp77 E.setKind(i386::BranchPCRel32); in optimizeGOTAndStubAccesses()
H A DELF_ppc64.cpp47 E.setKind(ppc64::TOCDelta16HA); in visitEdge()
51 E.setKind(ppc64::TOCDelta16LO); in visitEdge()
55 E.setKind(ppc64::Delta34); in visitEdge()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h556 void setKind(Kind K) { in setKind() function
668 setKind(BadConversion); in setBad()
675 setKind(BadConversion); in setBad()
679 void setStandard() { setKind(StandardConversion); } in setStandard()
680 void setStaticObjectArgument() { setKind(StaticObjectArgumentConversion); } in setStaticObjectArgument()
681 void setEllipsis() { setKind(EllipsisConversion); } in setEllipsis()
682 void setUserDefined() { setKind(UserDefinedConversion); } in setUserDefined()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1248 Toks[0].setKind(tok::string_literal); in HandlePragmaMSInitSeg()
2105 Toks[0].setKind(tok::annot_pragma_vis); in HandlePragma()
2223 Toks[0].setKind(tok::annot_pragma_pack); in HandlePragma()
2266 Toks[0].setKind(tok::annot_pragma_msstruct); in HandlePragma()
2399 Toks[0].setKind(tok::annot_pragma_align); in ParseAlignPragma()
2715 Tok.setKind(StartTok); in HandlePragma()
2736 Tok.setKind(EndTok); in HandlePragma()
2942 EoF.setKind(tok::eof); in HandlePragma()
3405 FPTok.setKind(tok::annot_pragma_fp); in HandlePragma()
3531 EOFTok.setKind(tok::eof); in ParseLoopHintValue()
[all …]
H A DParser.cpp60 Tok.setKind(tok::eof); in Parser()
1748 Tok.setKind(tok::annot_cxxscope); in AnnotateScopeToken()
1822 FakeNext.setKind(tok::unknown); in TryAnnotateName()
1835 Tok.setKind(Name->getTokenID()); in TryAnnotateName()
1875 Tok.setKind(tok::annot_typename); in TryAnnotateName()
1884 Tok.setKind(tok::annot_overload_set); in TryAnnotateName()
1898 Tok.setKind(tok::annot_non_type); in TryAnnotateName()
1909 Tok.setKind(Classification.getKind() == Sema::NC_UndeclaredNonType in TryAnnotateName()
1964 Tok.setKind(tok::identifier); in TryKeywordIdentFallback()
2083 Tok.setKind(tok::annot_typename); in TryAnnotateTypeOrScopeToken()
[all …]
H A DParseTemplate.cpp498 Tok.setKind(tok::greater); in ParseTemplateParameters()
668 Tok.setKind(tok::kw_typename); in ParseTemplateParameter()
1230 Greater.setKind(tok::greater); in ParseGreaterThanInTemplateList()
1239 Tok.setKind(RemainingToken); in ParseGreaterThanInTemplateList()
1402 Tok.setKind(tok::annot_typename); in AnnotateTemplateIdToken()
1413 Tok.setKind(tok::annot_template_id); in AnnotateTemplateIdToken()
1482 Tok.setKind(tok::annot_typename); in AnnotateTemplateIdTokenAsType()
H A DParseCXXInlineMethods.cpp231 Eof.setKind(tok::eof); in ParseCXXNonStaticMemberInitializer()
370 DefArgEnd.setKind(tok::eof); in ParseLexedMethodDeclaration()
451 ExceptionSpecEnd.setKind(tok::eof); in ParseLexedMethodDeclaration()
544 BodyEnd.setKind(tok::eof); in ParseLexedMethodDef()
718 AttrEnd.setKind(tok::eof); in ParseLexedAttribute()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A Dppc64.h176 E.setKind(ppc64::Delta34); in visitEdge()
215 E.setKind(ppc64::CallBranchDeltaRestoreTOC); in visitEdge()
228 E.setKind(ppc64::CallBranchDelta); in visitEdge()
232 E.setKind(ppc64::CallBranchDelta); in visitEdge()
H A Di386.h365 E.setKind(KindToSet); in visitEdge()
400 E.setKind(i386::BranchPCRel32ToPtrJumpStubBypassable); in visitEdge()
H A Dx86_64.h605 E.setKind(KindToSet); in visitEdge()
640 E.setKind(x86_64::BranchPCRel32ToPtrJumpStubBypassable); in visitEdge()
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DTokenRewriter.cpp96 Tok.setKind(tok::unknown); in AddTokenBefore()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DVariadicMacroSupport.h161 SyntheticEOFToken.setKind(tok::eof); in VAOptExpansionContext()
H A DToken.h94 void setKind(tok::TokenKind K) { Kind = K; } in setKind() function
/freebsd/contrib/llvm-project/clang/include/clang/Interpreter/
H A DValue.h136 void setKind(Kind K) { ValueKind = K; } in setKind() function
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVLocation.cpp575 setKind(); in addObject()
587 void LVLocation::setKind() { in setKind() function in LVLocation
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DRecord.h111 void setKind(const Kind &V) { in setKind() function

1234