preprocessor/src/macro
Sébastien Villemot 3d9ac26aa6
Remove all instances of the “map.find(key)->second” pattern
This is unsafe since the find() method can return a past-the-end iterator,
which should be tested for.

Replace most instances by calls to the std::map::at() method (which throws if
the key is unknown), and which is incidentally more readable.
2022-09-27 12:56:16 +02:00
..
Directives.cc Compatibility fixes with GCC 12 2022-07-16 12:46:16 +02:00
Directives.hh Enable -Wunused-parameter 2022-06-24 17:11:48 +02:00
Driver.cc Compatibility fixes with GCC 12 2022-07-16 12:46:16 +02:00
Driver.hh Remove useless constructors (aggregate initialization is enough for those) 2022-07-20 14:48:28 +02:00
Environment.cc Remove all instances of the “map.find(key)->second” pattern 2022-09-27 12:56:16 +02:00
Environment.hh Remove unnecessary inline specifiers 2022-06-24 15:09:08 +02:00
Expressions.cc Compatibility fixes with GCC 12 2022-07-16 12:46:16 +02:00
Expressions.hh Enable -Wunused-parameter 2022-06-24 17:11:48 +02:00
ForwardDeclarationsAndEnums.hh Use secure URL for link to GNU licenses 2021-06-09 17:21:00 +02:00
Makefile.am Now that we require Bison ≥ 3.2, the stack.hh and position.hh files are no longer generated 2019-08-14 15:36:31 +02:00
Parser.yy Macro-processor: when a variable is defined without a value, set it to “true” 2022-06-16 16:50:38 +02:00
Tokenizer.ll Macroprocessor: fix line counter inside @{} constructs 2021-11-19 14:55:14 +01:00