[PATCH] D36822: [clang-tidy] Ignore statements inside a template instantiation.

2017-08-17 Thread Haojian Wu via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL311086: [clang-tidy] Ignore statements inside a template instantiation. (authored by hokein). Repository: rL LLVM https://reviews.llvm.org/D36822 Files:

[PATCH] D36822: [clang-tidy] Ignore statements inside a template instantiation.

2017-08-17 Thread Haojian Wu via Phabricator via cfe-commits
hokein updated this revision to Diff 111510. hokein marked an inline comment as done. hokein added a comment. Remove the CHECK-MESSAGE-NOT. https://reviews.llvm.org/D36822 Files: clang-tidy/modernize/MakeSmartPtrCheck.cpp test/clang-tidy/modernize-make-unique.cpp Index:

[PATCH] D36822: [clang-tidy] Ignore statements inside a template instantiation.

2017-08-17 Thread Alexander Kornienko via Phabricator via cfe-commits
alexfh accepted this revision. alexfh added a comment. This revision is now accepted and ready to land. LG with a nit. Comment at: test/clang-tidy/modernize-make-unique.cpp:459 + std::unique_ptr t2 = std::unique_ptr(new T); + // CHECK-MESSAGE-NOT: warning: + t2.reset(new

[PATCH] D36822: [clang-tidy] Ignore statements inside a template instantiation.

2017-08-17 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision. Herald added subscribers: xazax.hun, JDevlieghere. https://reviews.llvm.org/D36822 Files: clang-tidy/modernize/MakeSmartPtrCheck.cpp test/clang-tidy/modernize-make-unique.cpp Index: test/clang-tidy/modernize-make-unique.cpp