[vm] Fix Google3 ClangTidy warnings.

TEST=presubmit
Change-Id: Ifa4e77cc4548729526a90683ee163c68517e87ef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/433001
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak
2025-06-04 15:14:15 -07:00
committed by Commit Queue
parent 0404c6cd08
commit bc17496b00
51 changed files with 144 additions and 145 deletions
+1 -3
View File
@@ -3404,9 +3404,7 @@ static ObjectPtr ThrowArgumentError(const char* exception_message) {
saved_exception = &Instance::Handle(raw_exception);
}
Exceptions::Throw(thread, *saved_exception);
const String& message =
String::Handle(String::New("Exception was not thrown, internal error"));
return ApiError::New(message);
UNREACHABLE();
}
// TODO(sgjesse): value should always be smaller then 0xff. Add error handling.