16
16
#include < goto-programs/adjust_float_expressions.h>
17
17
18
18
const char gcc_builtin_headers_types[]=
19
- " # 1 \" gcc_builtin_headers_types.h\"\n "
19
+ " #line 1 \" gcc_builtin_headers_types.h\"\n "
20
20
#include " gcc_builtin_headers_types.inc"
21
21
; // NOLINT(whitespace/semicolon)
22
22
23
23
const char gcc_builtin_headers_generic[]=
24
- " # 1 \" gcc_builtin_headers_generic.h\"\n "
24
+ " #line 1 \" gcc_builtin_headers_generic.h\"\n "
25
25
#include " gcc_builtin_headers_generic.inc"
26
26
; // NOLINT(whitespace/semicolon)
27
27
28
28
const char gcc_builtin_headers_math[]=
29
- " # 1 \" gcc_builtin_headers_math.h\"\n "
29
+ " #line 1 \" gcc_builtin_headers_math.h\"\n "
30
30
#include " gcc_builtin_headers_math.inc"
31
31
; // NOLINT(whitespace/semicolon)
32
32
33
33
const char gcc_builtin_headers_mem_string[]=
34
- " # 1 \" gcc_builtin_headers_mem_string.h\"\n "
34
+ " #line 1 \" gcc_builtin_headers_mem_string.h\"\n "
35
35
#include " gcc_builtin_headers_mem_string.inc"
36
36
; // NOLINT(whitespace/semicolon)
37
37
38
38
const char gcc_builtin_headers_omp[]=
39
- " # 1 \" gcc_builtin_headers_omp.h\"\n "
39
+ " #line 1 \" gcc_builtin_headers_omp.h\"\n "
40
40
#include " gcc_builtin_headers_omp.inc"
41
41
; // NOLINT(whitespace/semicolon)
42
42
43
43
const char gcc_builtin_headers_tm[]=
44
- " # 1 \" gcc_builtin_headers_tm.h\"\n "
44
+ " #line 1 \" gcc_builtin_headers_tm.h\"\n "
45
45
#include " gcc_builtin_headers_tm.inc"
46
46
; // NOLINT(whitespace/semicolon)
47
47
48
48
const char gcc_builtin_headers_ubsan[]=
49
- " # 1 \" gcc_builtin_headers_ubsan.h\"\n "
49
+ " #line 1 \" gcc_builtin_headers_ubsan.h\"\n "
50
50
#include " gcc_builtin_headers_ubsan.inc"
51
51
; // NOLINT(whitespace/semicolon)
52
52
53
53
const char gcc_builtin_headers_ia32[]=
54
- " # 1 \" gcc_builtin_headers_ia32.h\"\n "
54
+ " #line 1 \" gcc_builtin_headers_ia32.h\"\n "
55
55
#include " gcc_builtin_headers_ia32.inc"
56
56
; // NOLINT(whitespace/semicolon)
57
57
const char gcc_builtin_headers_ia32_2[]=
@@ -68,47 +68,47 @@ const char gcc_builtin_headers_ia32_5[] =
68
68
; // NOLINT(whitespace/semicolon)
69
69
70
70
const char gcc_builtin_headers_alpha[]=
71
- " # 1 \" gcc_builtin_headers_alpha.h\"\n "
71
+ " #line 1 \" gcc_builtin_headers_alpha.h\"\n "
72
72
#include " gcc_builtin_headers_alpha.inc"
73
73
; // NOLINT(whitespace/semicolon)
74
74
75
75
const char gcc_builtin_headers_arm[]=
76
- " # 1 \" gcc_builtin_headers_arm.h\"\n "
76
+ " #line 1 \" gcc_builtin_headers_arm.h\"\n "
77
77
#include " gcc_builtin_headers_arm.inc"
78
78
; // NOLINT(whitespace/semicolon)
79
79
80
80
const char gcc_builtin_headers_mips[]=
81
- " # 1 \" gcc_builtin_headers_mips.h\"\n "
81
+ " #line 1 \" gcc_builtin_headers_mips.h\"\n "
82
82
#include " gcc_builtin_headers_mips.inc"
83
83
; // NOLINT(whitespace/semicolon)
84
84
85
85
const char gcc_builtin_headers_power[]=
86
- " # 1 \" gcc_builtin_headers_power.h\"\n "
86
+ " #line 1 \" gcc_builtin_headers_power.h\"\n "
87
87
#include " gcc_builtin_headers_power.inc"
88
88
; // NOLINT(whitespace/semicolon)
89
89
90
90
const char arm_builtin_headers[]=
91
- " # 1 \" arm_builtin_headers.h\"\n "
91
+ " #line 1 \" arm_builtin_headers.h\"\n "
92
92
#include " arm_builtin_headers.inc"
93
93
; // NOLINT(whitespace/semicolon)
94
94
95
95
const char cw_builtin_headers[]=
96
- " # 1 \" cw_builtin_headers.h\"\n "
96
+ " #line 1 \" cw_builtin_headers.h\"\n "
97
97
#include " cw_builtin_headers.inc"
98
98
; // NOLINT(whitespace/semicolon)
99
99
100
100
const char clang_builtin_headers[]=
101
- " # 1 \" clang_builtin_headers.h\"\n "
101
+ " #line 1 \" clang_builtin_headers.h\"\n "
102
102
#include " clang_builtin_headers.inc"
103
103
; // NOLINT(whitespace/semicolon)
104
104
105
105
const char cprover_builtin_headers[]=
106
- " # 1 \" cprover_builtin_headers.h\"\n "
106
+ " #line 1 \" cprover_builtin_headers.h\"\n "
107
107
#include " cprover_builtin_headers.inc"
108
108
; // NOLINT(whitespace/semicolon)
109
109
110
110
const char windows_builtin_headers[]=
111
- " # 1 \" windows_builtin_headers.h\"\n "
111
+ " #line 1 \" windows_builtin_headers.h\"\n "
112
112
#include " windows_builtin_headers.inc"
113
113
; // NOLINT(whitespace/semicolon)
114
114
@@ -158,7 +158,7 @@ void ansi_c_internal_additions(std::string &code)
158
158
// clang-format off
159
159
// do the built-in types and variables
160
160
code+=
161
- " # 1 \" <built-in-additions>\"\n "
161
+ " #line 1 \" <built-in-additions>\"\n "
162
162
" typedef __typeof__(sizeof(int)) " CPROVER_PREFIX " size_t;\n "
163
163
" typedef " +c_type_as_string (signed_size_type ().get (ID_C_c_type))+
164
164
" " CPROVER_PREFIX " ssize_t;\n "
@@ -312,7 +312,7 @@ void ansi_c_architecture_strings(std::string &code)
312
312
// They allow identifying the architectural settings used
313
313
// at compile time from a goto-binary.
314
314
315
- code+= " # 1 \" <builtin-architecture-strings>\"\n " ;
315
+ code += " #line 1 \" <builtin-architecture-strings>\"\n " ;
316
316
317
317
code+=architecture_string (config.ansi_c .int_width , " int_width" );
318
318
code+=architecture_string (config.ansi_c .int_width , " word_size" ); // old
0 commit comments