Home | History | Annotate | Download | only in Parse

Lines Matching defs:Depth

42 /// \brief RAII class that manages the template parameter depth.
45 unsigned &Depth;
49 explicit TemplateParameterDepthCounter(unsigned &Depth)
50 : Depth(Depth), AddedLevels(0) { }
53 Depth -= AddedLevels;
57 ++Depth;
61 operator unsigned() const { return Depth; }
120 TemplateParameterDepthCounter Depth(TemplateParameterDepth);
140 if (ParseTemplateParameters(Depth, TemplateParams, LAngleLoc,
150 Actions.ActOnTemplateParameterList(Depth, ExportLoc,
157 ++Depth;
297 /// angle brackets. Depth is the depth of this template-parameter-list, which
305 bool Parser::ParseTemplateParameters(unsigned Depth,
319 Failed = ParseTemplateParameterList(Depth, TemplateParams);
348 Parser::ParseTemplateParameterList(unsigned Depth,
352 = ParseTemplateParameter(Depth, TemplateParams.size())) {
456 Decl *Parser::ParseTemplateParameter(unsigned Depth, unsigned Position) {
458 return ParseTypeParameter(Depth, Position);
461 return ParseTemplateTemplateParameter(Depth, Position);
466 return ParseNonTypeTemplateParameter(Depth, Position);
478 Decl *Parser::ParseTypeParameter(unsigned Depth, unsigned Position) {
527 Depth, Position, EqualLoc, DefaultArg);
539 Parser::ParseTemplateTemplateParameter(unsigned Depth, unsigned Position) {
548 if (ParseTemplateParameters(Depth + 1, TemplateParams, LAngleLoc,
602 Actions.ActOnTemplateParameterList(Depth, SourceLocation(),
625 ParamName, NameLoc, Depth,
636 Parser::ParseNonTypeTemplateParameter(unsigned Depth, unsigned Position) {
674 Depth, Position, EqualLoc,