template<>
struct Rose::AST::Defects::defect_t< Kind::any >
Defect descriptor specialization for the default kind "any".
All other defect descriptors must inherit from this descritor. It provides a static method record
which should always be used to create a defect descriptor. This method collects all descriptors and return const references. Hence, all defect descriptors can be deleted by a call to clear.
Definition at line 39 of file Defect.h.
|
template<Kind k, typename... Args> |
static defect_t< k > const & | record (Args...args) |
| Call new for the specific kind of defect, forwards all argument to the constructor. Add pointer to all.
|
|
template<typename DefectT , typename... Args> |
static DefectT const & | record (Args...args) |
| Call new for the specific defect type, forwards all argument to the constructor (requires the specialization to declare __kind)
|
|
static void | clear () |
| Delete all stored defect and clear the container.
|
|
static void | display (std::ostream &out) |
|