[cfe-dev] missing return in lib/Sema/SemaDeclAttr.cpp???

dawn at burble.org dawn at burble.org
Mon Aug 30 14:38:15 PDT 2010


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?

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

Add support for Microsoft's __thiscall, from Steven Watanabe!

-Dawn



More information about the cfe-dev mailing list