X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4bcfd40036f842e976d329cd0cee7349b8e0f4d6..5a006fa396cfcc8a91a8284f0d625b2a9a2565c9:/src/mc/inspect/mc_dwarf_attrnames.cpp diff --git a/src/mc/inspect/mc_dwarf_attrnames.cpp b/src/mc/inspect/mc_dwarf_attrnames.cpp index 018d9c27fa..e050f4699d 100644 --- a/src/mc/inspect/mc_dwarf_attrnames.cpp +++ b/src/mc/inspect/mc_dwarf_attrnames.cpp @@ -1,16 +1,15 @@ -/* Copyright (c) 2014-2019. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2014-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ /* Warning: autogenerated, do not edit! */ +#include "src/mc/inspect/mc_dwarf.hpp" + #include #include -#include "src/mc/mc_dwarf.hpp" - namespace { const std::unordered_map attrname_map = { {0x01, "DW_AT_sibling"}, @@ -157,8 +156,7 @@ const std::unordered_map attrname_map = { }; } -namespace simgrid { -namespace dwarf { +namespace simgrid::dwarf { /** @brief Get the name of an attribute (DW_AT_*) from its code * @@ -172,5 +170,4 @@ const char* attrname(int attr) return name == attrname_map.end() ? "DW_AT_unknown" : name->second; } -} // namespace dwarf -} // namespace simgrid +} // namespace simgrid::dwarf