mirror of
https://github.com/intel/llvm.git
synced 2026-01-19 09:31:59 +08:00
clang-format: Fix broken test.
llvm-svn: 220374
This commit is contained in:
@@ -3526,7 +3526,7 @@ TEST_F(FormatTest, TrailingReturnType) {
|
||||
" -> alias::tensor<Order, T, mem::tag::cpu> {}");
|
||||
verifyFormat("auto SomeFunction(A aaaaaaaaaaaaaaaaaaaaa) const\n"
|
||||
" -> decltype(f(aaaaaaaaaaaaaaaaaaaaa)) {}");
|
||||
verifyFormat("auto doSomething(Aaaaaa* aaaaaa) -> decltype(aaaaaa->f()) {}");
|
||||
verifyFormat("auto doSomething(Aaaaaa *aaaaaa) -> decltype(aaaaaa->f()) {}");
|
||||
|
||||
// Not trailing return types.
|
||||
verifyFormat("void f() { auto a = b->c(); }");
|
||||
|
||||
Reference in New Issue
Block a user