r338889 - [NFCI] My attempt to fix a warning in r338886 broke the build! Fix it.

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 3 06:51:36 PDT 2018


Author: erichkeane
Date: Fri Aug  3 06:51:35 2018
New Revision: 338889

URL: http://llvm.org/viewvc/llvm-project?rev=338889&view=rev
Log:
[NFCI] My attempt to fix a warning in r338886 broke the build! Fix it.

Clang format got the best of me... it introduced spaces around something 
in a table-genned file, so it was interpreted as an array and not a 
code block.  

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=338889&r1=338888&r2=338889&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Attr.td (original)
+++ cfe/trunk/include/clang/Basic/Attr.td Fri Aug  3 06:51:35 2018
@@ -146,7 +146,7 @@ def HasFunctionProto : SubsetSubject<Dec
 // member function.
 // FIXME: This does not actually ever match currently.
 def ImplicitObjectParameter
-    : SubsetSubject<Function, [ {static_cast<void>(S), false} ],
+    : SubsetSubject<Function, [{static_cast<void>(S), false}],
                     "implicit object parameters">;
 
 // A single argument to an attribute




More information about the cfe-commits mailing list