base: Rename Flags::update as Flags::replace
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sat, 26 Dec 2020 14:38:29 +0000 (11:38 -0300)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 19 Jan 2021 03:27:04 +0000 (03:27 +0000)
commit9d48bd87420901fab3030478b0f39ae17367625f
tree3b8b10af512c7fae2a0d508d5a4f2b14af805094
parent2aa5fb0d63ecc769085a7ebe9b1abda79668f5da
base: Rename Flags::update as Flags::replace

The function name `update` is too generic. Given that
the expected functionality is to replace the selected
flag bits with the bits provided as parameters, rename
it as `replace`.

Change-Id: Ic7613ae09ecf9b92e31103b4e928192c07e9b640
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38737
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
src/base/flags.hh
src/base/flags.test.cc