martong added inline comments.
================ Comment at: clang-tidy/misc/InfiniteLoopCheck.cpp:105 + return llvm::make_unique<ExprSequence>( + *(new ExprSequence(TheCFG.get(), &ASTCtx))); +} ---------------- `make_unique` is a forwarding function, therefore there is no need to create an object and then move it. Instead you can simply forward the arguments to the constructor: `return llvm::make_unique<ExprSequence>(TheCFG.get(), &ASTCtx)` https://reviews.llvm.org/D40937 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits