reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/DeclSpec.cpp
  180   I.Kind                        = Function;
  181   I.Loc                         = LocalRangeBegin;
  182   I.EndLoc                      = LocalRangeEnd;
  183   I.Fun.hasPrototype            = hasProto;
  184   I.Fun.isVariadic              = EllipsisLoc.isValid();
  185   I.Fun.isAmbiguous             = isAmbiguous;
  186   I.Fun.LParenLoc               = LParenLoc.getRawEncoding();
  187   I.Fun.EllipsisLoc             = EllipsisLoc.getRawEncoding();
  188   I.Fun.RParenLoc               = RParenLoc.getRawEncoding();
  189   I.Fun.DeleteParams            = false;
  190   I.Fun.NumParams               = NumParams;
  191   I.Fun.Params                  = nullptr;
  192   I.Fun.RefQualifierIsLValueRef = RefQualifierIsLvalueRef;
  193   I.Fun.RefQualifierLoc         = RefQualifierLoc.getRawEncoding();
  194   I.Fun.MutableLoc              = MutableLoc.getRawEncoding();
  195   I.Fun.ExceptionSpecType       = ESpecType;
  196   I.Fun.ExceptionSpecLocBeg     = ESpecRange.getBegin().getRawEncoding();
  197   I.Fun.ExceptionSpecLocEnd     = ESpecRange.getEnd().getRawEncoding();
  198   I.Fun.NumExceptionsOrDecls    = 0;
  199   I.Fun.Exceptions              = nullptr;
  200   I.Fun.NoexceptExpr            = nullptr;
  201   I.Fun.HasTrailingReturnType   = TrailingReturnType.isUsable() ||
  203   I.Fun.TrailingReturnType      = TrailingReturnType.get();
  204   I.Fun.MethodQualifiers        = nullptr;
  205   I.Fun.QualAttrFactory         = nullptr;
  210     I.Fun.MethodQualifiers = new DeclSpec(attrs.getPool().getFactory());
  213           I.Fun.MethodQualifiers->SetTypeQual(TypeQual, SL);
  215     I.Fun.MethodQualifiers->getAttributes().takeAllFrom(attrs);
  216     I.Fun.MethodQualifiers->getAttributePool().takeAllFrom(attrs.getPool());
  219   assert(I.Fun.ExceptionSpecType == ESpecType && "bitfield overflow");
  229       I.Fun.Params = TheDeclarator.InlineParams;
  230       new (I.Fun.Params) ParamInfo[NumParams];
  231       I.Fun.DeleteParams = false;
  234       I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams];
  235       I.Fun.DeleteParams = true;
  238       I.Fun.Params[i] = std::move(Params[i]);
  247       I.Fun.NumExceptionsOrDecls = NumExceptions;
  248       I.Fun.Exceptions = new DeclaratorChunk::TypeAndRange[NumExceptions];
  250         I.Fun.Exceptions[i].Ty = Exceptions[i];
  251         I.Fun.Exceptions[i].Range = ExceptionRanges[i];
  259     I.Fun.NoexceptExpr = NoexceptExpr;
  263     I.Fun.ExceptionSpecTokens = ExceptionSpecTokens;
  270     I.Fun.NumExceptionsOrDecls = DeclsInPrototype.size();
  272     I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()];
  274       I.Fun.DeclsInPrototype[J] = DeclsInPrototype[J];
  277   return I;