From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher Li" Subject: Re: [PATCH 15/16] deal with enum members without excessive PITA Date: Thu, 13 Dec 2007 16:18:21 -0800 Message-ID: <70318cbf0712131618k6b3ffc98ibbf68156dc67b52e@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from rv-out-0910.google.com ([209.85.198.187]:1818 "EHLO rv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762303AbXLNASV (ORCPT ); Thu, 13 Dec 2007 19:18:21 -0500 Received: by rv-out-0910.google.com with SMTP id k20so733267rvb.1 for ; Thu, 13 Dec 2007 16:18:21 -0800 (PST) In-Reply-To: Content-Disposition: inline Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Thomas Schmid Cc: Al Viro , linux-sparse@vger.kernel.org It seems there is not good way to get the enum members from the parent symbol. It should be trivial make a patch to add members to the parent symbol->symbol_list though. Chris On Dec 13, 2007 6:21 AM, Thomas Schmid wrote: > Hello Al, > > I just saw your patch for enum members, really late, I know. > > But i've got a question: If I've got the symbol for a global enum - how do > I get from this to the symbols for the enum members? > If there is no way, I've got to loop over all symbols within global_scope, > right? > > Best regards > Thomas Schmid > - > To unsubscribe from this list: send the line "unsubscribe linux-sparse" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >