Do not use "auto" where actual type is obvious and short.

llvm-svn: 199166
This commit is contained in:
Rui Ueyama 2014-01-14 00:06:50 +00:00
parent 1c1487494d
commit 37f5273773
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ protected:
moduledef::Parser parser(lexer, _alloc);
llvm::Optional<moduledef::Directive *> dir = parser.parse();
EXPECT_TRUE(dir.hasValue());
auto *ret = dyn_cast<T>(dir.getValue());
T *ret = dyn_cast<T>(dir.getValue());
EXPECT_TRUE(ret != nullptr);
return ret;
}