This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Selector warning


A few more style issues.

Devang Patel wrote:


+           {
+               if (TREE_VALUE(method_chain) == TREE_VALUE(chain))
                                ^ space before (            ^ likewise


+           {
+             /* Adjust line number for warning message.  */
+             int save_lineno = lineno;
+             if (flag_next_runtime && TREE_PURPOSE(chain))
                                                     ^ likewise

+               lineno = DECL_SOURCE_LINE(TREE_PURPOSE(chain));
                                           ^ likewise   ^ likewise

+             warning ("creating selector for non existant method %s",
+                    IDENTIFIER_POINTER (TREE_VALUE(chain)));
                                                     ^ likewise



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]