|
clang 24.0.0git
|
Container for the late-parsed attributes of a function's parameters, which SubstFunctionType defers until the function is declared. More...
#include "clang/Sema/Template.h"
Public Member Functions | |
| DeferredParamAttrs (TemplateDeclInstantiator &Instantiator) | |
| DeferredParamAttrs (const DeferredParamAttrs &)=delete | |
| DeferredParamAttrs & | operator= (const DeferredParamAttrs &)=delete |
| ~DeferredParamAttrs () | |
| void | discard () |
| Free the attributes without instantiating them. | |
| void | instantiate () |
| Instantiate the attributes, once the function is declared. | |
Public Attributes | |
| Sema::LateInstantiatedAttrVec | Attrs |
Container for the late-parsed attributes of a function's parameters, which SubstFunctionType defers until the function is declared.
Definition at line 727 of file Template.h.
|
inlineexplicit |
Definition at line 735 of file Template.h.
References clang::TemplateDeclInstantiator::TemplateDeclInstantiator().
Referenced by DeferredParamAttrs(), and operator=().
|
delete |
References DeferredParamAttrs().
|
inline |
Definition at line 740 of file Template.h.
References discard().
| void TemplateDeclInstantiator::DeferredParamAttrs::discard | ( | ) |
Free the attributes without instantiating them.
Definition at line 5495 of file SemaTemplateInstantiateDecl.cpp.
References Attrs, and clang::LocalInstantiationScope::deleteScopes().
Referenced by instantiate(), clang::TemplateDeclInstantiator::SubstFunctionType(), and ~DeferredParamAttrs().
| void TemplateDeclInstantiator::DeferredParamAttrs::instantiate | ( | ) |
Instantiate the attributes, once the function is declared.
In a class, they are deferred again until the class is instantiated.
Definition at line 5501 of file SemaTemplateInstantiateDecl.cpp.
References Attrs, and discard().
Referenced by clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), and clang::TemplateDeclInstantiator::VisitFunctionDecl().
|
delete |
References DeferredParamAttrs().
| Sema::LateInstantiatedAttrVec clang::TemplateDeclInstantiator::DeferredParamAttrs::Attrs |
Definition at line 733 of file Template.h.
Referenced by discard(), instantiate(), and clang::TemplateDeclInstantiator::SubstFunctionType().