Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp1270 switch (DS.getTypeSpecType()) { in ConvertDeclSpecToType()
1290 << DS.getSpecifierName(DS.getTypeSpecType(), in ConvertDeclSpecToType()
1297 << DS.getSpecifierName(DS.getTypeSpecType(), in ConvertDeclSpecToType()
1756 << DS.getSpecifierName(DS.getTypeSpecType(), in ConvertDeclSpecToType()
6095 if (DS.getTypeSpecType() == TST_typename) { in VisitElaboratedTypeLoc()
6111 assert(DS.getTypeSpecType() == TST_typename); in VisitDependentNameTypeLoc()
6119 assert(DS.getTypeSpecType() == TST_typename); in VisitDependentTemplateSpecializationTypeLoc()
6127 assert(DS.getTypeSpecType() == TST_auto || in VisitAutoTypeLoc()
6129 DS.getTypeSpecType() == TST_auto_type || in VisitAutoTypeLoc()
6130 DS.getTypeSpecType() == TST_unspecified); in VisitAutoTypeLoc()
[all …]
H A DDeclSpec.cpp343 switch (DS.getTypeSpecType()) { in isDeclarationOfFunction()
1106 writtenBS.Type = getTypeSpecType(); in SaveWrittenBuiltinSpecs()
1445 TST tst = getTypeSpecType(); in isMissingDeclaratorOk()
H A DSemaCXXScopeSpec.cpp870 if (SS.isInvalid() || DS.getTypeSpecType() == DeclSpec::TST_error) in ActOnCXXNestedNameSpecifierDecltype()
873 assert(DS.getTypeSpecType() == DeclSpec::TST_decltype); in ActOnCXXNestedNameSpecifierDecltype()
H A DSemaTemplateVariadic.cpp858 switch (DS.getTypeSpecType()) { in containsUnexpandedParameterPacks()
H A DSemaDecl.cpp4982 if (DS.getTypeSpecType() == DeclSpec::TST_class || in ParsedFreeStandingDeclSpec()
4983 DS.getTypeSpecType() == DeclSpec::TST_struct || in ParsedFreeStandingDeclSpec()
4984 DS.getTypeSpecType() == DeclSpec::TST_interface || in ParsedFreeStandingDeclSpec()
4985 DS.getTypeSpecType() == DeclSpec::TST_union || in ParsedFreeStandingDeclSpec()
4986 DS.getTypeSpecType() == DeclSpec::TST_enum) { in ParsedFreeStandingDeclSpec()
5108 DS.getTypeSpecType() == DeclSpec::TST_typename) { in ParsedFreeStandingDeclSpec()
5129 if (DS.getTypeSpecType() == DeclSpec::TST_error || in ParsedFreeStandingDeclSpec()
5219 DeclSpec::TST TypeSpecType = DS.getTypeSpecType(); in ParsedFreeStandingDeclSpec()
5914 switch (DS.getTypeSpecType()) { in RebuildDeclaratorInCurrentInstantiation()
14077 if (DeclSpec::isDeclRep(DS.getTypeSpecType())) { in FinalizeDeclaratorGroup()
[all …]
H A DSemaExprCXX.cpp464 if (DS.getTypeSpecType() == DeclSpec::TST_error) in getDestructorTypeForDecltype()
467 if (DS.getTypeSpecType() == DeclSpec::TST_decltype_auto) { in getDestructorTypeForDecltype()
472 assert(DS.getTypeSpecType() == DeclSpec::TST_decltype && in getDestructorTypeForDecltype()
7961 if (DS.getTypeSpecType() == DeclSpec::TST_decltype_auto) { in ActOnPseudoDestructorExpr()
H A DSemaDeclCXX.cpp819 if (DS.getTypeSpecType() != DeclSpec::TST_auto || in ActOnDecompositionDeclarator()
4265 } else if (DS.getTypeSpecType() == TST_decltype) { in BuildMemInitializer()
4267 } else if (DS.getTypeSpecType() == TST_decltype_auto) { in BuildMemInitializer()
11014 Diagnoser.check(DS.getTypeSpecTypeLoc(), DS.getTypeSpecType()); in CheckDeductionGuideDeclarator()
11829 switch (DS.getTypeSpecType()) { in ActOnUsingEnumDeclaration()
H A DSemaCodeComplete.cpp4410 (DS.getTypeSpecType() == DeclSpec::TST_class || in CodeCompleteDeclSpec()
4411 DS.getTypeSpecType() == DeclSpec::TST_struct)) in CodeCompleteDeclSpec()
4437 DS.getTypeSpecType() == DeclSpec::TST_typename && in CodeCompleteDeclSpec()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h476 TST getTypeSpecType() const { return (TST)TypeSpecType; } in getTypeSpecType() function
623 return getTypeSpecType() != DeclSpec::TST_unspecified || in hasTypeSpecifier()
1919 InvalidType(DS.getTypeSpecType() == DeclSpec::TST_error), in Declarator()
2599 return InvalidType || DS.getTypeSpecType() == DeclSpec::TST_error; in isInvalidType()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDeclCXX.cpp1125 if (DS.getTypeSpecType() == TST_error) { in AnnotateExistingDecltypeSpecifier()
1137 DS.getTypeSpecType() == TST_decltype ? DS.getRepAsExpr() in AnnotateExistingDecltypeSpecifier()
1138 : DS.getTypeSpecType() == TST_decltype_auto ? ExprResult() in AnnotateExistingDecltypeSpecifier()
1827 (DS.getTypeSpecType() == DeclSpec::TST_error || in ParseClassSpecifier()
1829 if (DS.getTypeSpecType() != DeclSpec::TST_error) { in ParseClassSpecifier()
4006 D.getDeclSpec().getTypeSpecType() == TST_auto) { in ParseTrailingRequiresClause()
H A DParser.cpp1119 DeclSpec::isDeclRep(DS.getTypeSpecType()) in ParseDeclOrFunctionDefInternal()
1121 LengthOfTSTToken(DS.getTypeSpecType())) in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp3079 << DeclSpec::getSpecifierName(DS.getTypeSpecType(), PPol) << tok::semi; in DiagnoseMissingSemiAfterTagDefinition()
3463 if (DS.getTypeSpecType() == TST_bool && in ParseDeclarationSpecifiers()
4068 DS.getTypeSpecType() != DeclSpec::TST_unspecified && in ParseDeclarationSpecifiers()
6170 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator()
6811 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator()
H A DParseTemplate.cpp999 if (DS.getTypeSpecType() == DeclSpec::TST_unspecified) { in ParseNonTypeTemplateParameter()
H A DParseExprCXX.cpp221 if (DS.getTypeSpecType() == DeclSpec::TST_decltype_auto || in ParseOptionalCXXScopeSpecifier()
1738 if (DS.getTypeSpecType() == TST_error) in ParseCXXPseudoDestructor()