Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: runtime/bin/builtin_natives.cc

Issue 2480793002: clang-format runtime/bin (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/builtin_nolib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin_natives.cc
diff --git a/runtime/bin/builtin_natives.cc b/runtime/bin/builtin_natives.cc
index 874e4426d233826d3d7d692e193df89b194e1b1b..394beb3d11268a3a027d2a57a42288c7daf1e68d 100644
--- a/runtime/bin/builtin_natives.cc
+++ b/runtime/bin/builtin_natives.cc
@@ -27,7 +27,7 @@ namespace bin {
// using functions listed in io_natives.cc.
#define BUILTIN_NATIVE_LIST(V) \
V(Builtin_PrintString, 1) \
- V(Builtin_GetCurrentDirectory, 0) \
+ V(Builtin_GetCurrentDirectory, 0)
BUILTIN_NATIVE_LIST(DECLARE_FUNCTION);
@@ -36,9 +36,7 @@ static struct NativeEntries {
const char* name_;
Dart_NativeFunction function_;
int argument_count_;
-} BuiltinEntries[] = {
- BUILTIN_NATIVE_LIST(REGISTER_FUNCTION)
-};
+} BuiltinEntries[] = {BUILTIN_NATIVE_LIST(REGISTER_FUNCTION)};
void Builtin_DummyNative(Dart_NativeArguments args) {
@@ -46,7 +44,6 @@ void Builtin_DummyNative(Dart_NativeArguments args) {
}
-
/**
* Looks up native functions in both libdart_builtin and libdart_io.
*/
@@ -106,10 +103,9 @@ void FUNCTION_NAME(Builtin_PrintString)(Dart_NativeArguments args) {
fflush(stdout);
if (ShouldCaptureStdout()) {
// For now we report print output on the Stdout stream.
- uint8_t newline[] = { '\n' };
+ uint8_t newline[] = {'\n'};
Dart_ServiceSendDataEvent("Stdout", "WriteEvent", chars, length);
- Dart_ServiceSendDataEvent("Stdout", "WriteEvent",
- newline, sizeof(newline));
+ Dart_ServiceSendDataEvent("Stdout", "WriteEvent", newline, sizeof(newline));
}
}
« no previous file with comments | « runtime/bin/builtin_in.cc ('k') | runtime/bin/builtin_nolib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698