Disable the modernize-use-trailing-return-type.cpp test in C++2a mode

It is performing a use-of-uninitialized-value, as detected by MSan.

llvm-svn: 361163
This commit is contained in:
Dmitri Gribenko 2019-05-20 15:12:12 +00:00
parent 0429fddc9d
commit 1e593f342f
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
// RUN: %check_clang_tidy -std=c++14-or-later %s modernize-use-trailing-return-type %t -- -- -fdeclspec -fexceptions
// RUN: %check_clang_tidy -std=c++14,c++17 %s modernize-use-trailing-return-type %t -- -- -fdeclspec -fexceptions
// FIXME: Fix the checker to work in C++2a mode, it is performing a
// use-of-uninitialized-value.
namespace std {
template <typename T>