Searched refs:getTypeQualifiers (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 3955 DS.getTypeQualifiers() == DeclSpec::TQ_const && in ParseDeclarationSpecifiers() 6692 SS, DS.getTypeQualifiers(), StarLoc, DS.getEndLoc()), in ParseDeclaratorInternal() 6706 DeclaratorChunk::getPipe(DS.getTypeQualifiers(), DS.getPipeLoc()), in ParseDeclaratorInternal() 6741 DS.getTypeQualifiers(), Loc, DS.getConstSpecLoc(), in ParseDeclaratorInternal() 6748 DeclaratorChunk::getBlockPointer(DS.getTypeQualifiers(), Loc), in ParseDeclaratorInternal() 6768 if (DS.getTypeQualifiers() != DeclSpec::TQ_unspecified) { in ParseDeclaratorInternal() 6769 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParseDeclaratorInternal() 6772 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in ParseDeclaratorInternal() 6776 if (DS.getTypeQualifiers() & DeclSpec::TQ_atomic) in ParseDeclaratorInternal() 6803 D.AddTypeInfo(DeclaratorChunk::getReference(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal() [all …]
|
H A D | ParseDeclCXX.cpp | 2776 if (DS.getTypeQualifiers() != DeclSpec::TQ_unspecified) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() 2781 if (!(MQ.getTypeQualifiers() & TypeQual)) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 188 assert(!(MethodQualifiers && MethodQualifiers->getTypeQualifiers() & DeclSpec::TQ_atomic) && in getFunction() 221 if (MethodQualifiers && (MethodQualifiers->getTypeQualifiers() || in getFunction()
|
H A D | SemaDeclCXX.cpp | 823 if ((DS.getTypeQualifiers() & DeclSpec::TQ_volatile) && in ActOnDecompositionDeclarator() 3422 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator() 10773 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() 10936 else if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckDestructorDeclarator() 11038 } else if (DS.getTypeQualifiers() && !D.isInvalidType()) { in CheckConversionDeclarator() 11393 if (DS.hasTypeSpecifier() || DS.getTypeQualifiers() || in CheckDeductionGuideDeclarator() 17522 if (DS.getTypeQualifiers()) { in ActOnFriendTypeDecl() 17523 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ActOnFriendTypeDecl() 17525 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in ActOnFriendTypeDecl() 17527 if (DS.getTypeQualifiers() in ActOnFriendTypeDecl() [all...] |
H A D | SemaDecl.cpp | 5032 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec() 5210 if (DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec() 5211 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParsedFreeStandingDeclSpec() 5213 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in ParsedFreeStandingDeclSpec() 5216 if (DS.getTypeQualifiers() & DeclSpec::TQ_atomic) in ParsedFreeStandingDeclSpec() 5218 if (DS.getTypeQualifiers() & DeclSpec::TQ_unaligned) in ParsedFreeStandingDeclSpec() 5502 if (DS.getTypeQualifiers()) { in BuildAnonymousStructOrUnion() 5503 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in BuildAnonymousStructOrUnion() 5507 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in BuildAnonymousStructOrUnion() 5512 if (DS.getTypeQualifiers() & DeclSpec::TQ_restrict) in BuildAnonymousStructOrUnion() [all …]
|
H A D | SemaType.cpp | 850 unsigned TypeQuals = DS.getTypeQualifiers(); in checkOmittedBlockReturnType() 1479 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ConvertDeclSpecToType() 2955 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers() 3533 D.getDeclSpec().getTypeQualifiers() == 0 && D.isFirstDeclarator(); in warnAboutRedundantParens() 5104 FTI.MethodQualifiers ? FTI.MethodQualifiers->getTypeQualifiers() in GetFullTypeForDeclarator()
|
H A D | SemaCodeComplete.cpp | 5959 if (!(DS.getTypeQualifiers() & DeclSpec::TQ_const)) in AddTypeQualifierResults() 5961 if (!(DS.getTypeQualifiers() & DeclSpec::TQ_volatile)) in AddTypeQualifierResults() 5963 if (LangOpts.C99 && !(DS.getTypeQualifiers() & DeclSpec::TQ_restrict)) in AddTypeQualifierResults() 5965 if (LangOpts.C11 && !(DS.getTypeQualifiers() & DeclSpec::TQ_atomic)) in AddTypeQualifierResults() 5967 if (LangOpts.MSVCCompat && !(DS.getTypeQualifiers() & DeclSpec::TQ_unaligned)) in AddTypeQualifierResults()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 613 unsigned getTypeQualifiers() const { return TypeQualifiers; } in getTypeQualifiers() function 1559 return MethodQualifiers && (MethodQualifiers->getTypeQualifiers() || in hasMethodTypeQualifiers()
|