[NFC] Fix unused expression warning introduced in r338884

llvm-svn: 338886
This commit is contained in:
Erich Keane 2018-08-03 13:23:04 +00:00
parent cfd225806d
commit 480a6c1a0b
1 changed files with 3 additions and 2 deletions

View File

@ -145,8 +145,9 @@ def HasFunctionProto : SubsetSubject<DeclBase,
// 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, [{S, false}],
"implicit object parameters">;
def ImplicitObjectParameter
: SubsetSubject<Function, [ {static_cast<void>(S), false} ],
"implicit object parameters">;
// A single argument to an attribute
class Argument<string name, bit optional, bit fake = 0> {