Home
last modified time | relevance | path

Searched refs:getTypeSpecType (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp783 if (SS.isInvalid() || DS.getTypeSpecType() == DeclSpec::TST_error) in ActOnCXXNestedNameSpecifierDecltype()
786 assert(DS.getTypeSpecType() == DeclSpec::TST_decltype); in ActOnCXXNestedNameSpecifierDecltype()
810 if (SS.isInvalid() || DS.getTypeSpecType() == DeclSpec::TST_error) in ActOnCXXNestedNameSpecifierIndexedPack()
813 assert(DS.getTypeSpecType() == DeclSpec::TST_typename_pack_indexing); in ActOnCXXNestedNameSpecifierIndexedPack()
H A DSemaType.cpp909 switch (DS.getTypeSpecType()) { in ConvertDeclSpecToType()
929 << DS.getSpecifierName(DS.getTypeSpecType(), in ConvertDeclSpecToType()
936 << DS.getSpecifierName(DS.getTypeSpecType(), in ConvertDeclSpecToType()
1219 = ElaboratedType::getKeywordForTypeSpec(DS.getTypeSpecType()); in ConvertDeclSpecToType()
1247 Result, DS.getTypeSpecType() == DeclSpec::TST_typeof_unqualType in ConvertDeclSpecToType()
1256 Result = S.BuildTypeofExprType(E, DS.getTypeSpecType() == in ConvertDeclSpecToType()
1295 Result, TSTToUnaryTransformType(DS.getTypeSpecType()), in ConvertDeclSpecToType()
1305 auto AutoKW = DS.getTypeSpecType() == DeclSpec::TST_decltype_auto in ConvertDeclSpecToType()
1416 bool IsFixedPointType = DS.getTypeSpecType() == DeclSpec::TST_accum || in ConvertDeclSpecToType()
1417 DS.getTypeSpecType() == DeclSpec::TST_fract; in ConvertDeclSpecToType()
[all …]
H A DDeclSpec.cpp340 switch (DS.getTypeSpecType()) { in isDeclarationOfFunction()
1146 writtenBS.Type = getTypeSpecType(); in SaveWrittenBuiltinSpecs()
1507 TST tst = getTypeSpecType(); in isMissingDeclaratorOk()
H A DSemaDecl.cpp5085 DeclSpec::TST T = DS.getTypeSpecType(); in GetDiagnosticTypeSpecifierID()
5117 if (DS.getTypeSpecType() == DeclSpec::TST_class || in ParsedFreeStandingDeclSpec()
5118 DS.getTypeSpecType() == DeclSpec::TST_struct || in ParsedFreeStandingDeclSpec()
5119 DS.getTypeSpecType() == DeclSpec::TST_interface || in ParsedFreeStandingDeclSpec()
5120 DS.getTypeSpecType() == DeclSpec::TST_union || in ParsedFreeStandingDeclSpec()
5121 DS.getTypeSpecType() == DeclSpec::TST_enum) { in ParsedFreeStandingDeclSpec()
5229 DS.getTypeSpecType() == DeclSpec::TST_typename) { in ParsedFreeStandingDeclSpec()
5250 if (DS.getTypeSpecType() == DeclSpec::TST_error || in ParsedFreeStandingDeclSpec()
5340 DeclSpec::TST TypeSpecType = DS.getTypeSpecType(); in ParsedFreeStandingDeclSpec()
6065 switch (DS.getTypeSpecType()) { in RebuildDeclaratorInCurrentInstantiation()
[all …]
H A DSemaTemplateVariadic.cpp1003 switch (DS.getTypeSpecType()) { in containsUnexpandedParameterPacks()
H A DSemaExprCXX.cpp451 if (DS.getTypeSpecType() == DeclSpec::TST_error) in getDestructorTypeForDecltype()
454 if (DS.getTypeSpecType() == DeclSpec::TST_decltype_auto) { in getDestructorTypeForDecltype()
459 assert(DS.getTypeSpecType() == DeclSpec::TST_decltype && in getDestructorTypeForDecltype()
7339 DS.getTypeSpecType() == DeclSpec::TST_error) in ActOnPseudoDestructorExpr()
7342 switch (DS.getTypeSpecType()) { in ActOnPseudoDestructorExpr()
H A DSemaCodeComplete.cpp4697 (DS.getTypeSpecType() == DeclSpec::TST_class || in CodeCompleteDeclSpec()
4698 DS.getTypeSpecType() == DeclSpec::TST_struct)) in CodeCompleteDeclSpec()
4724 DS.getTypeSpecType() == DeclSpec::TST_typename && in CodeCompleteDeclSpec()
H A DSemaDeclCXX.cpp840 if (DS.getTypeSpecType() != DeclSpec::TST_auto || in ActOnDecompositionDeclarator()
4432 } else if (DS.getTypeSpecType() == TST_decltype) { in BuildMemInitializer()
4434 } else if (DS.getTypeSpecType() == TST_decltype_auto) { in BuildMemInitializer()
4437 } else if (DS.getTypeSpecType() == TST_typename_pack_indexing) { in BuildMemInitializer()
11661 Diagnoser.check(DS.getTypeSpecTypeLoc(), DS.getTypeSpecType()); in CheckDeductionGuideDeclarator()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h536 TST getTypeSpecType() const { return (TST)TypeSpecType; } in getTypeSpecType() function
691 return getTypeSpecType() != DeclSpec::TST_unspecified || in hasTypeSpecifier()
2028 InvalidType(DS.getTypeSpecType() == DeclSpec::TST_error), in Declarator()
2718 return InvalidType || DS.getTypeSpecType() == DeclSpec::TST_error; in isInvalidType()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp1136 if (DS.getTypeSpecType() == TST_error) { in AnnotateExistingDecltypeSpecifier()
1148 DS.getTypeSpecType() == TST_decltype ? DS.getRepAsExpr() in AnnotateExistingDecltypeSpecifier()
1149 : DS.getTypeSpecType() == TST_decltype_auto ? ExprResult() in AnnotateExistingDecltypeSpecifier()
1964 (DS.getTypeSpecType() == DeclSpec::TST_error || in ParseClassSpecifier()
1966 if (DS.getTypeSpecType() != DeclSpec::TST_error) { in ParseClassSpecifier()
4232 D.getDeclSpec().getTypeSpecType() == TST_auto) { in ParseTrailingRequiresClause()
H A DParseDecl.cpp3336 << DeclSpec::getSpecifierName(DS.getTypeSpecType(), PPol) << tok::semi; in DiagnoseMissingSemiAfterTagDefinition()
3737 if (DS.getTypeSpecType() == TST_bool && in ParseDeclarationSpecifiers()
4382 DS.getTypeSpecType() != DeclSpec::TST_unspecified && in ParseDeclarationSpecifiers()
4653 if (DS.getTypeSpecType() != DeclSpec::TST_struct) in DiagnoseCountAttributedTypeInUnnamedAnon()
6600 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator()
6720 D.getDeclSpec().getTypeSpecType() == TST_auto) == in ParseDirectDeclarator()
7295 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator()
H A DParseExprCXX.cpp175 if (DS.getTypeSpecType() == DeclSpec::TST_decltype_auto || in ParseOptionalCXXScopeSpecifier()
195 if (DS.getTypeSpecType() == DeclSpec::TST_error) in ParseOptionalCXXScopeSpecifier()
1696 if (DS.getTypeSpecType() == TST_error) in ParseCXXPseudoDestructor()
H A DParser.cpp1123 DeclSpec::isDeclRep(DS.getTypeSpecType()) in ParseDeclOrFunctionDefInternal()
1125 LengthOfTSTToken(DS.getTypeSpecType())) in ParseDeclOrFunctionDefInternal()
H A DParseTemplate.cpp813 if (DS.getTypeSpecType() == DeclSpec::TST_unspecified) { in ParseNonTypeTemplateParameter()