[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] missing return in lib/Sema/SemaDeclAttr.cpp???
From:       Douglas Gregor <dgregor () apple ! com>
Date:       2010-08-30 23:31:37
Message-ID: F9EF23F9-5A21-4621-B88C-A2B279AE5A3A () apple ! com
[Download RAW message or body]


On Aug 30, 2010, at 2:38 PM, dawn@burble.org wrote:

> In HandleCallConvAttr(), the case for "AttributeList::AT_thiscall" isn't
> followed by a return, so the case for "AttributeList::AT_cdecl" will be
> executed also.  Is this intentional?

Definitely a bug. Nice catch!

> The code appears to have been added in this rev:
> 
> r104026 | dgregor | 2010-05-18 09:57:00 -0700 (Tue, 18 May 2010) | 2 lines


... and the egg is on my face.

Fixed in Clang r112552.

	- Doug
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic