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.cpp789 if (SS.isInvalid() || DS.getTypeSpecType() == DeclSpec::TST_error) in ActOnCXXNestedNameSpecifierDecltype()
792 assert(DS.getTypeSpecType() == DeclSpec::TST_decltype); in ActOnCXXNestedNameSpecifierDecltype()
817 if (SS.isInvalid() || DS.getTypeSpecType() == DeclSpec::TST_error) in ActOnCXXNestedNameSpecifierIndexedPack()
820 assert(DS.getTypeSpecType() == DeclSpec::TST_typename_pack_indexing); in ActOnCXXNestedNameSpecifierIndexedPack()
H A DSemaType.cpp898 switch (DS.getTypeSpecType()) { in ConvertDeclSpecToType()
918 << DS.getSpecifierName(DS.getTypeSpecType(), in ConvertDeclSpecToType()
925 << DS.getSpecifierName(DS.getTypeSpecType(), in ConvertDeclSpecToType()
1210 = ElaboratedType::getKeywordForTypeSpec(DS.getTypeSpecType()); in ConvertDeclSpecToType()
1238 Result, DS.getTypeSpecType() == DeclSpec::TST_typeof_unqualType in ConvertDeclSpecToType()
1247 Result = S.BuildTypeofExprType(E, DS.getTypeSpecType() == in ConvertDeclSpecToType()
1286 Result, TSTToUnaryTransformType(DS.getTypeSpecType()), in ConvertDeclSpecToType()
1296 auto AutoKW = DS.getTypeSpecType() == DeclSpec::TST_decltype_auto in ConvertDeclSpecToType()
1401 bool IsFixedPointType = DS.getTypeSpecType() == DeclSpec::TST_accum || in ConvertDeclSpecToType()
1402 DS.getTypeSpecType() == DeclSpec::TST_fract; in ConvertDeclSpecToType()
[all …]
H A DDeclSpec.cpp343 switch (DS.getTypeSpecType()) { in isDeclarationOfFunction()
1143 writtenBS.Type = getTypeSpecType(); in SaveWrittenBuiltinSpecs()
1499 TST tst = getTypeSpecType(); in isMissingDeclaratorOk()
H A DSemaTemplateVariadic.cpp883 switch (DS.getTypeSpecType()) { in containsUnexpandedParameterPacks()
H A DSemaDecl.cpp4975 DeclSpec::TST T = DS.getTypeSpecType(); in GetDiagnosticTypeSpecifierID()
5006 if (DS.getTypeSpecType() == DeclSpec::TST_class || in ParsedFreeStandingDeclSpec()
5007 DS.getTypeSpecType() == DeclSpec::TST_struct || in ParsedFreeStandingDeclSpec()
5008 DS.getTypeSpecType() == DeclSpec::TST_interface || in ParsedFreeStandingDeclSpec()
5009 DS.getTypeSpecType() == DeclSpec::TST_union || in ParsedFreeStandingDeclSpec()
5010 DS.getTypeSpecType() == DeclSpec::TST_enum) { in ParsedFreeStandingDeclSpec()
5115 DS.getTypeSpecType() == DeclSpec::TST_typename) { in ParsedFreeStandingDeclSpec()
5136 if (DS.getTypeSpecType() == DeclSpec::TST_error || in ParsedFreeStandingDeclSpec()
5226 DeclSpec::TST TypeSpecType = DS.getTypeSpecType(); in ParsedFreeStandingDeclSpec()
5951 switch (DS.getTypeSpecType()) { in RebuildDeclaratorInCurrentInstantiation()
[all …]
H A DSemaExprCXX.cpp469 if (DS.getTypeSpecType() == DeclSpec::TST_error) in getDestructorTypeForDecltype()
472 if (DS.getTypeSpecType() == DeclSpec::TST_decltype_auto) { in getDestructorTypeForDecltype()
477 assert(DS.getTypeSpecType() == DeclSpec::TST_decltype && in getDestructorTypeForDecltype()
8320 switch (DS.getTypeSpecType()) { in ActOnPseudoDestructorExpr()
H A DSemaDeclCXX.cpp838 if (DS.getTypeSpecType() != DeclSpec::TST_auto || in ActOnDecompositionDeclarator()
4342 } else if (DS.getTypeSpecType() == TST_decltype) { in BuildMemInitializer()
4344 } else if (DS.getTypeSpecType() == TST_decltype_auto) { in BuildMemInitializer()
4347 } else if (DS.getTypeSpecType() == TST_typename_pack_indexing) { in BuildMemInitializer()
11420 Diagnoser.check(DS.getTypeSpecTypeLoc(), DS.getTypeSpecType()); in CheckDeductionGuideDeclarator()
H A DSemaCodeComplete.cpp4534 (DS.getTypeSpecType() == DeclSpec::TST_class || in CodeCompleteDeclSpec()
4535 DS.getTypeSpecType() == DeclSpec::TST_struct)) in CodeCompleteDeclSpec()
4561 DS.getTypeSpecType() == DeclSpec::TST_typename && in CodeCompleteDeclSpec()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h534 TST getTypeSpecType() const { return (TST)TypeSpecType; } in getTypeSpecType() function
689 return getTypeSpecType() != DeclSpec::TST_unspecified || in hasTypeSpecifier()
2025 InvalidType(DS.getTypeSpecType() == DeclSpec::TST_error), in Declarator()
2715 return InvalidType || DS.getTypeSpecType() == DeclSpec::TST_error; in isInvalidType()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp1234 if (DS.getTypeSpecType() == TST_error) { in AnnotateExistingDecltypeSpecifier()
1246 DS.getTypeSpecType() == TST_decltype ? DS.getRepAsExpr() in AnnotateExistingDecltypeSpecifier()
1247 : DS.getTypeSpecType() == TST_decltype_auto ? ExprResult() in AnnotateExistingDecltypeSpecifier()
2117 (DS.getTypeSpecType() == DeclSpec::TST_error || in ParseClassSpecifier()
2119 if (DS.getTypeSpecType() != DeclSpec::TST_error) { in ParseClassSpecifier()
4366 D.getDeclSpec().getTypeSpecType() == TST_auto) { in ParseTrailingRequiresClause()
H A DParseDecl.cpp3533 << DeclSpec::getSpecifierName(DS.getTypeSpecType(), PPol) << tok::semi; in DiagnoseMissingSemiAfterTagDefinition()
3954 if (DS.getTypeSpecType() == TST_bool && in ParseDeclarationSpecifiers()
4589 DS.getTypeSpecType() != DeclSpec::TST_unspecified && in ParseDeclarationSpecifiers()
4853 if (DS.getTypeSpecType() != DeclSpec::TST_struct) in DiagnoseCountAttributedTypeInUnnamedAnon()
6934 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator()
7054 D.getDeclSpec().getTypeSpecType() == TST_auto) == in ParseDirectDeclarator()
7634 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator()
H A DParseExprCXX.cpp227 if (DS.getTypeSpecType() == DeclSpec::TST_decltype_auto || in ParseOptionalCXXScopeSpecifier()
246 if (DS.getTypeSpecType() == DeclSpec::TST_error) in ParseOptionalCXXScopeSpecifier()
1890 if (DS.getTypeSpecType() == TST_error) in ParseCXXPseudoDestructor()
H A DParser.cpp1185 DeclSpec::isDeclRep(DS.getTypeSpecType()) in ParseDeclOrFunctionDefInternal()
1187 LengthOfTSTToken(DS.getTypeSpecType())) in ParseDeclOrFunctionDefInternal()
H A DParseTemplate.cpp918 if (DS.getTypeSpecType() == DeclSpec::TST_unspecified) { in ParseNonTypeTemplateParameter()