[前][次][番号順一覧][スレッド一覧]

ruby-changes:58090

From: git <ko1@a...>
Date: Thu, 3 Oct 2019 12:48:30 +0900 (JST)
Subject: [ruby-changes:58090] 7e060d5018 (master): * expand tabs. [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=7e060d5018

From 7e060d50183712b7ab11f5887af6a3ce69df4a57 Mon Sep 17 00:00:00 2001
From: git <svn-admin@r...>
Date: Thu, 3 Oct 2019 12:48:20 +0900
Subject: * expand tabs. [ci skip]

Tabs were expanded because previously the file did not have any tab indentation.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.

diff --git a/method.h b/method.h
index 84ade7f..1cfa9e1 100644
--- a/method.h
+++ b/method.h
@@ -88,14 +88,14 @@ METHOD_ENTRY_FLAGS_SET(rb_method_entry_t *me, rb_method_visibility_t visi, unsig https://github.com/ruby/ruby/blob/trunk/method.h#L88
     VM_ASSERT(basic <= 1);
     me->flags =
       (me->flags & ~(IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2)) |
-	((visi << (IMEMO_FL_USHIFT+0)) | (basic << (IMEMO_FL_USHIFT+2)));
+        ((visi << (IMEMO_FL_USHIFT+0)) | (basic << (IMEMO_FL_USHIFT+2)));
 }
 static inline void
 METHOD_ENTRY_FLAGS_COPY(rb_method_entry_t *dst, const rb_method_entry_t *src)
 {
     dst->flags =
       (dst->flags & ~(IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2)) |
-	(src->flags & (IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2));
+        (src->flags & (IMEMO_FL_USER0|IMEMO_FL_USER1|IMEMO_FL_USER2));
 }
 
 typedef enum {
@@ -166,11 +166,11 @@ struct rb_method_definition_struct { https://github.com/ruby/ruby/blob/trunk/method.h#L166
     int complemented_count : 28;
 
     union {
-	rb_method_iseq_t iseq;
-	rb_method_cfunc_t cfunc;
-	rb_method_attr_t attr;
-	rb_method_alias_t alias;
-	rb_method_refined_t refined;
+        rb_method_iseq_t iseq;
+        rb_method_cfunc_t cfunc;
+        rb_method_attr_t attr;
+        rb_method_alias_t alias;
+        rb_method_refined_t refined;
         rb_method_bmethod_t bmethod;
 
         enum method_optimized_type optimize_type;
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]