forked from OSchip/llvm-project
Do not use "auto" where actual type is obvious and short.
llvm-svn: 199166
This commit is contained in:
parent
1c1487494d
commit
37f5273773
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue