Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp187 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
395 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
405 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
467 QualType LikelyType = PreferredType.get(T.getOpenLocation()); in ParseBraceInitializer()
471 QualType PreferredType; in ParseBraceInitializer() local
473 PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseBraceInitializer()
477 return PreferredType; in ParseBraceInitializer()
481 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseBraceInitializer()
582 PreferredType.get(Braces.getOpenLocation()), in ParseMicrosoftIfExistsBraceInitializer()
H A DParseExpr.cpp414 auto SavedType = PreferredType; in ParseRHSOfBinaryExpression()
417 PreferredType = SavedType; in ParseRHSOfBinaryExpression()
935 auto SavedType = PreferredType; in ParseCastExpression()
1877 PreferredType = SavedType; in ParseCastExpression()
1920 auto SavedType = PreferredType; in ParsePostfixExpressionSuffix()
1923 PreferredType = SavedType; in ParsePostfixExpressionSuffix()
2125 return PreferredType; in ParsePostfixExpressionSuffix()
2250 PreferredType.get(Tok.getLocation())); in ParsePostfixExpressionSuffix()
2961 PreferredType.enterParenExpr(Tok.getLocation(), OpenLoc); in ParseParenExpression()
2970 getCurScope(), PreferredType.get(Tok.getLocation()), in ParseParenExpression()
[all …]
H A DParseExprCXX.cpp237 auto SavedType = PreferredType; in ParseOptionalCXXScopeSpecifier()
1926 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression()
1938 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression()
1943 QualType PreferredType; in ParseCXXTypeConstructExpression() local
1945 PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseCXXTypeConstructExpression()
1949 return PreferredType; in ParseCXXTypeConstructExpression()
1954 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseCXXTypeConstructExpression()
2050 PreferredType.enterCondition(Actions, Tok.getLocation()); in ParseCXXCondition()
2186 PreferredType.enterVariableInit(Tok.getLocation(), DeclOut); in ParseCXXCondition()
3256 QualType PreferredType; in ParseCXXNewExpression() local
[all …]
H A DParseOpenMP.cpp464 PreferredType.enterVariableInit(Tok.getLocation(), OmpPrivParm); in ParseOpenMPReductionInitializerForDecl()
483 QualType PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseOpenMPReductionInitializerForDecl() local
487 return PreferredType; in ParseOpenMPReductionInitializerForDecl()
490 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseOpenMPReductionInitializerForDecl()
H A DParseStmt.cpp2430 PreferredType.enterReturn(Actions, Tok.getLocation()); in ParseReturnStatement()
2435 PreferredType.get(Tok.getLocation())); in ParseReturnStatement()
H A DParseDecl.cpp2603 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2645 QualType PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseDeclarationAfterDeclaratorAndAttributes() local
2650 return PreferredType; in ParseDeclarationAfterDeclaratorAndAttributes()
2653 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseDeclarationAfterDeclaratorAndAttributes()
2697 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
H A DParseDeclCXX.cpp3881 QualType PreferredType = Actions.ProduceCtorInitMemberSignatureHelp( in ParseMemInitializer() local
3885 return PreferredType; in ParseMemInitializer()
3888 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseMemInitializer()
H A DParseTemplate.cpp1660 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseTemplateArgumentList()
H A DParser.cpp54 : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions), in Parser()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/include/clang/Sema/
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()
H A DSema.h13683 void CodeCompleteExpression(Scope *S, QualType PreferredType,
13688 QualType PreferredType);
13690 QualType PreferredType);
13737 QualType PreferredType);
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp178 CanQualType PreferredType; member in __anonc4c61bbf0111::ResultBuilder
1048 if (!PreferredType.isNull()) { in AdjustResultPriorityForDecl()
4729 : PreferredType(PreferredType), IntegralConstantExpression(false), in CodeCompleteExpressionData()
4732 QualType PreferredType; member
4848 Data.PreferredType)); in CodeCompleteExpression()
6690 if (!PreferredType.isNull()) in CodeCompleteQualifiedId()
8088 QualType PreferredType; in getPreferredArgumentTypeForMessageSend() local
8112 return PreferredType; in getPreferredArgumentTypeForMessageSend()
8212 QualType PreferredType = in CodeCompleteObjCClassMessage() local
8214 if (PreferredType.isNull()) in CodeCompleteObjCClassMessage()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DRegionPass.cpp238 PassManagerType PreferredType) { in assignPassManager() argument
H A DLoopPass.cpp332 PassManagerType PreferredType) { in assignPassManager() argument
H A DCallGraphSCCPass.cpp613 PassManagerType PreferredType) { in assignPassManager() argument
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLegacyPassManager.cpp1739 PassManagerType PreferredType) { in assignPassManager() argument
1743 T != PreferredType) in assignPassManager()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h79 PreferredTypeBuilder PreferredType; variable
1003 : P(p), PrevPreferredType(P.PreferredType) { in TentativeParsingAction()
1023 P.PreferredType = PrevPreferredType; in Revert()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td4427 def PreferredType: InheritableAttr {