Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseInit.cpp185 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
393 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
403 PreferredType.enterDesignatedInitializer( in ParseInitializerWithPotentialDesignator()
462 QualType LikelyType = PreferredType.get(T.getOpenLocation()); in ParseBraceInitializer()
466 QualType PreferredType; in ParseBraceInitializer() local
468 PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseBraceInitializer()
472 return PreferredType; in ParseBraceInitializer()
476 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseBraceInitializer()
577 PreferredType.get(Braces.getOpenLocation()), in ParseMicrosoftIfExistsBraceInitializer()
H A DParseExpr.cpp402 auto SavedType = PreferredType; in ParseRHSOfBinaryExpression()
405 PreferredType = SavedType; in ParseRHSOfBinaryExpression()
921 auto SavedType = PreferredType; in ParseCastExpression()
1818 PreferredType = SavedType; in ParseCastExpression()
1861 auto SavedType = PreferredType; in ParsePostfixExpressionSuffix()
1864 PreferredType = SavedType; in ParsePostfixExpressionSuffix()
2054 return PreferredType; in ParsePostfixExpressionSuffix()
2182 PreferredType.get(Tok.getLocation())); in ParsePostfixExpressionSuffix()
2841 PreferredType.enterParenExpr(Tok.getLocation(), OpenLoc); in ParseParenExpression()
2850 getCurScope(), PreferredType.get(Tok.getLocation()), in ParseParenExpression()
[all …]
H A DParseExprCXX.cpp234 auto SavedType = PreferredType; in ParseOptionalCXXScopeSpecifier()
1862 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression()
1874 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression()
1880 QualType PreferredType; in ParseCXXTypeConstructExpression() local
1882 PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseCXXTypeConstructExpression()
1886 return PreferredType; in ParseCXXTypeConstructExpression()
1891 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseCXXTypeConstructExpression()
1989 PreferredType.enterCondition(Actions, Tok.getLocation()); in ParseCXXCondition()
2127 PreferredType.enterVariableInit(Tok.getLocation(), DeclOut); in ParseCXXCondition()
3177 QualType PreferredType; in ParseCXXNewExpression() local
[all …]
H A DParseOpenMP.cpp462 PreferredType.enterVariableInit(Tok.getLocation(), OmpPrivParm); in ParseOpenMPReductionInitializerForDecl()
482 QualType PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseOpenMPReductionInitializerForDecl() local
486 return PreferredType; in ParseOpenMPReductionInitializerForDecl()
489 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseOpenMPReductionInitializerForDecl()
H A DParseStmt.cpp2344 PreferredType.enterReturn(Actions, Tok.getLocation()); in ParseReturnStatement()
2349 PreferredType.get(Tok.getLocation())); in ParseReturnStatement()
H A DParseDecl.cpp2444 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2487 QualType PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseDeclarationAfterDeclaratorAndAttributes() local
2492 return PreferredType; in ParseDeclarationAfterDeclaratorAndAttributes()
2495 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseDeclarationAfterDeclaratorAndAttributes()
2539 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
H A DParseDeclCXX.cpp3728 QualType PreferredType = Actions.ProduceCtorInitMemberSignatureHelp( in ParseMemInitializer() local
3732 return PreferredType; in ParseMemInitializer()
3736 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseMemInitializer()
H A DParseTemplate.cpp1614 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseTemplateArgumentList()
H A DParser.cpp52 : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions), in Parser()
/llvm-project-15.0.7/clang/unittests/Sema/
H A DCodeCompleteTest.cpp33 std::string PreferredType; member
50 ResultCtx.PreferredType = Context.getPreferredType().getAsString(); in ProcessCodeCompleteResults()
127 Types.push_back(Results.PreferredType); in collectPreferredTypes()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h352 QualType PreferredType; variable
382 PreferredType = T; in CCKind()
394 QualType getPreferredType() const { return PreferredType; } in getPreferredType()
395 void setPreferredType(QualType T) { PreferredType = T; } in setPreferredType()
H A DSema.h12882 void CodeCompleteExpression(Scope *S, QualType PreferredType,
12887 QualType PreferredType);
12889 QualType PreferredType);
12936 QualType PreferredType);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCodeComplete.cpp177 CanQualType PreferredType; member in __anon3bc9fbb90111::ResultBuilder
1026 if (!PreferredType.isNull()) { in AdjustResultPriorityForDecl()
4612 : PreferredType(PreferredType), IntegralConstantExpression(false), in CodeCompleteExpressionData()
4615 QualType PreferredType; member
4731 Data.PreferredType)); in CodeCompleteExpression()
6549 if (!PreferredType.isNull()) in CodeCompleteQualifiedId()
7944 QualType PreferredType; in getPreferredArgumentTypeForMessageSend() local
7968 return PreferredType; in getPreferredArgumentTypeForMessageSend()
8068 QualType PreferredType = in CodeCompleteObjCClassMessage() local
8070 if (PreferredType.isNull()) in CodeCompleteObjCClassMessage()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCodeComplete.cpp1418 llvm::Optional<OpaqueType> PreferredType; // Initialized once Sema runs. member in clang::clangd::__anonc7a99c3f0111::CodeCompleteFlow
1507 PreferredType ? Recorder->CCContext.getPreferredType().getAsString() in run()
1645 PreferredType = in runWithSema()
1701 if (PreferredType) in queryIndex()
1702 Req.PreferredTypes.push_back(std::string(PreferredType->raw())); in queryIndex()
1852 if (PreferredType) in addCandidate()
1872 if (PreferredType && in addCandidate()
1873 PreferredType->raw() == Candidate.IndexResult->Type) { in addCandidate()
1880 if (PreferredType) { in addCandidate()
1884 if (PreferredType == CompletionType) in addCandidate()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DRegionPass.cpp238 PassManagerType PreferredType) { in assignPassManager() argument
H A DLoopPass.cpp332 PassManagerType PreferredType) { in assignPassManager() argument
H A DCallGraphSCCPass.cpp620 PassManagerType PreferredType) { in assignPassManager() argument
/llvm-project-15.0.7/llvm/lib/IR/
H A DLegacyPassManager.cpp1726 PassManagerType PreferredType) { in assignPassManager() argument
1730 T != PreferredType) in assignPassManager()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h83 PreferredTypeBuilder PreferredType; variable
965 : P(p), PrevPreferredType(P.PreferredType) { in TentativeParsingAction()
985 P.PreferredType = PrevPreferredType; in Revert()