Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp165 PreferredType.get(Tok.getLocation())); in ParseAssignmentExpression()
403 auto SavedType = PreferredType; in ParseRHSOfBinaryExpression()
406 PreferredType = SavedType; in ParseRHSOfBinaryExpression()
527 PreferredType.enterBinary(Actions, Tok.getLocation(), LHS.get(), in ParseRHSOfBinaryExpression()
922 auto SavedType = PreferredType; in ParseCastExpression()
1342 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedTok.getKind(), in ParseCastExpression()
1373 PreferredType.enterUnary(Actions, Tok.getLocation(), tok::amp, SavedLoc); in ParseCastExpression()
1396 PreferredType.enterUnary(Actions, Tok.getLocation(), SavedKind, SavedLoc); in ParseCastExpression()
1755 PreferredType.get(Tok.getLocation())); in ParseCastExpression()
1846 PreferredType = SavedType; in ParseCastExpression()
[all …]
H A DParseExprCXX.cpp236 auto SavedType = PreferredType; in ParseOptionalCXXScopeSpecifier()
1916 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression()
1928 PreferredType.enterTypeCast(Tok.getLocation(), TypeRep.get()); in ParseCXXTypeConstructExpression()
1933 QualType PreferredType; in ParseCXXTypeConstructExpression() local
1935 PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseCXXTypeConstructExpression()
1939 return PreferredType; in ParseCXXTypeConstructExpression()
1944 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseCXXTypeConstructExpression()
2040 PreferredType.enterCondition(Actions, Tok.getLocation()); in ParseCXXCondition()
2178 PreferredType.enterVariableInit(Tok.getLocation(), DeclOut); in ParseCXXCondition()
3241 QualType PreferredType; in ParseCXXNewExpression() local
[all …]
H A DParseOpenMP.cpp463 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.cpp2366 PreferredType.enterReturn(Actions, Tok.getLocation()); in ParseReturnStatement()
2371 PreferredType.get(Tok.getLocation())); in ParseReturnStatement()
H A DParseDecl.cpp2463 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
2505 QualType PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseDeclarationAfterDeclaratorAndAttributes() local
2510 return PreferredType; in ParseDeclarationAfterDeclaratorAndAttributes()
2513 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseDeclarationAfterDeclaratorAndAttributes()
2553 PreferredType.enterVariableInit(Tok.getLocation(), ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
H A DParseDeclCXX.cpp3821 QualType PreferredType = Actions.ProduceCtorInitMemberSignatureHelp( in ParseMemInitializer() local
3825 return PreferredType; in ParseMemInitializer()
3828 PreferredType.enterFunctionArgument(Tok.getLocation(), in ParseMemInitializer()
H A DParseTemplate.cpp1633 PreferredType.enterFunctionArgument(Tok.getLocation(), RunSignatureHelp); in ParseTemplateArgumentList()
H A DParser.cpp52 : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions), in Parser()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h351 QualType PreferredType; variable
381 PreferredType = T; in CCKind()
393 QualType getPreferredType() const { return PreferredType; } in getPreferredType()
394 void setPreferredType(QualType T) { PreferredType = T; } in setPreferredType()
H A DSema.h13255 void CodeCompleteExpression(Scope *S, QualType PreferredType,
13260 QualType PreferredType);
13262 QualType PreferredType);
13309 QualType PreferredType);
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCodeComplete.cpp178 CanQualType PreferredType; member in __anon4b9354e00111::ResultBuilder
259 PreferredType = SemaRef.Context.getCanonicalType(T); in setPreferredType()
1027 if (!PreferredType.isNull()) { in AdjustResultPriorityForDecl()
1032 if (SemaRef.Context.hasSameUnqualifiedType(PreferredType, TC)) in AdjustResultPriorityForDecl()
1035 else if ((getSimplifiedTypeClass(PreferredType) == in AdjustResultPriorityForDecl()
1037 !(PreferredType->isEnumeralType() && TC->isEnumeralType())) in AdjustResultPriorityForDecl()
4646 CodeCompleteExpressionData(QualType PreferredType = QualType(), in CodeCompleteExpressionData()
4648 : PreferredType(PreferredType), IntegralConstantExpression(false), in CodeCompleteExpressionData()
4651 QualType PreferredType; member
4767 Data.PreferredType)); in CodeCompleteExpression()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DRegionPass.cpp238 PassManagerType PreferredType) { in assignPassManager() argument
H A DLoopPass.cpp332 PassManagerType PreferredType) { in assignPassManager() argument
H A DCallGraphSCCPass.cpp612 PassManagerType PreferredType) { in assignPassManager() argument
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DLegacyPassManager.cpp1726 PassManagerType PreferredType) { in assignPassManager() argument
1730 T != PreferredType) in assignPassManager()
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h85 PreferredTypeBuilder PreferredType; variable
983 : P(p), PrevPreferredType(P.PreferredType) { in TentativeParsingAction()
1003 P.PreferredType = PrevPreferredType; in Revert()