File tree Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Expand file tree Collapse file tree 2 files changed +18
-10
lines changed Original file line number Diff line number Diff line change 19
19
class lvsaa_single_external_set_summaryt :public summaryt
20
20
{
21
21
public:
22
+ lvsaa_single_external_set_summaryt ()=default ;
23
+
24
+ lvsaa_single_external_set_summaryt (
25
+ lvsaa_single_external_set_summaryt &&)=default ;
26
+ lvsaa_single_external_set_summaryt &operator =(
27
+ lvsaa_single_external_set_summaryt &&)=default ;
28
+
22
29
std::string kind () const noexcept override { return " lvsaa" ; }
23
30
24
31
struct fieldnamet
@@ -41,7 +48,7 @@ class lvsaa_single_external_set_summaryt:public summaryt
41
48
42
49
void serialize (serializert &serializer);
43
50
};
44
- std::vector<std::pair<fieldnamet, exprt> > field_assignments;
51
+ std::vector<std::pair<fieldnamet, exprt>> field_assignments;
45
52
46
53
void serialize (serializert &serializer);
47
54
Original file line number Diff line number Diff line change @@ -40,27 +40,28 @@ of summaries.
40
40
\*******************************************************************/
41
41
class summaryt
42
42
{
43
+ protected:
44
+ summaryt ()=default ;
45
+
46
+ summaryt (const summaryt &)=delete ;
47
+ summaryt &operator =(const summaryt &)=delete ;
48
+ summaryt (summaryt &&)=default ;
49
+ summaryt &operator =(summaryt &&)=default ;
50
+
43
51
public:
44
- summaryt () = default ;
45
- summaryt (const summaryt &other) = delete ;
46
- summaryt (summaryt &&other) = default ;
47
- summaryt &operator =(const summaryt &) = delete ;
48
- summaryt &operator =(summaryt &&) = default ;
49
52
virtual ~summaryt () {}
50
53
51
54
/* ******************************************************************\
52
55
It should return globally unique identifier of a 'kind' of the
53
56
summaries. For example, it can be a unique name of an analysis which has
54
57
computed them.
55
58
\*******************************************************************/
56
- virtual std::string kind () const noexcept = 0;
59
+ virtual std::string kind () const noexcept = 0;
57
60
58
61
/* ******************************************************************\
59
62
A textual human-readable description of the summaries.
60
63
\*******************************************************************/
61
- virtual std::string description () const noexcept { return " " ; }
62
-
63
- // TODO: define other interface functions!!
64
+ virtual std::string description () const noexcept { return std::string (); }
64
65
};
65
66
66
67
#endif
You can’t perform that action at this time.
0 commit comments