projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd2258
)
[NFC] Fix unused expression warning introduced in r338884
author
Erich Keane
<erich.keane@intel.com>
Fri, 3 Aug 2018 13:23:04 +0000
(13:23 +0000)
committer
Erich Keane
<erich.keane@intel.com>
Fri, 3 Aug 2018 13:23:04 +0000
(13:23 +0000)
llvm-svn: 338886
clang/include/clang/Basic/Attr.td
patch
|
blob
|
history
diff --git
a/clang/include/clang/Basic/Attr.td
b/clang/include/clang/Basic/Attr.td
index
0fffce4
..
191bfd5
100644
(file)
--- a/
clang/include/clang/Basic/Attr.td
+++ b/
clang/include/clang/Basic/Attr.td
@@
-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> {