This causes a warning: gen/clang/include/clang/Sema/AttrParsedAttrImpl.inc:1050:12: warning: expression result unused [-Wunused-value] return S, false; ^
On Fri, Aug 3, 2018 at 9:01 AM Erich Keane via cfe-commits < cfe-commits@lists.llvm.org> wrote: > Author: erichkeane > Date: Fri Aug 3 06:01:32 2018 > New Revision: 338884 > > URL: http://llvm.org/viewvc/llvm-project?rev=338884&view=rev > Log: > [NFC] Silence unused variable warning in Attr.td/AttrParsedAttrImpl.inc > > Modified: > cfe/trunk/include/clang/Basic/Attr.td > > Modified: cfe/trunk/include/clang/Basic/Attr.td > URL: > http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?rev=338884&r1=338883&r2=338884&view=diff > > ============================================================================== > --- cfe/trunk/include/clang/Basic/Attr.td (original) > +++ cfe/trunk/include/clang/Basic/Attr.td Fri Aug 3 06:01:32 2018 > @@ -145,7 +145,7 @@ def HasFunctionProto : SubsetSubject<Dec > // function. Accepted as a function type attribute on the type of such a > // member function. > // FIXME: This does not actually ever match currently. > -def ImplicitObjectParameter : SubsetSubject<Function, [{false}], > +def ImplicitObjectParameter : SubsetSubject<Function, [{S, false}], > "implicit object parameters">; > > // A single argument to an attribute > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits