Skip to content

Commit 7d719a3

Browse files
committed
Remove unused includes list, functional from expr.h
This header file is widely used, and dragging in useless includes unnecessarily slows down compilation.
1 parent 6450fb0 commit 7d719a3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ansi-c/ansi_c_convert_type.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Author: Daniel Kroening, [email protected]
1212
#ifndef CPROVER_ANSI_C_ANSI_C_CONVERT_TYPE_H
1313
#define CPROVER_ANSI_C_ANSI_C_CONVERT_TYPE_H
1414

15+
#include <list>
16+
1517
#include <util/message.h>
1618

1719
#include "c_qualifiers.h"

src/util/expr.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ Author: Daniel Kroening, [email protected]
1414
#include "validate_types.h"
1515
#include "validation_mode.h"
1616

17-
#include <functional>
18-
#include <list>
19-
2017
#define forall_operands(it, expr) \
2118
if((expr).has_operands()) /* NOLINT(readability/braces) */ \
2219
for(exprt::operandst::const_iterator it=(expr).operands().begin(), \

0 commit comments

Comments
 (0)