[PATCH] D48708: NFC Build fix in RegisterCustomCheckersTest.cpp

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 28 06:52:31 PDT 2018


alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.


================
Comment at: unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp:64
     });
-    return AnalysisConsumer;
+    return std::unique_ptr<ASTConsumer>(AnalysisConsumer.release());
   }
----------------
d0k has committed a better fix in r335854 (a workaround for GCC < 5, actually, since the original code was fine w.r.t. the standard).


Repository:
  rC Clang

https://reviews.llvm.org/D48708





More information about the cfe-commits mailing list