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 303 of file DeclTemplate.h.