clang API Documentation

clang::ento::BugReporterVisitorImpl< DERIVED > Class Template Reference

#include <BugReporterVisitor.h>

Inheritance diagram for clang::ento::BugReporterVisitorImpl< DERIVED >:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::BugReporterVisitorImpl< DERIVED >:
Collaboration graph
[legend]

List of all members.


Detailed Description

template<class DERIVED>
class clang::ento::BugReporterVisitorImpl< DERIVED >

This class provides a convenience implementation for clone() using the Curiously-Recurring Template Pattern. If you are implementing a custom BugReporterVisitor, subclass BugReporterVisitorImpl and provide a public or protected copy constructor.

(Warning: if you have a deep subclass of BugReporterVisitorImpl, the default implementation of clone() will NOT do the right thing, and you will have to provide your own implementation.)

Definition at line 89 of file BugReporterVisitor.h.


The documentation for this class was generated from the following file: