- Dec 27, 2024
-
-
Sébastien Villemot authored
However do not set that option permanently (and also disable RemoveSemicolon by default), since the clang-format manual states that these options can lead to incorrect formatting and thus their result should be carefully reviewed.
-
- Nov 08, 2024
-
-
Sébastien Villemot authored
Also do some coding style manual enforcement.
-
- Jul 18, 2024
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Jul 09, 2024
-
-
Sébastien Villemot authored
Closes: #128
-
- Jul 08, 2024
-
-
Sébastien Villemot authored
It was previously in case-sensitive alphabetical order (i.e. ASCII order). Ref. #128
-
Sébastien Villemot authored
– use std::pair instead of std::tuple in internal storage – make Environment::getFunction() symmetric with Environment::getVariable()
-
- Dec 13, 2023
-
-
Sébastien Villemot authored
Automatically detected by clang-tidy using performance-inefficient-vector-operation check.
-
Sébastien Villemot authored
Automatically detected by clang-tidy with performance-move-const-arg check. Do not make the modification for Tokenizer::location type, since we have no guarantee that the type will remain trivially-copyable in the future.
-
Sébastien Villemot authored
Automatically detected by clang-tidy using performance-for-range-copy check.
-
Sébastien Villemot authored
Automatically detected by clang-tidy using performance-unnecessary-value-param check.
-
- Dec 08, 2023
-
-
Sébastien Villemot authored
There is actually no bug in MinGW. The different behaviour under Windows is expected, because the implicit conversion there is only to std::wstring.
-
Sébastien Villemot authored
It would mishandle trailing slashes or backslashes in std::filesystem::path, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88881 The bug is now fixed in the version of MinGW in Debian “bookworm” 12. Ref. Madysson/estimation-codes#11
-
- Dec 04, 2023
-
-
Sébastien Villemot authored
Also add some annotations to remove some false positives. There remain some boost-related false positives, it’s unclear how to suppress them.
-
- Dec 01, 2023
-
-
Sébastien Villemot authored
Automatically detected using clang-tidy with bugprone-reserved-identifier check. By the way, homogeneize the define identifiers in relation to camel case convention.
-
Sébastien Villemot authored
Automatically detected using clang-tidy with modernize-use-emplace check.
-
Sébastien Villemot authored
Automatically detected using clang-tidy with modernize-use-nodiscard check.
-
- Nov 30, 2023
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Sep 22, 2023
-
-
Sébastien Villemot authored
-
- Sep 20, 2023
-
-
Sébastien Villemot authored
-
- Jun 07, 2023
-
-
Sébastien Villemot authored
-
- May 25, 2023
-
-
Sébastien Villemot authored
-
- Apr 11, 2023
-
-
Sébastien Villemot authored
Adapt the code accordingly.
-
- Mar 16, 2023
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
-
- Jan 05, 2023
-
-
Sébastien Villemot authored
-
- Dec 14, 2022
-
-
Sébastien Villemot authored
-
Sébastien Villemot authored
Macro processor: fix tracking of line numbers after @#define, @#include and @#includepath directives Closes: #108
-
- Sep 27, 2022
-
-
Sébastien Villemot authored
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.
-
- Jul 20, 2022
-
-
Sébastien Villemot authored
By the way, turn those classes into structs since all their members are public.
-
- Jul 16, 2022
-
-
Sébastien Villemot authored
-
- Jun 24, 2022
-
-
Sébastien Villemot authored
As a consequence, add many [[maybe_unused]] attributes for legitimate cases (mainly in virtual functions).
-
Sébastien Villemot authored
A function defined entirely inside a class/struct/union definition is implicitly an inline function.
-
- Jun 16, 2022
-
-
Sébastien Villemot authored
Previously it was set to 1. Also do the same change for variable defined on the command-line, for consistency. Closes: #43
-
- Jun 08, 2022
-
-
Sébastien Villemot authored
-
- Jun 07, 2022
-
-
Sébastien Villemot authored
In particular, use this feature in many loops which feature a special treatment for the first iteration, using a boolean variable (replacing iterator manipulation). By the way, also use std::exchange() to simultaneously test the value of this variable and update it.
-
Sébastien Villemot authored
-
- May 18, 2022
-
-
Sébastien Villemot authored
We follow the advice given by Josuttis in his book about move semantics. Deleting those member fuctions can be a bug if we want to allow copy semantics, because overload resolution will no longer fallback to the copy constructor/assignment operator when given an rvalue. In particular, this explain why it was not possible to delete the move assignment operator of the StaticModel class.
-
- May 04, 2022
-
-
Sébastien Villemot authored
-