misc: Replace M5_FALLTHROUGH with GEM5_FALLTHROUGH.
Change-Id: I058f311b6d9c284f745bcc915db72236d05db21b Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45233 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -139,7 +139,7 @@ Print::processFlag()
|
||||
|
||||
case 'X':
|
||||
fmt.uppercase = true;
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case 'x':
|
||||
fmt.base = Format::Hex;
|
||||
fmt.format = Format::Integer;
|
||||
@@ -161,7 +161,7 @@ Print::processFlag()
|
||||
|
||||
case 'G':
|
||||
fmt.uppercase = true;
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case 'g':
|
||||
fmt.format = Format::Floating;
|
||||
fmt.floatFormat = Format::Best;
|
||||
@@ -170,7 +170,7 @@ Print::processFlag()
|
||||
|
||||
case 'E':
|
||||
fmt.uppercase = true;
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case 'e':
|
||||
fmt.format = Format::Floating;
|
||||
fmt.floatFormat = Format::Scientific;
|
||||
@@ -217,7 +217,7 @@ Print::processFlag()
|
||||
fmt.fillZero = true;
|
||||
break;
|
||||
}
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case '1':
|
||||
case '2':
|
||||
case '3':
|
||||
|
||||
@@ -57,7 +57,7 @@ createImgWriter(Enums::ImageFormat type, const FrameBuffer *fb)
|
||||
// gem5 will try PNG first, and it will fallback to BMP if not
|
||||
// available.
|
||||
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
#if HAVE_PNG
|
||||
case Enums::Png:
|
||||
return std::unique_ptr<PngWriter>(new PngWriter(fb));
|
||||
|
||||
Reference in New Issue
Block a user