[PATCH] D12162: Remove reference.

Angel Garcia via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 19 10:36:54 PDT 2015


angelgarcia created this revision.
angelgarcia added a reviewer: alexfh.
angelgarcia added subscribers: cfe-commits, klimek.
angelgarcia changed the visibility of this Differential Revision from "Public (No Login Required)" to "All Users".

Remove a reference where a value was intended (its being initialized with std::move).

http://reviews.llvm.org/D12162

Files:
  clang-tidy/modernize/UseNullptrCheck.cpp

Index: clang-tidy/modernize/UseNullptrCheck.cpp
===================================================================
--- clang-tidy/modernize/UseNullptrCheck.cpp
+++ clang-tidy/modernize/UseNullptrCheck.cpp
@@ -435,7 +435,7 @@
 private:
   SourceManager &SM;
   ASTContext &Context;
-  const SmallVector<StringRef, 1> &UserNullMacros;
+  const SmallVector<StringRef, 1> UserNullMacros;
   ClangTidyCheck &Check;
   Expr *FirstSubExpr;
   bool PruneSubtree;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12162.32573.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150819/ee8a663f/attachment.bin>


More information about the cfe-commits mailing list