aaron.ballman accepted this revision.
aaron.ballman added a comment.

Aside from a small nit in the comments, LGTM.



================
Comment at: include/clang/Sema/Sema.h:5608
+  /// diagnostic is emitted.
+  bool DiagnoseUnusedLambdaCapture(const SourceRange CaptureRange,
+                                   const sema::Capture &From);
----------------
No need to mark the SourceRange const, unless you intended to pass it by 
reference.


Repository:
  rC Clang

https://reviews.llvm.org/D48845



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to