Home
last modified time | relevance | path

Searched refs:MethodQualifiers (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp187 DeclSpec *MethodQualifiers) { in getFunction()
188 assert(!(MethodQualifiers && MethodQualifiers->getTypeQualifiers() & DeclSpec::TQ_atomic) && in getFunction()
218 I.Fun.MethodQualifiers = nullptr; in getFunction()
221 if (MethodQualifiers && (MethodQualifiers->getTypeQualifiers() || in getFunction()
222 MethodQualifiers->getAttributes().size())) { in getFunction()
223 auto &attrs = MethodQualifiers->getAttributes(); in getFunction()
224 I.Fun.MethodQualifiers = new DeclSpec(attrs.getPool().getFactory()); in getFunction()
225 MethodQualifiers->forEachCVRUQualifier( in getFunction()
227 I.Fun.MethodQualifiers->SetTypeQual(TypeQual, SL); in getFunction()
229 I.Fun.MethodQualifiers->getAttributes().takeAllFrom(attrs); in getFunction()
[all …]
H A DSemaType.cpp5104 FTI.MethodQualifiers ? FTI.MethodQualifiers->getTypeQualifiers() in GetFullTypeForDeclarator()
5257 if (FTI.MethodQualifiers) in GetFullTypeForDeclarator()
5258 for (ParsedAttr &attr : FTI.MethodQualifiers->getAttributes()) { in GetFullTypeForDeclarator()
5497 Chunk.Fun.MethodQualifiers->forEachQualifier( in GetFullTypeForDeclarator()
H A DSemaDeclCXX.cpp10733 FTI.MethodQualifiers->forEachQualifier( in checkMethodTypeQualifiers()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h1428 DeclSpec *MethodQualifiers; member
1477 delete MethodQualifiers; in destroy() local
1495 if (!MethodQualifiers) { in getOrCreateMethodQualifiers()
1497 MethodQualifiers = new DeclSpec(*QualAttrFactory); in getOrCreateMethodQualifiers()
1499 return *MethodQualifiers; in getOrCreateMethodQualifiers()
1530 assert(MethodQualifiers); in getConstQualifierLoc()
1531 return MethodQualifiers->getConstSpecLoc(); in getConstQualifierLoc()
1536 assert(MethodQualifiers); in getVolatileQualifierLoc()
1537 return MethodQualifiers->getVolatileSpecLoc(); in getVolatileQualifierLoc()
1542 assert(MethodQualifiers); in getRestrictQualifierLoc()
[all …]