diff options
author | Daniel Schemmel <daniel@schemmel.net> | 2023-06-29 01:00:01 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-07-06 23:35:46 +0200 |
commit | b374f04f313f65915df7017b5260654aa49c19b0 (patch) | |
tree | 4e454603b4a13a30f874b4666d2c1db174414c59 /include | |
parent | c699cc56365d828388b082ff0f64bc4d6f7496c7 (diff) | |
download | klee-b374f04f313f65915df7017b5260654aa49c19b0.tar.gz |
rename Allocator::location_info to Allocator::locationInfo for
consistency
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/KDAlloc/allocator.h | 4 | ||||
-rw-r--r-- | include/klee/KDAlloc/suballocators/sized_regions.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/klee/KDAlloc/allocator.h b/include/klee/KDAlloc/allocator.h index a0c2f162..5588d1d1 100644 --- a/include/klee/KDAlloc/allocator.h +++ b/include/klee/KDAlloc/allocator.h @@ -348,8 +348,8 @@ public: } } - LocationInfo location_info(void const *const ptr, - std::size_t const size) const noexcept { + LocationInfo locationInfo(void const *const ptr, + std::size_t const size) const noexcept { assert(*this && "Invalid allocator"); if (!ptr || reinterpret_cast<std::uintptr_t>(ptr) < 4096) { diff --git a/include/klee/KDAlloc/suballocators/sized_regions.h b/include/klee/KDAlloc/suballocators/sized_regions.h index 2fb12bf5..bb2a0b69 100644 --- a/include/klee/KDAlloc/suballocators/sized_regions.h +++ b/include/klee/KDAlloc/suballocators/sized_regions.h @@ -193,7 +193,7 @@ public: /// the beginning and end and in between any two allocations. inline LocationInfo getLocationInfo(char const *const address, std::size_t const size) const noexcept { - assert(root && "Cannot compute location_info for an empty treap"); + assert(root && "Cannot compute location info for an empty treap"); Node const *currentNode = &*root; Node const *closestPredecessor = nullptr; |