[tidy] Check modernize-use-auto

Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-auto.html
This commit is contained in:
Bruno de Oliveira Abinader
2016-06-12 14:49:34 +03:00
parent 7ac7ac13f5
commit 6e22de8cce
4 changed files with 5 additions and 5 deletions

View File

@@ -80,8 +80,8 @@ TEST(ThreadLocalStorage, AutoReclaim) {
unsigned counter = 0;
DtorCounter* dtorCounter1 = new DtorCounter{ &counter };
DtorCounter* dtorCounter2 = new DtorCounter{ &counter };
auto dtorCounter1 = new DtorCounter{ &counter };
auto dtorCounter2 = new DtorCounter{ &counter };
ThreadContext context = {"Test"};