X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/df8c71f457b614d62d673ff5df36a764fbf15414..756df47074b2d7b0721f234077f5ef8d75e13932:/src/mc/Type.hpp diff --git a/src/mc/Type.hpp b/src/mc/Type.hpp index 540bf4ca37..819cf81b6e 100644 --- a/src/mc/Type.hpp +++ b/src/mc/Type.hpp @@ -12,20 +12,23 @@ #include -#include "mc_forward.h" -#include "mc_location.h" +#include "src/mc/mc_forward.h" +#include "src/mc/LocationList.hpp" namespace simgrid { namespace mc { -/** Represent a member of a structure (or inheritance) */ +/** A member of a structure, union + * + * Inheritance is seen as a special member as well. + */ class Member { public: Member() : inheritance(false), byte_size(0), type_id(0) {} bool inheritance; std::string name; - simgrid::mc::DwarfExpression location_expression; + simgrid::dwarf::DwarfExpression location_expression; std::size_t byte_size; // Do we really need this? unsigned type_id; simgrid::mc::Type* type; @@ -52,10 +55,7 @@ public: } }; -/** Represents a type in the program - * - * It is currently used to represent members of structs and unions as well. - */ +/** A type in the model-checked program */ class Type { public: Type();