mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Superficial changes to script-opt related code
* Rename overly generic ACCESSORS macro with ZEEK_ prefix * A few places where whitespace was noticeably wrong/distracting * Minor/obvious reference/move semantics improvements suggested by linter * Remove unused detail::Scope::Remove(), no need for deprecation
This commit is contained in:
parent
ff7d9e3d72
commit
481d989495
9 changed files with 23 additions and 46 deletions
|
@ -105,7 +105,7 @@ public:
|
|||
* @param incr Amount by which to increase the frame offset.
|
||||
* Use a negative value to shrink the offset.
|
||||
*/
|
||||
void IncreaseOffset(int incr) { current_offset += incr; }
|
||||
void IncreaseOffset(int incr) { current_offset += incr; }
|
||||
|
||||
/**
|
||||
* Resets all of the indexes from [*startIdx, frame_size) in
|
||||
|
@ -325,7 +325,8 @@ private:
|
|||
/** Associates ID's offsets with values. */
|
||||
std::unique_ptr<Element[]> frame;
|
||||
|
||||
/** The offset we're currently using for references into the frame.
|
||||
/**
|
||||
* The offset we're currently using for references into the frame.
|
||||
* This is how we support inlined functions without having to
|
||||
* alter the offsets associated with their local variables.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue