Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / src / mc / Variable.hpp
index a4f048a..5f43e5c 100644 (file)
@@ -11,7 +11,7 @@
 
 #include <string>
 
-#include "src/mc/mc_forward.h"
+#include "src/mc/mc_forward.hpp"
 #include "src/mc/LocationList.hpp"
 
 namespace simgrid {
@@ -27,15 +27,16 @@ public:
   unsigned type_id = 0;
   simgrid::mc::Type* type = nullptr;
 
-  /** Address of the variable -if it is fixed) */
+  /** Address of the variable (if it is fixed) */
   void* address = nullptr;
 
-  /** Description of the location of the variable if it's not fixed */
+  /** Description of the location of the variable (if it's not fixed) */
   simgrid::dwarf::LocationList location_list;
 
   /** Offset of validity of the variable (DW_AT_start_scope)
    *
-   *  This variable is not valid since the beginning of its scope.
+   *  This is an offset from the variable scope beginning. This variable
+   *  is only valid starting from this offset.
    */
   std::size_t start_scope = 0;