diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-07-22 11:06:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 11:06:12 +0100 |
| commit | 513e6daacebb40425cea7fb3a181f3a6430183ab (patch) | |
| tree | bef6adffb181d1596e6bdf5f2fefe6192b9cc158 /src/build_settings.cpp | |
| parent | e2b75d2addc9ae520030bc3daec701b80f7ef7c5 (diff) | |
| parent | 51d427f424b7ffbf44bb9aa1e9086e2984b419f0 (diff) | |
Merge pull request #5081 from Lperlind/vet-explicit-allocators
Add -vet-explicit-allocators
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index ab501fe84..e1b9c4156 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -309,6 +309,7 @@ enum VetFlags : u64 { VetFlag_Cast = 1u<<8, VetFlag_Tabs = 1u<<9, VetFlag_UnusedProcedures = 1u<<10, + VetFlag_ExplicitAllocators = 1u<<11, VetFlag_Unused = VetFlag_UnusedVariables|VetFlag_UnusedImports, @@ -342,6 +343,8 @@ u64 get_vet_flag_from_name(String const &name) { return VetFlag_Tabs; } else if (name == "unused-procedures") { return VetFlag_UnusedProcedures; + } else if (name == "explicit-allocators") { + return VetFlag_ExplicitAllocators; } return VetFlag_NONE; } |