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.cpp141 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
350 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
360 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
438 QualType LikelyType = PreferredType.get(T.getOpenLocation()); in ParseBraceInitializer()
442 QualType PreferredType; in ParseBraceInitializer() local
444 PreferredType = Actions.CodeCompletion().ProduceConstructorSignatureHelp( in ParseBraceInitializer()
448 return PreferredType; in ParseBraceInitializer()
452 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseBraceInitializer()
550 PreferredType.get(Braces.getOpenLocation()), in ParseMicrosoftIfExistsBraceInitializer()
H A DParseExpr.cpp80 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseAssignmentExpression()
99 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseConditionalExpression()
322 auto SavedType = PreferredType; in ParseRHSOfBinaryExpression()
325 PreferredType = SavedType; in ParseRHSOfBinaryExpression()
441 PreferredType.enterBinary(Actions, Tok.getLocation(), LHS.get(), in ParseRHSOfBinaryExpression()
727 auto SavedType = PreferredType; in ParseCastExpression()
1101 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedTok.getKind(), in ParseCastExpression()
1133 PreferredType.enterUnary(Actions, Tok.getLocation(), tok::amp, SavedLoc); in ParseCastExpression()
1157 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedKind, SavedLoc); in ParseCastExpression()
1530 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseCastExpression()
[all …]
H A DParseExprCXX.cpp230 auto SavedType = PreferredType; in ParseOptionalCXXScopeSpecifier()
1798 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression()
1810 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression()
1815 QualType PreferredType; in ParseCXXTypeConstructExpression() local
1817 PreferredType = in ParseCXXTypeConstructExpression()
1822 return PreferredType; in ParseCXXTypeConstructExpression()
1827 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseCXXTypeConstructExpression()
1892 PreferredType.enterCondition(Actions, Tok.getLocation()); in ParseCXXCondition()
2035 PreferredType.enterVariableInit(Tok.getLocation(), DeclOut); in ParseCXXCondition()
2947 QualType PreferredType; in ParseCXXNewExpression() local
[all …]
H A DParseStmt.cpp2309 PreferredType.enterReturn(Actions, Tok.getLocation()); in ParseReturnStatement()
2314 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseReturnStatement()
H A DParseOpenMP.cpp341 PreferredType.enterVariableInit(Tok.getLocation(), OmpPrivParm); in ParseOpenMPReductionInitializerForDecl()
360 QualType PreferredType = in ParseOpenMPReductionInitializerForDecl() local
365 return PreferredType; in ParseOpenMPReductionInitializerForDecl()
368 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseOpenMPReductionInitializerForDecl()
H A DParseDecl.cpp2612 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2652 QualType PreferredType = in ParseDeclarationAfterDeclaratorAndAttributes() local
2658 return PreferredType; in ParseDeclarationAfterDeclaratorAndAttributes()
2661 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseDeclarationAfterDeclaratorAndAttributes()
2703 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
H A DParseDeclCXX.cpp3955 QualType PreferredType = in ParseMemInitializer() local
3960 return PreferredType; in ParseMemInitializer()
3963 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseMemInitializer()
H A DParseTemplate.cpp1346 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseTemplateArgumentList()
H A DParser.cpp58 PreferredType(&actions.getASTContext(), pp.isCodeCompletionEnabled()), in Parser()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCodeCompletion.h105 void CodeCompleteExpression(Scope *S, QualType PreferredType,
110 QualType PreferredType);
112 QualType PreferredType);
160 QualType PreferredType);
H A DCodeCompleteConsumer.h359 QualType PreferredType; variable
389 PreferredType = T; in CCKind()
401 QualType getPreferredType() const { return PreferredType; } in getPreferredType()
402 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.cpp180 CanQualType PreferredType; member in __anone047e0890111::ResultBuilder
262 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()
4899 CodeCompleteExpressionData(QualType PreferredType = QualType(), in CodeCompleteExpressionData()
4901 : PreferredType(PreferredType), IntegralConstantExpression(false), in CodeCompleteExpressionData()
4904 QualType PreferredType; member
5020 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.cpp611 PassManagerType PreferredType) { in assignPassManager() argument
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLegacyPassManager.cpp1694 PassManagerType PreferredType) { in assignPassManager() argument
1698 T != PreferredType) in assignPassManager()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h536 PreferredTypeBuilder PreferredType; variable
8355 : P(p), PrevPreferredType(P.PreferredType) { in P()
8375 P.PreferredType = PrevPreferredType; in Revert()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td5144 def PreferredType: InheritableAttr {