clang: clang::DefaultArgStorage< ParmDecl, ArgType > Class Template Reference (original) (raw)
template<typename ParmDecl, typename ArgType>
class clang::DefaultArgStorage< ParmDecl, ArgType >
Storage for a default argument.
This is conceptually either empty, or an argument value, or a pointer to a previous declaration that had a default argument.
However, this is complicated by modules: while we require all the default arguments for a template to be equivalent, there may be more than one, and we need to track all the originating parameters to determine if the default argument is visible.
Definition at line 305 of file DeclTemplate.h.
template<typename ParmDecl , typename ArgType >
Get the parameter from which we inherit the default argument, if any.
This is the parameter on which the default argument was actually written.
Definition at line 350 of file DeclTemplate.h.