aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy/utils
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2018-11-02 15:03:43 +0000
committerAlexander Kornienko <alexfh@google.com>2018-11-02 15:03:43 +0000
commitb8f4c53d482669ebf6fecf31d672855b8c7dd023 (patch)
tree1e9743a5fbefd6d8e684a303c54799c8065ef000 /clang-tidy/utils
parent13455cb7a6e84bc27bb571dd1948dd2ab8c04d62 (diff)
[clang-tidy] .reset(new X) -> make_unique<X>() in a comment. NFC
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@345979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-tidy/utils')
-rw-r--r--clang-tidy/utils/IncludeInserter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tidy/utils/IncludeInserter.h b/clang-tidy/utils/IncludeInserter.h
index 75f2554b..a816b926 100644
--- a/clang-tidy/utils/IncludeInserter.h
+++ b/clang-tidy/utils/IncludeInserter.h
@@ -31,8 +31,8 @@ namespace utils {
/// class MyCheck : public ClangTidyCheck {
/// public:
/// void registerPPCallbacks(CompilerInstance& Compiler) override {
-/// Inserter.reset(new IncludeInserter(&Compiler.getSourceManager(),
-/// &Compiler.getLangOpts()));
+/// Inserter = llvm::make_unique<IncludeInserter>(&Compiler.getSourceManager(),
+/// &Compiler.getLangOpts());
/// Compiler.getPreprocessor().addPPCallbacks(
/// Inserter->CreatePPCallback());
/// }