struct Parser::ParsedTemplateInfo
Declaration
struct Parser::ParsedTemplateInfo { /* full declaration omitted */ };
Description
Contains information about any template-specific information that has been parsed prior to parsing declaration specifiers.
Declared at: clang/include/clang/Parse/Parser.h:1492
Member Variables
- public enum(unnamed enum at / home / hdoc / tmp / llvm - project / clang / include / clang / Parse / Parser.h : 1509 : 5) Kind
- public clang::Parser::TemplateParameterLists* TemplateParams
- The template parameter lists, for template declarations and explicit specializations.
- public clang::SourceLocation ExternLoc
- The location of the 'extern' keyword, if any, for an explicit instantiation
- public clang::SourceLocation TemplateLoc
- The location of the 'template' keyword, for an explicit instantiation.
- public bool LastParameterListWasEmpty
- Whether the last template parameter list was empty.
Method Overview
- public ParsedTemplateInfo()
- public ParsedTemplateInfo(clang::Parser::TemplateParameterLists * TemplateParams, bool isSpecialization, bool lastParameterListWasEmpty = false)
- public ParsedTemplateInfo(clang::SourceLocation ExternLoc, clang::SourceLocation TemplateLoc)
- public clang::SourceRange getSourceRange() const
Methods
¶ParsedTemplateInfo()
ParsedTemplateInfo()
Declared at: clang/include/clang/Parse/Parser.h:1493
¶ParsedTemplateInfo(
clang::Parser::TemplateParameterLists*
TemplateParams,
bool isSpecialization,
bool lastParameterListWasEmpty = false)
ParsedTemplateInfo(
clang::Parser::TemplateParameterLists*
TemplateParams,
bool isSpecialization,
bool lastParameterListWasEmpty = false)
Declared at: clang/include/clang/Parse/Parser.h:1495
Parameters
- clang::Parser::TemplateParameterLists* TemplateParams
- bool isSpecialization
- bool lastParameterListWasEmpty = false
¶ParsedTemplateInfo(
clang::SourceLocation ExternLoc,
clang::SourceLocation TemplateLoc)
ParsedTemplateInfo(
clang::SourceLocation ExternLoc,
clang::SourceLocation TemplateLoc)
Declared at: clang/include/clang/Parse/Parser.h:1502
Parameters
- clang::SourceLocation ExternLoc
- clang::SourceLocation TemplateLoc
¶clang::SourceRange getSourceRange() const
clang::SourceRange getSourceRange() const
Declared at: clang/include/clang/Parse/Parser.h:1535