Tim Wojtulewicz
31a6ef266a
Fix recent Coverity findings
...
1491334: AUTO_CAUSES_COPY due to a for loop using auto& instead of const auto&
1498652: AUTO_CAUSES_COPY due to a for loop using auto& instead of const auto&
1498745: AUTO_CAUSES_COPY due to a for loop using auto& instead of const auto&
2022-10-12 15:56:03 -05:00
Vern Paxson
0687959f1c
use dynamic rather than static initialization of globals for scripts compiled to C++
2022-09-29 15:11:05 -07:00
Vern Paxson
3b3cea799b
fixes for -O gen-standalone-C++
2021-12-12 12:36:08 -08:00
Vern Paxson
9d884c0285
remove unnecessary includes
2021-12-10 09:27:07 -08:00
Vern Paxson
a2cec7463f
suppress unneeded initializations
2021-11-24 12:17:16 -08:00
Vern Paxson
84423369b4
use iterator-based idiom for check-if-present-then-access
2021-11-22 15:28:15 -08:00
Vern Paxson
e1a760e674
extensive rewrite of generation & execution of run-time initialization
2021-11-07 17:00:19 -08:00
Tim Wojtulewicz
9af6b2f48d
clang-format: Set penalty for breaking after assignment operator
2021-09-27 10:49:48 -07:00
Tim Wojtulewicz
4423574d26
clang-format: Set IndentCaseBlocks to false
2021-09-27 10:49:48 -07:00
Tim Wojtulewicz
b2f171ec69
Reformat the world
2021-09-16 15:35:39 -07:00
Vern Paxson
b6daf14868
a number of low-level tweaks from code review
2021-09-08 10:23:38 -07:00
Vern Paxson
9a9995bdd1
tracking of optimization information associated with identifiers
2021-09-08 10:23:38 -07:00
Vern Paxson
30cb91fe35
low-level coding style fixes
2021-06-29 15:17:34 -07:00
Vern Paxson
b4f025dda9
support for standalone compiled scripts to export globals with module qualifiers
2021-06-11 08:49:52 -07:00
Vern Paxson
725aa558a7
fixes for standalone C++ scripts making types & variables/functions available
2021-06-04 17:14:46 -07:00
Jon Siwek
3e85375010
Fix various compiler/linter warnings in script_opt/CPP code
2021-05-05 16:55:05 -07:00
Vern Paxson
72413f315c
decluttered code by removing "std::" - no semantic changes
...
(also some whitespace fixes)
2021-05-05 16:55:05 -07:00
Vern Paxson
863be9436b
the bulk of the compiler
2021-05-05 16:55:04 -07:00