Home
last modified time | relevance | path

Searched refs:PreferredType (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp189 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 DParseExpr.cpp173 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 DParseExprCXX.cpp268 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 DParseOpenMP.cpp470 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 DParseStmt.cpp2445 PreferredType.enterReturn(Actions, Tok.getLocation()); in ParseReturnStatement()
2450 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseReturnStatement()
H A DParseDecl.cpp2799 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 DParseDeclCXX.cpp4066 QualType PreferredType = in ParseMemInitializer() local
4071 return PreferredType; in ParseMemInitializer()
4074 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseMemInitializer()
H A DParseTemplate.cpp1549 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseTemplateArgumentList()
H A DParser.cpp55 : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions), in Parser()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCodeCompletion.h103 void CodeCompleteExpression(Scope *S, QualType PreferredType,
108 QualType PreferredType);
110 QualType PreferredType);
157 QualType PreferredType);
H A DCodeCompleteConsumer.h359 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 DCodeCompletion.cpp90 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 DSemaCodeComplete.cpp181 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 DRegionPass.cpp238 PassManagerType PreferredType) { in assignPassManager() argument
H A DLoopPass.cpp333 PassManagerType PreferredType) { in assignPassManager() argument
H A DCallGraphSCCPass.cpp613 PassManagerType PreferredType) { in assignPassManager() argument
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLegacyPassManager.cpp1736 PassManagerType PreferredType) { in assignPassManager() argument
1740 T != PreferredType) in assignPassManager()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h83 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 DAttr.td4697 def PreferredType: InheritableAttr {