Lines Matching refs:Fun
195 new (&I.Fun) FunctionTypeInfo; in getFunction()
196 I.Fun.hasPrototype = hasProto; in getFunction()
197 I.Fun.isVariadic = EllipsisLoc.isValid(); in getFunction()
198 I.Fun.isAmbiguous = isAmbiguous; in getFunction()
199 I.Fun.LParenLoc = LParenLoc; in getFunction()
200 I.Fun.EllipsisLoc = EllipsisLoc; in getFunction()
201 I.Fun.RParenLoc = RParenLoc; in getFunction()
202 I.Fun.DeleteParams = false; in getFunction()
203 I.Fun.NumParams = NumParams; in getFunction()
204 I.Fun.Params = nullptr; in getFunction()
205 I.Fun.RefQualifierIsLValueRef = RefQualifierIsLvalueRef; in getFunction()
206 I.Fun.RefQualifierLoc = RefQualifierLoc; in getFunction()
207 I.Fun.MutableLoc = MutableLoc; in getFunction()
208 I.Fun.ExceptionSpecType = ESpecType; in getFunction()
209 I.Fun.ExceptionSpecLocBeg = ESpecRange.getBegin(); in getFunction()
210 I.Fun.ExceptionSpecLocEnd = ESpecRange.getEnd(); in getFunction()
211 I.Fun.NumExceptionsOrDecls = 0; in getFunction()
212 I.Fun.Exceptions = nullptr; in getFunction()
213 I.Fun.NoexceptExpr = nullptr; in getFunction()
214 I.Fun.HasTrailingReturnType = TrailingReturnType.isUsable() || in getFunction()
216 I.Fun.TrailingReturnType = TrailingReturnType.get(); in getFunction()
217 I.Fun.TrailingReturnTypeLoc = TrailingReturnTypeLoc; in getFunction()
218 I.Fun.MethodQualifiers = nullptr; in getFunction()
219 I.Fun.QualAttrFactory = nullptr; in getFunction()
224 I.Fun.MethodQualifiers = new DeclSpec(attrs.getPool().getFactory()); in getFunction()
227 I.Fun.MethodQualifiers->SetTypeQual(TypeQual, SL); in getFunction()
229 I.Fun.MethodQualifiers->getAttributes().takeAllFrom(attrs); in getFunction()
230 I.Fun.MethodQualifiers->getAttributePool().takeAllFrom(attrs.getPool()); in getFunction()
233 assert(I.Fun.ExceptionSpecType == ESpecType && "bitfield overflow"); in getFunction()
243 I.Fun.Params = TheDeclarator.InlineParams; in getFunction()
244 new (I.Fun.Params) ParamInfo[NumParams]; in getFunction()
245 I.Fun.DeleteParams = false; in getFunction()
248 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction()
249 I.Fun.DeleteParams = true; in getFunction()
252 I.Fun.Params[i] = std::move(Params[i]); in getFunction()
261 I.Fun.NumExceptionsOrDecls = NumExceptions; in getFunction()
262 I.Fun.Exceptions = new DeclaratorChunk::TypeAndRange[NumExceptions]; in getFunction()
264 I.Fun.Exceptions[i].Ty = Exceptions[i]; in getFunction()
265 I.Fun.Exceptions[i].Range = ExceptionRanges[i]; in getFunction()
273 I.Fun.NoexceptExpr = NoexceptExpr; in getFunction()
277 I.Fun.ExceptionSpecTokens = ExceptionSpecTokens; in getFunction()
284 I.Fun.NumExceptionsOrDecls = DeclsInPrototype.size(); in getFunction()
286 I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; in getFunction()
288 I.Fun.DeclsInPrototype[J] = DeclsInPrototype[J]; in getFunction()
428 DeclaratorChunk::FunctionTypeInfo &Fun = getFunctionTypeInfo(); in isExplicitObjectMemberFunction() local
429 if (Fun.NumParams) { in isExplicitObjectMemberFunction()
430 auto *P = dyn_cast_or_null<ParmVarDecl>(Fun.Params[0].Param); in isExplicitObjectMemberFunction()