[PATCH] D19783: Fix cv-qualification of '*this' captures (and nasty bug PR27507 introduced by commit 263921 "Implement Lambda Capture of *this by Value as [=, *this]")

Faisal Vali via cfe-commits cfe-commits at lists.llvm.org
Thu May 19 04:29:16 PDT 2016


faisalv added inline comments.

================
Comment at: lib/Parse/ParseDeclCXX.cpp:3651
@@ -3652,1 +3650,3 @@
+  case AttributeList::AT_Unused:
+    return !ScopeName && AttrName->getName().equals("maybe_unused");
   default:
----------------
This whitespace change shouldn't have been included - as an aside - we still strive unix style line endings right?


http://reviews.llvm.org/D19783





More information about the cfe-commits mailing list