/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseInit.cpp | 189 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator() 398 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator() 408 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator() 498 QualType LikelyType = PreferredType.get(T.getOpenLocation()); in ParseBraceInitializer() 502 QualType PreferredType; in ParseBraceInitializer() local 504 PreferredType = Actions.CodeCompletion().ProduceConstructorSignatureHelp( in ParseBraceInitializer() 508 return PreferredType; in ParseBraceInitializer() 512 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseBraceInitializer() 615 PreferredType.get(Braces.getOpenLocation()), in ParseMicrosoftIfExistsBraceInitializer()
|
H A D | ParseExpr.cpp | 173 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseAssignmentExpression() 192 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseConditionalExpression() 433 auto SavedType = PreferredType; in ParseRHSOfBinaryExpression() 436 PreferredType = SavedType; in ParseRHSOfBinaryExpression() 557 PreferredType.enterBinary(Actions, Tok.getLocation(), LHS.get(), in ParseRHSOfBinaryExpression() 1057 auto SavedType = PreferredType; in ParseCastExpression() 1430 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedTok.getKind(), in ParseCastExpression() 1461 PreferredType.enterUnary(Actions, Tok.getLocation(), tok::amp, SavedLoc); in ParseCastExpression() 1484 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedKind, SavedLoc); in ParseCastExpression() 1853 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseCastExpression() [all …]
|
H A D | ParseExprCXX.cpp | 268 auto SavedType = PreferredType; in ParseOptionalCXXScopeSpecifier() 2023 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression() 2035 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression() 2040 QualType PreferredType; in ParseCXXTypeConstructExpression() local 2042 PreferredType = in ParseCXXTypeConstructExpression() 2047 return PreferredType; in ParseCXXTypeConstructExpression() 2052 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseCXXTypeConstructExpression() 2148 PreferredType.enterCondition(Actions, Tok.getLocation()); in ParseCXXCondition() 2285 PreferredType.enterVariableInit(Tok.getLocation(), DeclOut); in ParseCXXCondition() 3368 QualType PreferredType; in ParseCXXNewExpression() local [all …]
|
H A D | ParseOpenMP.cpp | 470 PreferredType.enterVariableInit(Tok.getLocation(), OmpPrivParm); in ParseOpenMPReductionInitializerForDecl() 489 QualType PreferredType = in ParseOpenMPReductionInitializerForDecl() local 494 return PreferredType; in ParseOpenMPReductionInitializerForDecl() 497 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseOpenMPReductionInitializerForDecl()
|
H A D | ParseStmt.cpp | 2445 PreferredType.enterReturn(Actions, Tok.getLocation()); in ParseReturnStatement() 2450 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseReturnStatement()
|
H A D | ParseDecl.cpp | 2799 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes() 2839 QualType PreferredType = in ParseDeclarationAfterDeclaratorAndAttributes() local 2845 return PreferredType; in ParseDeclarationAfterDeclaratorAndAttributes() 2848 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseDeclarationAfterDeclaratorAndAttributes() 2890 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
|
H A D | ParseDeclCXX.cpp | 4066 QualType PreferredType = in ParseMemInitializer() local 4071 return PreferredType; in ParseMemInitializer() 4074 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseMemInitializer()
|
H A D | ParseTemplate.cpp | 1549 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseTemplateArgumentList()
|
H A D | Parser.cpp | 55 : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions), in Parser()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaCodeCompletion.h | 103 void CodeCompleteExpression(Scope *S, QualType PreferredType, 108 QualType PreferredType); 110 QualType PreferredType); 157 QualType PreferredType);
|
H A D | CodeCompleteConsumer.h | 359 QualType PreferredType; variable 390 PreferredType = T; in CCKind() 402 QualType getPreferredType() const { return PreferredType; } in getPreferredType() 403 void setPreferredType(QualType T) { PreferredType = T; } in setPreferredType()
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | CodeCompletion.cpp | 90 auto PreferredType = CCC.getPreferredType(); in handleDeclaration() local 91 if (PreferredType.isNull()) { in handleDeclaration() 98 if (PreferredType->isReferenceType()) { in handleDeclaration() 99 QualType RT = PreferredType->castAs<ReferenceType>()->getPointeeType(); in handleDeclaration() 112 } else if (S.Context.hasSameType(ArgumentType, PreferredType)) { in handleDeclaration()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCodeComplete.cpp | 181 CanQualType PreferredType; member in __anone047e0890111::ResultBuilder 263 PreferredType = SemaRef.Context.getCanonicalType(T); in setPreferredType() 1055 if (!PreferredType.isNull()) { in AdjustResultPriorityForDecl() 1060 if (SemaRef.Context.hasSameUnqualifiedType(PreferredType, TC)) in AdjustResultPriorityForDecl() 1063 else if ((getSimplifiedTypeClass(PreferredType) == in AdjustResultPriorityForDecl() 1065 !(PreferredType->isEnumeralType() && TC->isEnumeralType())) in AdjustResultPriorityForDecl() 4738 CodeCompleteExpressionData(QualType PreferredType = QualType(), in CodeCompleteExpressionData() 4740 : PreferredType(PreferredType), IntegralConstantExpression(false), in CodeCompleteExpressionData() 4743 QualType PreferredType; member 4859 Data.PreferredType)); in CodeCompleteExpression() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | RegionPass.cpp | 238 PassManagerType PreferredType) { in assignPassManager() argument
|
H A D | LoopPass.cpp | 333 PassManagerType PreferredType) { in assignPassManager() argument
|
H A D | CallGraphSCCPass.cpp | 613 PassManagerType PreferredType) { in assignPassManager() argument
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | LegacyPassManager.cpp | 1736 PassManagerType PreferredType) { in assignPassManager() argument 1740 T != PreferredType) in assignPassManager()
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 83 PreferredTypeBuilder PreferredType; variable 1037 : P(p), PrevPreferredType(P.PreferredType) { in TentativeParsingAction() 1057 P.PreferredType = PrevPreferredType; in Revert()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | Attr.td | 4697 def PreferredType: InheritableAttr {
|