Skip to content

Commit

Permalink
#1667 clean up configs/error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Strzebonski committed Feb 8, 2022
1 parent 26650ed commit e4e188e
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 15 deletions.
2 changes: 0 additions & 2 deletions src/vt/configs/error/code.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
#if !defined INCLUDED_VT_CONFIGS_ERROR_CODE_H
#define INCLUDED_VT_CONFIGS_ERROR_CODE_H

#include "vt/configs/error/code_class.h"

#include <cstdlib>

namespace vt { namespace error {
Expand Down
3 changes: 1 addition & 2 deletions src/vt/configs/error/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
#if !defined INCLUDED_VT_CONFIGS_ERROR_COMMON_H
#define INCLUDED_VT_CONFIGS_ERROR_COMMON_H

#include "vt/configs/types/types_headers.h"
#include "vt/collective/basic.h"
#include "vt/configs/types/types_type.h"

#define INVERT_COND(cond) (!(cond))
#define DEBUG_LOCATION __FILE__,__LINE__,__func__
Expand Down
4 changes: 0 additions & 4 deletions src/vt/configs/error/config_assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,8 @@
* build/runtime mode when the assertion breaks
*/

#include "vt/configs/debug/debug_config.h"
#include "vt/configs/types/types_type.h"
#include "vt/configs/error/common.h"
#include "vt/configs/error/assert_out.h"
#include "vt/configs/error/assert_out_info.h"
#include "vt/configs/error/keyval_printer.h"

#include <tuple>
#include <type_traits>
Expand Down
2 changes: 0 additions & 2 deletions src/vt/configs/error/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@
#define INCLUDED_VT_CONFIGS_ERROR_ERROR_H

#include "vt/configs/types/types_headers.h"
#include "vt/configs/debug/debug_config.h"
#include "vt/configs/error/common.h"

#include <string>
#include <tuple>
Expand Down
1 change: 1 addition & 0 deletions src/vt/configs/error/error.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
#include "vt/configs/error/common.h"
#include "vt/configs/error/error.h"
#include "vt/configs/error/pretty_print_message.h"
#include "vt/collective/basic.h"

#include <string>
#include <tuple>
Expand Down
3 changes: 0 additions & 3 deletions src/vt/configs/error/keyval_printer.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
#if !defined INCLUDED_VT_CONFIGS_ERROR_KEYVAL_PRINTER_H
#define INCLUDED_VT_CONFIGS_ERROR_KEYVAL_PRINTER_H

#include "vt/configs/error/common.h"
#include "vt/configs/debug/debug_config.h"

#include <cstdlib>
#include <tuple>
#include <type_traits>
Expand Down
3 changes: 1 addition & 2 deletions src/vt/configs/error/pretty_print_stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
#define INCLUDED_VT_CONFIGS_ERROR_PRETTY_PRINT_STACK_H

#include "vt/config.h"
#include "vt/configs/error/stack_out.h"
#include "vt/configs/debug/debug_colorize.h"
#include "vt/context/context.h"

#include <string>

Expand Down
2 changes: 2 additions & 0 deletions src/vt/configs/error/soft_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@
* the cost of these checks can be fully optimized out.
*/

#include "vt/collective/basic.h"
#include "vt/configs/types/types_type.h"
#include "vt/configs/error/common.h"
#include "vt/configs/error/pretty_print_message.h"
#include "vt/configs/features/features_defines.h"

#include <string>

Expand Down

0 comments on commit e4e188e

Please sign in to comment.