Home
last modified time | relevance | path

Searched refs:getTypeQualifiers (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/lib/Parse/
DParseStmtAsm.cpp683 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParseAsmStatement()
685 if (DS.getTypeQualifiers() & DeclSpec::TQ_restrict) in ParseAsmStatement()
688 if (DS.getTypeQualifiers() & DeclSpec::TQ_atomic) in ParseAsmStatement()
692 bool isVolatile = DS.getTypeQualifiers() & DeclSpec::TQ_volatile; in ParseAsmStatement()
DParseDecl.cpp2961 DS.getTypeQualifiers() == DeclSpec::TQ_const && in ParseDeclarationSpecifiers()
5032 D.AddTypeInfo(DeclaratorChunk::getMemberPointer(SS,DS.getTypeQualifiers(), in ParseDeclaratorInternal()
5047 DeclaratorChunk::getPipe(DS.getTypeQualifiers(), DS.getPipeLoc()), in ParseDeclaratorInternal()
5080 D.AddTypeInfo(DeclaratorChunk::getPointer(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal()
5090 D.AddTypeInfo(DeclaratorChunk::getBlockPointer(DS.getTypeQualifiers(), in ParseDeclaratorInternal()
5112 if (DS.getTypeQualifiers() != DeclSpec::TQ_unspecified) { in ParseDeclaratorInternal()
5113 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParseDeclaratorInternal()
5116 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in ParseDeclaratorInternal()
5120 if (DS.getTypeQualifiers() & DeclSpec::TQ_atomic) in ParseDeclaratorInternal()
5146 D.AddTypeInfo(DeclaratorChunk::getReference(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal()
[all …]
DParseCXXInlineMethods.cpp428 Method->getTypeQualifiers(), in ParseLexedMethodDeclaration()
DParseDeclCXX.cpp2174 if (DS.getTypeQualifiers() != DeclSpec::TQ_unspecified) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2180 if (DS.getTypeQualifiers() & TypeQual) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
DParseExprCXX.cpp1213 DS.getTypeQualifiers(), in ParseLambdaExpressionAfterIntroducer()
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp3266 DS.getTypeQualifiers() == DeclSpec::TQ_const && in ParseDeclarationSpecifiers()
5696 SS, DS.getTypeQualifiers(), StarLoc, DS.getEndLoc()), in ParseDeclaratorInternal()
5710 DeclaratorChunk::getPipe(DS.getTypeQualifiers(), DS.getPipeLoc()), in ParseDeclaratorInternal()
5744 DS.getTypeQualifiers(), Loc, DS.getConstSpecLoc(), in ParseDeclaratorInternal()
5751 DeclaratorChunk::getBlockPointer(DS.getTypeQualifiers(), Loc), in ParseDeclaratorInternal()
5771 if (DS.getTypeQualifiers() != DeclSpec::TQ_unspecified) { in ParseDeclaratorInternal()
5772 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParseDeclaratorInternal()
5775 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in ParseDeclaratorInternal()
5779 if (DS.getTypeQualifiers() & DeclSpec::TQ_atomic) in ParseDeclaratorInternal()
5805 D.AddTypeInfo(DeclaratorChunk::getReference(DS.getTypeQualifiers(), Loc, in ParseDeclaratorInternal()
[all …]
DParseDeclCXX.cpp2408 if (DS.getTypeQualifiers() != DeclSpec::TQ_unspecified) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2413 if (!(MQ.getTypeQualifiers() & TypeQual)) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
/external/llvm-project/clang/lib/Sema/
DDeclSpec.cpp187 assert(!(MethodQualifiers && MethodQualifiers->getTypeQualifiers() & DeclSpec::TQ_atomic) && in getFunction()
219 if (MethodQualifiers && (MethodQualifiers->getTypeQualifiers() || in getFunction()
DSemaDeclCXX.cpp806 if ((DS.getTypeQualifiers() & DeclSpec::TQ_volatile) && in ActOnDecompositionDeclarator()
3306 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator()
10198 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator()
10373 else if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckDestructorDeclarator()
10481 } else if (DS.getTypeQualifiers() && !D.isInvalidType()) { in CheckConversionDeclarator()
10708 if (DS.hasTypeSpecifier() || DS.getTypeQualifiers() || in CheckDeductionGuideDeclarator()
16335 if (DS.getTypeQualifiers()) { in ActOnFriendTypeDecl()
16336 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ActOnFriendTypeDecl()
16338 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in ActOnFriendTypeDecl()
16340 if (DS.getTypeQualifiers() & DeclSpec::TQ_restrict) in ActOnFriendTypeDecl()
[all …]
DSemaDecl.cpp4581 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec()
4776 if (DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec()
4777 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParsedFreeStandingDeclSpec()
4779 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in ParsedFreeStandingDeclSpec()
4782 if (DS.getTypeQualifiers() & DeclSpec::TQ_atomic) in ParsedFreeStandingDeclSpec()
4784 if (DS.getTypeQualifiers() & DeclSpec::TQ_unaligned) in ParsedFreeStandingDeclSpec()
5024 if (DS.getTypeQualifiers()) { in BuildAnonymousStructOrUnion()
5025 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in BuildAnonymousStructOrUnion()
5029 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in BuildAnonymousStructOrUnion()
5034 if (DS.getTypeQualifiers() & DeclSpec::TQ_restrict) in BuildAnonymousStructOrUnion()
[all …]
DSemaType.cpp828 unsigned TypeQuals = DS.getTypeQualifiers(); in checkOmittedBlockReturnType()
1772 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ConvertDeclSpecToType()
3162 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers()
3692 D.getDeclSpec().getTypeQualifiers() == 0 && D.isFirstDeclarator(); in warnAboutRedundantParens()
5167 FTI.MethodQualifiers ? FTI.MethodQualifiers->getTypeQualifiers() in GetFullTypeForDeclarator()
DSemaCodeComplete.cpp5370 if (!(DS.getTypeQualifiers() & DeclSpec::TQ_const)) in AddTypeQualifierResults()
5372 if (!(DS.getTypeQualifiers() & DeclSpec::TQ_volatile)) in AddTypeQualifierResults()
5374 if (LangOpts.C99 && !(DS.getTypeQualifiers() & DeclSpec::TQ_restrict)) in AddTypeQualifierResults()
5376 if (LangOpts.C11 && !(DS.getTypeQualifiers() & DeclSpec::TQ_atomic)) in AddTypeQualifierResults()
5378 if (LangOpts.MSVCCompat && !(DS.getTypeQualifiers() & DeclSpec::TQ_unaligned)) in AddTypeQualifierResults()
/external/clang/lib/Index/
DUSRGeneration.cpp255 if (unsigned quals = MD->getTypeQualifiers()) in VisitFunctionDecl()
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h547 unsigned getTypeQualifiers() const { return TypeQualifiers; } in getTypeQualifiers() function
1473 return MethodQualifiers && (MethodQualifiers->getTypeQualifiers() || in hasMethodTypeQualifiers()
/external/clang/lib/Sema/
DSemaDecl.cpp3856 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec()
4052 if (DS.getTypeQualifiers()) { in ParsedFreeStandingDeclSpec()
4053 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in ParsedFreeStandingDeclSpec()
4055 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in ParsedFreeStandingDeclSpec()
4058 if (DS.getTypeQualifiers() & DeclSpec::TQ_atomic) in ParsedFreeStandingDeclSpec()
4060 if (DS.getTypeQualifiers() & DeclSpec::TQ_unaligned) in ParsedFreeStandingDeclSpec()
4299 if (DS.getTypeQualifiers()) { in BuildAnonymousStructOrUnion()
4300 if (DS.getTypeQualifiers() & DeclSpec::TQ_const) in BuildAnonymousStructOrUnion()
4304 if (DS.getTypeQualifiers() & DeclSpec::TQ_volatile) in BuildAnonymousStructOrUnion()
4309 if (DS.getTypeQualifiers() & DeclSpec::TQ_restrict) in BuildAnonymousStructOrUnion()
[all …]
DSemaCodeComplete.cpp1014 = Qualifiers::fromCVRMask(Method->getTypeQualifiers()); in AddResult()
3378 Qualifiers::fromCVRMask(CurMethod->getTypeQualifiers())); in CodeCompleteOrdinaryName()
3821 if (!(DS.getTypeQualifiers() & DeclSpec::TQ_const)) in CodeCompleteTypeQualifiers()
3823 if (!(DS.getTypeQualifiers() & DeclSpec::TQ_volatile)) in CodeCompleteTypeQualifiers()
3826 !(DS.getTypeQualifiers() & DeclSpec::TQ_restrict)) in CodeCompleteTypeQualifiers()
3829 !(DS.getTypeQualifiers() & DeclSpec::TQ_atomic)) in CodeCompleteTypeQualifiers()
3832 !(DS.getTypeQualifiers() & DeclSpec::TQ_unaligned)) in CodeCompleteTypeQualifiers()
DSemaTemplateDeduction.cpp2590 ThisTypeQuals = Method->getTypeQualifiers(); in SubstituteExplicitTemplateArguments()
4169 Qualifiers::fromCVRMask(Method->getTypeQualifiers())); in AddImplicitObjectParameterType()
DSemaType.cpp787 unsigned TypeQuals = DS.getTypeQualifiers(); in checkOmittedBlockReturnType()
1673 if (unsigned TypeQuals = DS.getTypeQualifiers()) { in ConvertDeclSpecToType()
2766 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers()
DSemaDeclCXX.cpp2105 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator()
6831 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator()
7000 else if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckDestructorDeclarator()
10357 BaseType, CopyAssignOperator->getTypeQualifiers()), in DefineImplicitCopyAssignment()
10790 BaseType, MoveAssignOperator->getTypeQualifiers()), in DefineImplicitMoveAssignment()
DSemaOverload.cpp1091 unsigned OldQuals = OldMethod->getTypeQualifiers(); in IsOverload()
1092 unsigned NewQuals = NewMethod->getTypeQualifiers(); in IsOverload()
4868 Qualifiers::Const | Qualifiers::Volatile : Method->getTypeQualifiers(); in TryObjectArgumentInitialization()
DSemaTemplateInstantiateDecl.cpp3199 ThisTypeQuals = Method->getTypeQualifiers(); in SubstFunctionType()
/external/clang/include/clang/Sema/
DDeclSpec.h540 unsigned getTypeQualifiers() const { return TypeQualifiers; } in getTypeQualifiers() function
/external/clang/lib/AST/
DDeclCXX.cpp1672 Qualifiers::fromCVRUMask(getTypeQualifiers())); in getThisType()
DItaniumMangle.cpp1400 Qualifiers::fromCVRMask(Method->getTypeQualifiers()); in mangleNestedName()
/external/clang/include/clang/AST/
DDeclCXX.h1854 unsigned getTypeQualifiers() const { in getTypeQualifiers() function

12