Regression

Clang Tools.clang-tidy/checkers.modernize-use-trailing-return-type.cpp (from Clang Tools)

Failing for the past 1 build (Since Failed#17715 )
Took 0.38 sec.

Stacktrace

Script:
--
: 'RUN: at line 1';   /usr/local/Frameworks/Python.framework/Versions/3.8/bin/python3.8 /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py -std=c++14,c++17 /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type.cpp modernize-use-trailing-return-type /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp -- -- -fdeclspec -fexceptions
--
Exit Code: 1

Command Output (stdout):
--
Running ['clang-tidy', '/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp', '-fix', '--checks=-*,modernize-use-trailing-return-type', '-format-style=none', '--', '-fdeclspec', '-fexceptions', '-std=c++14', '-nostdinc++']...
------------------------ clang-tidy output -----------------------
144 warnings generated.
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:22:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int f();
~~~ ^
auto    -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:22:1: note: FIX-IT applied suggested code changes
int f();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:22:8: note: FIX-IT applied suggested code changes
int f();
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:25:7: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int ((f))();
~~~   ^
auto        -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:25:1: note: FIX-IT applied suggested code changes
int ((f))();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:25:12: note: FIX-IT applied suggested code changes
int ((f))();
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:28:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int f(int);
~~~ ^
auto       -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:28:1: note: FIX-IT applied suggested code changes
int f(int);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:28:11: note: FIX-IT applied suggested code changes
int f(int);
          ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:31:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int f(int arg);
~~~ ^
auto           -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:31:1: note: FIX-IT applied suggested code changes
int f(int arg);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:31:15: note: FIX-IT applied suggested code changes
int f(int arg);
              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:34:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int f(int arg1, int arg2, int arg3);
~~~ ^
auto                                -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:34:1: note: FIX-IT applied suggested code changes
int f(int arg1, int arg2, int arg3);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:34:36: note: FIX-IT applied suggested code changes
int f(int arg1, int arg2, int arg3);
                                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:37:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int f(int arg1, int arg2, int arg3, ...);
~~~ ^
auto                                     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:37:1: note: FIX-IT applied suggested code changes
int f(int arg1, int arg2, int arg3, ...);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:37:41: note: FIX-IT applied suggested code changes
int f(int arg1, int arg2, int arg3, ...);
                                        ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:40:27: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> int f(T t);
                      ~~~ ^
                      auto       -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:40:23: note: FIX-IT applied suggested code changes
template <typename T> int f(T t);
                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:40:33: note: FIX-IT applied suggested code changes
template <typename T> int f(T t);
                                ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:48:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int a1() { return 42; }
~~~ ^
auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:48:1: note: FIX-IT applied suggested code changes
int a1() { return 42; }
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:48:9: note: FIX-IT applied suggested code changes
int a1() { return 42; }
        ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:51:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int a2() {
~~~ ^
auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:51:1: note: FIX-IT applied suggested code changes
int a2() {
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:51:9: note: FIX-IT applied suggested code changes
int a2() {
        ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:56:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int a3()
~~~ ^
auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:56:1: note: FIX-IT applied suggested code changes
int a3()
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:56:9: note: FIX-IT applied suggested code changes
int a3()
        ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:62:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int a4(int   arg   )   ;
~~~ ^
auto                 -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:62:1: note: FIX-IT applied suggested code changes
int a4(int   arg   )   ;
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:62:21: note: FIX-IT applied suggested code changes
int a4(int   arg   )   ;
                    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:65:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int a5
~~~ ^
auto
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:65:1: note: FIX-IT applied suggested code changes
int a5
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:68:10: note: FIX-IT applied suggested code changes
(int arg);
         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:73:1: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
a7
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:70:1: note: FIX-IT applied suggested code changes
const
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:75:3: note: FIX-IT applied suggested code changes
()
  ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:81:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int*a7(int arg);
~~~~^
auto            -> int*
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:81:1: note: FIX-IT applied suggested code changes
int*a7(int arg);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:81:16: note: FIX-IT applied suggested code changes
int*a7(int arg);
               ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:85:7: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
C<int>a8(int arg);
~~~~~~^
auto              -> C<int>
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:85:1: note: FIX-IT applied suggested code changes
C<int>a8(int arg);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:85:18: note: FIX-IT applied suggested code changes
C<int>a8(int arg);
                 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:94:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline int d1(int arg);
       ~~~ ^
       auto            -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:94:8: note: FIX-IT applied suggested code changes
inline int d1(int arg);
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:94:23: note: FIX-IT applied suggested code changes
inline int d1(int arg);
                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:97:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
extern "C" int d2(int arg);
           ~~~ ^
           auto            -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:97:12: note: FIX-IT applied suggested code changes
extern "C" int d2(int arg);
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:97:27: note: FIX-IT applied suggested code changes
extern "C" int d2(int arg);
                          ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:100:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline int d3(int arg) noexcept(true);
       ~~~ ^
       auto                           -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:100:8: note: FIX-IT applied suggested code changes
inline int d3(int arg) noexcept(true);
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:100:38: note: FIX-IT applied suggested code changes
inline int d3(int arg) noexcept(true);
                                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:103:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline int d4(int arg) try { } catch(...) { }
       ~~~ ^
       auto            -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:103:8: note: FIX-IT applied suggested code changes
inline int d4(int arg) try { } catch(...) { }
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:103:23: note: FIX-IT applied suggested code changes
inline int d4(int arg) try { } catch(...) { }
                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:106:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int d5(int arg) throw();
~~~ ^
auto                    -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:106:1: note: FIX-IT applied suggested code changes
int d5(int arg) throw();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:106:24: note: FIX-IT applied suggested code changes
int d5(int arg) throw();
                       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:109:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static int d6(int arg);
       ~~~ ^
       auto            -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:109:8: note: FIX-IT applied suggested code changes
static int d6(int arg);
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:109:23: note: FIX-IT applied suggested code changes
static int d6(int arg);
                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:112:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int static d6(int arg);
~~~        ^
auto                   -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:112:1: note: FIX-IT applied suggested code changes
int static d6(int arg);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:112:23: note: FIX-IT applied suggested code changes
int static d6(int arg);
                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
unsigned static int d7(int arg);
~~~~~~~~~~~~~~~~~~~ ^
static auto                     -> unsigned int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:115:1: note: FIX-IT applied suggested code changes
unsigned static int d7(int arg);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:115:32: note: FIX-IT applied suggested code changes
unsigned static int d7(int arg);
                               ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:118:63: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const long static int volatile constexpr unsigned inline long d8(int arg);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
static constexpr inline auto                                              -> const long int volatile unsigned long
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:118:1: note: FIX-IT applied suggested code changes
const long static int volatile constexpr unsigned inline long d8(int arg);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:118:74: note: FIX-IT applied suggested code changes
const long static int volatile constexpr unsigned inline long d8(int arg);
                                                                         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:121:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int constexpr d9();
~~~           ^
auto               -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:121:1: note: FIX-IT applied suggested code changes
int constexpr d9();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:121:19: note: FIX-IT applied suggested code changes
int constexpr d9();
                  ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:124:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline int constexpr d10();
       ~~~           ^
       auto                -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:124:8: note: FIX-IT applied suggested code changes
inline int constexpr d10();
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:124:27: note: FIX-IT applied suggested code changes
inline int constexpr d10();
                          ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:127:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
unsigned constexpr int d11();
~~~~~~~~~~~~~~~~~~~~~~ ^
constexpr auto               -> unsigned int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:127:1: note: FIX-IT applied suggested code changes
unsigned constexpr int d11();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:127:29: note: FIX-IT applied suggested code changes
unsigned constexpr int d11();
                            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:130:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
unsigned extern int d13();
~~~~~~~~~~~~~~~~~~~ ^
extern auto               -> unsigned int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:130:1: note: FIX-IT applied suggested code changes
unsigned extern int d13();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:130:26: note: FIX-IT applied suggested code changes
unsigned extern int d13();
                         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:133:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int static& d14();
~~~~~~~~~~~ ^
static auto       -> int &
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:133:1: note: FIX-IT applied suggested code changes
int static& d14();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:133:18: note: FIX-IT applied suggested code changes
int static& d14();
                 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:137:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    int friend unsigned m1();
    ~~~~~~~~~~~~~~~~~~~ ^
    friend auto              -> int unsigned
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:137:5: note: FIX-IT applied suggested code changes
    int friend unsigned m1();
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:137:29: note: FIX-IT applied suggested code changes
    int friend unsigned m1();
                            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:140:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    int friend unsigned m1() { return 0; }
    ~~~~~~~~~~~~~~~~~~~ ^
    auto                     -> int friend unsigned
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:140:5: note: FIX-IT applied suggested code changes
    int friend unsigned m1() { return 0; }
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:140:29: note: FIX-IT applied suggested code changes
    int friend unsigned m1() { return 0; }
                            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:143:67: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    const long int friend volatile constexpr unsigned inline long m2();
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    friend constexpr inline auto                                       -> const long int volatile unsigned long
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:143:5: note: FIX-IT applied suggested code changes
    const long int friend volatile constexpr unsigned inline long m2();
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:143:71: note: FIX-IT applied suggested code changes
    const long int friend volatile constexpr unsigned inline long m2();
                                                                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:146:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    int virtual unsigned m3();
    ~~~~~~~~~~~~~~~~~~~~ ^
    virtual auto              -> int unsigned
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:146:5: note: FIX-IT applied suggested code changes
    int virtual unsigned m3();
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:146:30: note: FIX-IT applied suggested code changes
    int virtual unsigned m3();
                             ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:150:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    int friend unsigned m4();
    ~~~~~~~~~~~~~~~~~~~ ^
    friend auto              -> int unsigned
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:150:5: note: FIX-IT applied suggested code changes
    int friend unsigned m4();
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:150:29: note: FIX-IT applied suggested code changes
    int friend unsigned m4();
                            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:160:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    int e1();
    ~~~ ^
    auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:160:5: note: FIX-IT applied suggested code changes
    int e1();
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:160:13: note: FIX-IT applied suggested code changes
    int e1();
            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:164:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int N::e1() {}
~~~    ^
auto        -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:164:1: note: FIX-IT applied suggested code changes
int N::e1() {}
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:164:12: note: FIX-IT applied suggested code changes
int N::e1() {}
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:171:7: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int (*e3())(double);
      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:175:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int A::* e5();
         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:178:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int std::vector<std::string>::* e6();
                                ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:181:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int (std::vector<std::string>::*e7())(double);
                                ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:189:48: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline volatile const std::vector<std::string> e2();
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
       auto                                         -> volatile const std::vector<std::string>
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:189:8: note: FIX-IT applied suggested code changes
inline volatile const std::vector<std::string> e2();
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:189:52: note: FIX-IT applied suggested code changes
inline volatile const std::vector<std::string> e2();
                                                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:192:48: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline const std::vector<std::string> volatile e2();
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
       auto                                         -> const std::vector<std::string> volatile
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:192:8: note: FIX-IT applied suggested code changes
inline const std::vector<std::string> volatile e2();
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:192:52: note: FIX-IT applied suggested code changes
inline const std::vector<std::string> volatile e2();
                                                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:195:48: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> const volatile e2();
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
       auto                                         -> std::vector<std::string> const volatile
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:195:8: note: FIX-IT applied suggested code changes
inline std::vector<std::string> const volatile e2();
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:195:52: note: FIX-IT applied suggested code changes
inline std::vector<std::string> const volatile e2();
                                                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:198:6: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int* e8();
~~~~ ^
auto      -> int*
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:198:1: note: FIX-IT applied suggested code changes
int* e8();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:198:10: note: FIX-IT applied suggested code changes
int* e8();
         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:201:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static const char* e9(void* user_data);
       ~~~~~~~~~~~ ^
       auto                            -> const char*
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:201:8: note: FIX-IT applied suggested code changes
static const char* e9(void* user_data);
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:201:39: note: FIX-IT applied suggested code changes
static const char* e9(void* user_data);
                                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:204:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static const char* const e10(void* user_data);
       ~~~~~~~~~~~~~~~~~ ^
       auto                                   -> const char* const
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:204:8: note: FIX-IT applied suggested code changes
static const char* const e10(void* user_data);
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:204:46: note: FIX-IT applied suggested code changes
static const char* const e10(void* user_data);
                                             ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:207:40: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static const char** volatile * const & e11(void* user_data);
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
       auto                                                 -> const char** volatile * const &
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:207:8: note: FIX-IT applied suggested code changes
static const char** volatile * const & e11(void* user_data);
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:207:60: note: FIX-IT applied suggested code changes
static const char** volatile * const & e11(void* user_data);
                                                           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:210:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static const char* const * const * const e12(void* user_data);
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
       auto                                                   -> const char* const * const * const
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:210:8: note: FIX-IT applied suggested code changes
static const char* const * const * const e12(void* user_data);
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:210:62: note: FIX-IT applied suggested code changes
static const char* const * const * const e12(void* user_data);
                                                             ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:213:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
struct A e13();
~~~~~~~~ ^
auto           -> struct A
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:213:1: note: FIX-IT applied suggested code changes
struct A e13();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:213:15: note: FIX-IT applied suggested code changes
struct A e13();
              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:221:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
decltype(1 + 2) dec1() { return 1 + 2; }
                ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:226:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
decltype(std::declval<F>(std::declval<T>)) dec2(F f, T t) { return f(t); }
                                           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:231:50: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename decltype(std::declval<T>())::value_type dec3();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
auto                                                    -> typename decltype(std::declval<T>())::value_type
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:231:1: note: FIX-IT applied suggested code changes
typename decltype(std::declval<T>())::value_type dec3();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:231:56: note: FIX-IT applied suggested code changes
typename decltype(std::declval<T>())::value_type dec3();
                                                       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:235:30: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
decltype(std::declval<T>())* dec4();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
auto                                -> decltype(std::declval<T>())*
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:235:1: note: FIX-IT applied suggested code changes
decltype(std::declval<T>())* dec4();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:235:36: note: FIX-IT applied suggested code changes
decltype(std::declval<T>())* dec4();
                                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:244:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    B& operator=(const B&);
    ~~ ^
    auto                   -> B&
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:244:5: note: FIX-IT applied suggested code changes
    B& operator=(const B&);
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:244:27: note: FIX-IT applied suggested code changes
    B& operator=(const B&);
                          ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:248:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    double base1(int, bool b);
    ~~~~~~ ^
    auto                      -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:248:5: note: FIX-IT applied suggested code changes
    double base1(int, bool b);
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:248:30: note: FIX-IT applied suggested code changes
    double base1(int, bool b);
                             ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:252:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    virtual double base2(int, bool b) {}
            ~~~~~~ ^
            auto                      -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:252:13: note: FIX-IT applied suggested code changes
    virtual double base2(int, bool b) {}
            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:252:38: note: FIX-IT applied suggested code changes
    virtual double base2(int, bool b) {}
                                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:256:19: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    virtual float base3() const = 0;
            ~~~~~ ^
            auto                -> float
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:256:13: note: FIX-IT applied suggested code changes
    virtual float base3() const = 0;
            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:256:32: note: FIX-IT applied suggested code changes
    virtual float base3() const = 0;
                               ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:260:19: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    virtual float base4() volatile = 0;
            ~~~~~ ^
            auto                   -> float
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:260:13: note: FIX-IT applied suggested code changes
    virtual float base4() volatile = 0;
            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:260:35: note: FIX-IT applied suggested code changes
    virtual float base4() volatile = 0;
                                  ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:264:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    double base5(int, bool b) &&;
    ~~~~~~ ^
    auto                         -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:264:5: note: FIX-IT applied suggested code changes
    double base5(int, bool b) &&;
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:264:33: note: FIX-IT applied suggested code changes
    double base5(int, bool b) &&;
                                ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:268:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    double base6(int, bool b) const &&;
    ~~~~~~ ^
    auto                               -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:268:5: note: FIX-IT applied suggested code changes
    double base6(int, bool b) const &&;
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:268:39: note: FIX-IT applied suggested code changes
    double base6(int, bool b) const &&;
                                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:272:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    double base7(int, bool b) const & = delete;
    ~~~~~~ ^
    auto                              -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:272:5: note: FIX-IT applied suggested code changes
    double base7(int, bool b) const & = delete;
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:272:38: note: FIX-IT applied suggested code changes
    double base7(int, bool b) const & = delete;
                                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:276:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    double base8(int, bool b) const volatile & = delete;
    ~~~~~~ ^
    auto                                       -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:276:5: note: FIX-IT applied suggested code changes
    double base8(int, bool b) const volatile & = delete;
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:276:47: note: FIX-IT applied suggested code changes
    double base8(int, bool b) const volatile & = delete;
                                              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:280:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    virtual const char * base9() const noexcept { return ""; }
            ~~~~~~~~~~~~ ^
            auto                                -> const char *
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:280:13: note: FIX-IT applied suggested code changes
    virtual const char * base9() const noexcept { return ""; }
            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:280:48: note: FIX-IT applied suggested code changes
    virtual const char * base9() const noexcept { return ""; }
                                               ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:285:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
double B::base1(int, bool b) {}
~~~~~~    ^
auto                         -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:285:1: note: FIX-IT applied suggested code changes
double B::base1(int, bool b) {}
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:285:29: note: FIX-IT applied suggested code changes
double B::base1(int, bool b) {}
                            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:290:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    virtual double f1(int, bool b) final;
            ~~~~~~ ^
            auto                   -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:290:13: note: FIX-IT applied suggested code changes
    virtual double f1(int, bool b) final;
            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:290:35: note: FIX-IT applied suggested code changes
    virtual double f1(int, bool b) final;
                                  ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:294:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    virtual double base2(int, bool b) override;
            ~~~~~~ ^
            auto                      -> double
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:294:13: note: FIX-IT applied suggested code changes
    virtual double base2(int, bool b) override;
            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:294:38: note: FIX-IT applied suggested code changes
    virtual double base2(int, bool b) override;
                                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:298:19: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    virtual float base3() const override final { }
            ~~~~~ ^
            auto                -> float
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:298:13: note: FIX-IT applied suggested code changes
    virtual float base3() const override final { }
            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:298:32: note: FIX-IT applied suggested code changes
    virtual float base3() const override final { }
                               ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:302:18: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    const char * base9() const noexcept override { return ""; }
    ~~~~~~~~~~~~ ^
    auto                                -> const char *
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:302:5: note: FIX-IT applied suggested code changes
    const char * base9() const noexcept override { return ""; }
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:302:40: note: FIX-IT applied suggested code changes
    const char * base9() const noexcept override { return ""; }
                                       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:306:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    int f2() __restrict;
    ~~~ ^
    auto                -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:306:5: note: FIX-IT applied suggested code changes
    int f2() __restrict;
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:306:24: note: FIX-IT applied suggested code changes
    int f2() __restrict;
                       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:310:30: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    volatile int* __restrict f3() const __restrict noexcept;
    ~~~~~~~~~~~~~~~~~~~~~~~~ ^
    auto                                                    -> volatile int* __restrict
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:310:5: note: FIX-IT applied suggested code changes
    volatile int* __restrict f3() const __restrict noexcept;
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:310:60: note: FIX-IT applied suggested code changes
    volatile int* __restrict f3() const __restrict noexcept;
                                                           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:319:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int g1() [[asdf]];
~~~ ^
auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:319:1: note: FIX-IT applied suggested code changes
int g1() [[asdf]];
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:319:9: note: FIX-IT applied suggested code changes
int g1() [[asdf]];
        ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:322:18: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
[[noreturn]] int g2();
             ~~~ ^
             auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:322:14: note: FIX-IT applied suggested code changes
[[noreturn]] int g2();
             ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:322:22: note: FIX-IT applied suggested code changes
[[noreturn]] int g2();
                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:325:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int g2 [[noreturn]] ();
~~~ ^
auto                   -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:325:1: note: FIX-IT applied suggested code changes
int g2 [[noreturn]] ();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:325:23: note: FIX-IT applied suggested code changes
int g2 [[noreturn]] ();
                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:328:14: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int unsigned g3() __attribute__((cdecl)); // FunctionTypeLoc is null.
             ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:330:37: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int unsigned __attribute__((cdecl)) g3() ; // FunctionTypeLoc is null.
                                    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:332:37: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
__attribute__((cdecl)) int unsigned g3() ; // FunctionTypeLoc is null.
                                    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:339:66: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
[[maybe_unused]] typename Container::value_type const volatile&& t1(Container& C) noexcept;
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
                 auto                                                                      -> typename Container::value_type const volatile&&
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:339:18: note: FIX-IT applied suggested code changes
[[maybe_unused]] typename Container::value_type const volatile&& t1(Container& C) noexcept;
                 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:339:91: note: FIX-IT applied suggested code changes
[[maybe_unused]] typename Container::value_type const volatile&& t1(Container& C) noexcept;
                                                                                          ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:347:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    typename BB<U>::type m1();
    ~~~~~~~~~~~~~~~~~~~~ ^
    auto                      -> typename BB<U>::type
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:347:5: note: FIX-IT applied suggested code changes
    typename BB<U>::type m1();
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:347:30: note: FIX-IT applied suggested code changes
    typename BB<U>::type m1();
                             ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:357:7: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DWORD h1();
~~~~~ ^
auto       -> DWORD
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:357:1: note: FIX-IT applied suggested code changes
DWORD h1();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:357:11: note: FIX-IT applied suggested code changes
DWORD h1();
          ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:362:14: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
UNSIGNED INT h2();
~~~~~~~~~~~~ ^
auto              -> UNSIGNED INT
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:362:1: note: FIX-IT applied suggested code changes
UNSIGNED INT h2();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:362:18: note: FIX-IT applied suggested code changes
UNSIGNED INT h2();
                 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:366:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CONST int h3();
~~~~~~~~~ ^
auto           -> CONST int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:366:1: note: FIX-IT applied suggested code changes
CONST int h3();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:366:15: note: FIX-IT applied suggested code changes
CONST int h3();
              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:371:30: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ALWAYS_INLINE DLL_EXPORT int h4();
                         ~~~ ^
                         auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:371:26: note: FIX-IT applied suggested code changes
ALWAYS_INLINE DLL_EXPORT int h4();
                         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:371:34: note: FIX-IT applied suggested code changes
ALWAYS_INLINE DLL_EXPORT int h4();
                                 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:375:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int h5() DEPRECATED;
~~~ ^
auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:375:1: note: FIX-IT applied suggested code changes
int h5() DEPRECATED;
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:375:9: note: FIX-IT applied suggested code changes
int h5() DEPRECATED;
        ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:378:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int DEPRECATED h5();
~~~            ^
auto                -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:378:1: note: FIX-IT applied suggested code changes
int DEPRECATED h5();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:378:20: note: FIX-IT applied suggested code changes
int DEPRECATED h5();
                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:381:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DEPRECATED int h5();
           ~~~ ^
           auto     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:381:12: note: FIX-IT applied suggested code changes
DEPRECATED int h5();
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:381:20: note: FIX-IT applied suggested code changes
DEPRECATED int h5();
                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:384:54: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
[[noreturn]] [[nodiscard]] DEPRECATED DLL_EXPORT int h6 [[deprecated]] ();
                                                 ~~~ ^
                                                 auto                     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:384:50: note: FIX-IT applied suggested code changes
[[noreturn]] [[nodiscard]] DEPRECATED DLL_EXPORT int h6 [[deprecated]] ();
                                                 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:384:74: note: FIX-IT applied suggested code changes
[[noreturn]] [[nodiscard]] DEPRECATED DLL_EXPORT int h6 [[deprecated]] ();
                                                                         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:388:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int FUNCTION_NAME(foo, bar)();
~~~ ^
auto                          -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:388:1: note: FIX-IT applied suggested code changes
int FUNCTION_NAME(foo, bar)();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:388:30: note: FIX-IT applied suggested code changes
int FUNCTION_NAME(foo, bar)();
                             ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:387:29: note: expanded from macro 'FUNCTION_NAME'
#define FUNCTION_NAME(a, b) a##b
                            ^
note: expanded from here
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:392:1: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DEFINE_FUNCTION_1(foo, bar);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:391:37: note: expanded from macro 'DEFINE_FUNCTION_1'
#define DEFINE_FUNCTION_1(a, b) int a##b()
                                    ^
note: expanded from here
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:395:1: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DEFINE_FUNCTION_2
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:394:31: note: expanded from macro 'DEFINE_FUNCTION_2'
#define DEFINE_FUNCTION_2 int foo(int arg);
                              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:398:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DLL_EXPORT_const int h7();
                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:401:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DLL_EXPORT_CONST int h7();
                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:407:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Real<PRECISION> h8() { return 0.; }
~~~~~~~~~~~~~~~ ^
auto                 -> Real<PRECISION>
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:407:1: note: FIX-IT applied suggested code changes
Real<PRECISION> h8() { return 0.; }
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:407:21: note: FIX-IT applied suggested code changes
Real<PRECISION> h8() { return 0.; }
                    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:413:74: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MAYBE_UNUSED_MACRO typename Container::value_type const volatile** const h9(Container& C) noexcept;
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
                   auto                                                                            -> typename Container::value_type const volatile** const
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:413:20: note: FIX-IT applied suggested code changes
MAYBE_UNUSED_MACRO typename Container::value_type const volatile** const h9(Container& C) noexcept;
                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:413:99: note: FIX-IT applied suggested code changes
MAYBE_UNUSED_MACRO typename Container::value_type const volatile** const h9(Container& C) noexcept;
                                                                                                  ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:418:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int h9(int arg) NOEXCEPT;
~~~ ^
auto                     -> int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:418:1: note: FIX-IT applied suggested code changes
int h9(int arg) NOEXCEPT;
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:418:25: note: FIX-IT applied suggested code changes
int h9(int arg) NOEXCEPT;
                        ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:422:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
STATIC_INT h10();
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:425:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
UNSIGNED_STATIC_INT h11();
                    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:428:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
unsigned STATIC int h11();
~~~~~~~~~~~~~~~~~~~ ^
STATIC auto               -> unsigned int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:428:1: note: FIX-IT applied suggested code changes
unsigned STATIC int h11();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:428:26: note: FIX-IT applied suggested code changes
unsigned STATIC int h11();
                         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:432:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
unsigned STATIC_CONSTEXPR int h12();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
STATIC_CONSTEXPR auto               -> unsigned int
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:432:1: note: FIX-IT applied suggested code changes
unsigned STATIC_CONSTEXPR int h12();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:432:36: note: FIX-IT applied suggested code changes
unsigned STATIC_CONSTEXPR int h12();
                                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:436:36: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
unsigned STATIC_CONSTEXPR_LONG int h13();
                                   ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:438:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DEPRECATED const int& h14();
           ~~~~~~~~~~ ^
           auto             -> const int&
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:438:12: note: FIX-IT applied suggested code changes
DEPRECATED const int& h14();
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:438:28: note: FIX-IT applied suggested code changes
DEPRECATED const int& h14();
                           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:441:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DEPRECATED const long static volatile unsigned& h15();
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
           static auto                                -> const long volatile unsigned&
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:441:12: note: FIX-IT applied suggested code changes
DEPRECATED const long static volatile unsigned& h15();
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:441:54: note: FIX-IT applied suggested code changes
DEPRECATED const long static volatile unsigned& h15();
                                                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:445:18: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
WRAP(const) int& h16();
                 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:447:18: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
WRAP(CONST) int& h16();
                 ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:450:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CONCAT(con, st) int& h16();
                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:452:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DEPRECATED const UNSIGNED& h17();
           ~~~~~~~~~~~~~~~ ^
           auto                  -> const UNSIGNED&
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:452:12: note: FIX-IT applied suggested code changes
DEPRECATED const UNSIGNED& h17();
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:452:33: note: FIX-IT applied suggested code changes
DEPRECATED const UNSIGNED& h17();
                                ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:455:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
DEPRECATED CONST UNSIGNED STATIC& h18();
           ~~~~~~~~~~~~~~~~~~~~~~ ^
           STATIC auto                  -> CONST UNSIGNED &
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:455:12: note: FIX-IT applied suggested code changes
DEPRECATED CONST UNSIGNED STATIC& h18();
           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:455:40: note: FIX-IT applied suggested code changes
DEPRECATED CONST UNSIGNED STATIC& h18();
                                       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:459:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CONST_CAT int& h19();
~~~~~~~~~~~~~~ ^
auto                 -> CONST_CAT int&
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:459:1: note: FIX-IT applied suggested code changes
CONST_CAT int& h19();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:459:21: note: FIX-IT applied suggested code changes
CONST_CAT int& h19();
                    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:463:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CONST_F_MACRO int& h19();
~~~~~~~~~~~~~~~~~~ ^
auto                     -> CONST_F_MACRO int&
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:463:1: note: FIX-IT applied suggested code changes
CONST_F_MACRO int& h19();
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:463:25: note: FIX-IT applied suggested code changes
CONST_F_MACRO int& h19();
                        ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:472:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Object j1(unsigned Object) { return {Object * 2}; }
       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
::Object j1(unsigned Object);
~~~~~~~~ ^
auto                         -> ::Object
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:475:1: note: FIX-IT applied suggested code changes
::Object j1(unsigned Object);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:475:29: note: FIX-IT applied suggested code changes
::Object j1(unsigned Object);
                            ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:478:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const Object& j2(unsigned a, int b, char Object, long l);
              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:481:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const struct Object& j2(unsigned a, int b, char Object, long l);
~~~~~~~~~~~~~~~~~~~~ ^
auto                                                            -> const struct Object&
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:481:1: note: FIX-IT applied suggested code changes
const struct Object& j2(unsigned a, int b, char Object, long l);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:481:64: note: FIX-IT applied suggested code changes
const struct Object& j2(unsigned a, int b, char Object, long l);
                                                               ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:484:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::vector<Object> j3(unsigned Object);
                    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:487:27: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::vector<const Object> j7(unsigned Object);
                          ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:490:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::vector<Object> j4(unsigned vector);
~~~~~~~~~~~~~~~~~~~ ^
auto                                    -> std::vector<Object>
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:490:1: note: FIX-IT applied suggested code changes
std::vector<Object> j4(unsigned vector);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:490:40: note: FIX-IT applied suggested code changes
std::vector<Object> j4(unsigned vector);
                                       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:493:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::vector<::Object> j4(unsigned vector);
~~~~~~~~~~~~~~~~~~~~~ ^
auto                                      -> std::vector<::Object>
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:493:1: note: FIX-IT applied suggested code changes
std::vector<::Object> j4(unsigned vector);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:493:42: note: FIX-IT applied suggested code changes
std::vector<::Object> j4(unsigned vector);
                                         ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:496:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::vector<struct Object> j4(unsigned vector);
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
auto                                           -> std::vector<struct Object>
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:496:1: note: FIX-IT applied suggested code changes
std::vector<struct Object> j4(unsigned vector);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:496:47: note: FIX-IT applied suggested code changes
std::vector<struct Object> j4(unsigned vector);
                                              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:499:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::vector<Object> j4(unsigned Vector);
~~~~~~~~~~~~~~~~~~~ ^
auto                                    -> std::vector<Object>
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:499:1: note: FIX-IT applied suggested code changes
std::vector<Object> j4(unsigned Vector);
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:499:40: note: FIX-IT applied suggested code changes
std::vector<Object> j4(unsigned Vector);
                                       ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:503:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
vector<Object> j5(unsigned vector);
               ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:507:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::array<int, Size> j6(unsigned Size);
                      ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:510:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::array<decltype(Size), (Size * 2) + 1> j8(unsigned Size);
                                           ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:516:19: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    struct Object m();
    ~~~~~~~~~~~~~ ^
    auto              -> struct Object
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:516:5: note: FIX-IT applied suggested code changes
    struct Object m();
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:516:22: note: FIX-IT applied suggested code changes
    struct Object m();
                     ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:520:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Object CC::m() { return {0}; }
~~~~~~     ^
auto           -> Object
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:520:1: note: FIX-IT applied suggested code changes
Object CC::m() { return {0}; }
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:520:15: note: FIX-IT applied suggested code changes
Object CC::m() { return {0}; }
              ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:524:14: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
    ::Object g();
    ~~~~~~~~ ^
    auto         -> ::Object
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:524:5: note: FIX-IT applied suggested code changes
    ::Object g();
    ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:524:17: note: FIX-IT applied suggested code changes
    ::Object g();
                ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:528:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Object DD::g() {
~~~~~~     ^
auto           -> Object
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:528:1: note: FIX-IT applied suggested code changes
Object DD::g() {
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:528:15: note: FIX-IT applied suggested code changes
Object DD::g() {
              ^
clang-tidy applied 198 of 198 suggested fixes.
Suppressed 12 warnings (12 with check filters).

------------------------------------------------------------------
------------------------------ Fixes -----------------------------
--- /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp.orig	2020-09-28 12:41:14.000000000 -0700
+++ /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp	2020-09-28 12:41:14.000000000 -0700
@@ -19,25 +19,25 @@
 // Functions
 //
 
-int f();
+auto f() -> int;
 //
 //
-int ((f))();
+auto ((f))() -> int;
 //
 //
-int f(int);
+auto f(int) -> int;
 //
 //
-int f(int arg);
+auto f(int arg) -> int;
 //
 //
-int f(int arg1, int arg2, int arg3);
+auto f(int arg1, int arg2, int arg3) -> int;
 //
 //
-int f(int arg1, int arg2, int arg3, ...);
+auto f(int arg1, int arg2, int arg3, ...) -> int;
 //
 //
-template <typename T> int f(T t);
+template <typename T> auto f(T t) -> int;
 //
 //
 
@@ -45,44 +45,44 @@
 // Functions with formatting
 //
 
-int a1() { return 42; }
+auto a1() -> int { return 42; }
 //
 //
-int a2() {
+auto a2() -> int {
     return 42;
 }
 //
 //
-int a3()
+auto a3() -> int
 {
     return 42;
 }
 //
 //
-int a4(int   arg   )   ;
+auto a4(int   arg   ) -> int   ;
 //
 //
-int a5
+auto a5
 //
 //
-(int arg);
+(int arg) -> int;
 //
-const
-int
-*
+auto
 a7
 //
-()
+() -> const
+int
+*
 //
 //
 //
 ;
 
-int*a7(int arg);
+auto a7(int arg) -> int*;
 //
 //
 template<template <typename> class C>
-C<int>a8(int arg);
+auto a8(int arg) -> C<int>;
 //
 //
 
@@ -91,63 +91,63 @@
 // Functions with qualifiers and specifiers
 //
 
-inline int d1(int arg);
+inline auto d1(int arg) -> int;
 //
 //
-extern "C" int d2(int arg);
+extern "C" auto d2(int arg) -> int;
 //
 //
-inline int d3(int arg) noexcept(true);
+inline auto d3(int arg) noexcept(true) -> int;
 //
 //
-inline int d4(int arg) try { } catch(...) { }
+inline auto d4(int arg) -> int try { } catch(...) { }
 //
 //
-int d5(int arg) throw();
+auto d5(int arg) throw() -> int;
 //
 //
-static int d6(int arg);
+static auto d6(int arg) -> int;
 //
 //
-int static d6(int arg);
+auto static d6(int arg) -> int;
 //
 //
-unsigned static int d7(int arg);
+static auto d7(int arg) -> unsigned int;
 //
 //
-const long static int volatile constexpr unsigned inline long d8(int arg);
+static constexpr inline auto d8(int arg) -> const long int volatile unsigned long;
 //
 //
-int constexpr d9();
+auto constexpr d9() -> int;
 //
 //
-inline int constexpr d10();
+inline auto constexpr d10() -> int;
 //
 //
-unsigned constexpr int d11();
+constexpr auto d11() -> unsigned int;
 //
 //
-unsigned extern int d13();
+extern auto d13() -> unsigned int;
 //
 //
-int static& d14();
+static auto d14() -> int &;
 //
 //
 class DDD {
-    int friend unsigned m1();
+    friend auto m1() -> int unsigned;
 //
 //
-    int friend unsigned m1() { return 0; }
+    auto m1() -> int friend unsigned { return 0; }
 //
 //
-    const long int friend volatile constexpr unsigned inline long m2();
+    friend constexpr inline auto m2() -> const long int volatile unsigned long;
 //
 //
-    int virtual unsigned m3();
+    virtual auto m3() -> int unsigned;
 //
 //
     template <typename T>
-    int friend unsigned m4();
+    friend auto m4() -> int unsigned;
 //
 //
 };
@@ -157,11 +157,11 @@
 //
 
 namespace N {
-    int e1();
+    auto e1() -> int;
 }
 //
 //
-int N::e1() {}
+auto N::e1() -> int {}
 //
 //
 
@@ -186,31 +186,31 @@
 // Functions with complex return types
 //
 
-inline volatile const std::vector<std::string> e2();
+inline auto e2() -> volatile const std::vector<std::string>;
 //
 //
-inline const std::vector<std::string> volatile e2();
+inline auto e2() -> const std::vector<std::string> volatile;
 //
 //
-inline std::vector<std::string> const volatile e2();
+inline auto e2() -> std::vector<std::string> const volatile;
 //
 //
-int* e8();
+auto e8() -> int*;
 //
 //
-static const char* e9(void* user_data);
+static auto e9(void* user_data) -> const char*;
 //
 //
-static const char* const e10(void* user_data);
+static auto e10(void* user_data) -> const char* const;
 //
 //
-static const char** volatile * const & e11(void* user_data);
+static auto e11(void* user_data) -> const char** volatile * const &;
 //
 //
-static const char* const * const * const e12(void* user_data);
+static auto e12(void* user_data) -> const char* const * const * const;
 //
 //
-struct A e13();
+auto e13() -> struct A;
 //
 //
 
@@ -228,11 +228,11 @@
 // TODO: source range of DecltypeTypeLoc not yet implemented
 // _HECK-FIXES: {{^}}auto dec2(F f, T t) -> decltype(std::declval<F>(std::declval<T>)) { return f(t); }{{$}}
 template <typename T>
-typename decltype(std::declval<T>())::value_type dec3();
+auto dec3() -> typename decltype(std::declval<T>())::value_type;
 //
 //
 template <typename T>
-decltype(std::declval<T>())* dec4();
+auto dec4() -> decltype(std::declval<T>())*;
 //
 //
 
@@ -241,73 +241,73 @@
 //
 
 struct B {
-    B& operator=(const B&);
+    auto operator=(const B&) -> B&;
 //
 //
     
-    double base1(int, bool b);
+    auto base1(int, bool b) -> double;
 //
 //
 
-    virtual double base2(int, bool b) {}
+    virtual auto base2(int, bool b) -> double {}
 //
 //
 
-    virtual float base3() const = 0;
+    virtual auto base3() const -> float = 0;
 //
 //
 
-    virtual float base4() volatile = 0;
+    virtual auto base4() volatile -> float = 0;
 //
 //
 
-    double base5(int, bool b) &&;
+    auto base5(int, bool b) && -> double;
 //
 //
 
-    double base6(int, bool b) const &&;
+    auto base6(int, bool b) const && -> double;
 //
 //
 
-    double base7(int, bool b) const & = delete;
+    auto base7(int, bool b) const & -> double = delete;
 //
 //
 
-    double base8(int, bool b) const volatile & = delete;
+    auto base8(int, bool b) const volatile & -> double = delete;
 //
 //
 
-    virtual const char * base9() const noexcept { return ""; }
+    virtual auto base9() const noexcept -> const char * { return ""; }
 //
 //
 };
 
-double B::base1(int, bool b) {}
+auto B::base1(int, bool b) -> double {}
 //
 //
 
 struct D : B {
-    virtual double f1(int, bool b) final;
+    virtual auto f1(int, bool b) -> double final;
 //
 //
 
-    virtual double base2(int, bool b) override;
+    virtual auto base2(int, bool b) -> double override;
 //
 //
 
-    virtual float base3() const override final { }
+    virtual auto base3() const -> float override final { }
 //
 //
 
-    const char * base9() const noexcept override { return ""; }
+    auto base9() const noexcept -> const char * override { return ""; }
 //
 //
 
-    int f2() __restrict;
+    auto f2() __restrict -> int;
 //
 //
 
-    volatile int* __restrict f3() const __restrict noexcept;
+    auto f3() const __restrict noexcept -> volatile int* __restrict;
 //
 //
 };
@@ -316,13 +316,13 @@
 // Functions with attributes
 //
 
-int g1() [[asdf]];
+auto g1() -> int [[asdf]];
 //
 //
-[[noreturn]] int g2();
+[[noreturn]] auto g2() -> int;
 //
 //
-int g2 [[noreturn]] ();
+auto g2 [[noreturn]] () -> int;
 //
 //
 int unsigned g3() __attribute__((cdecl)); // FunctionTypeLoc is null.
@@ -336,7 +336,7 @@
 // Templates
 //
 template <typename Container>
-[[maybe_unused]] typename Container::value_type const volatile&& t1(Container& C) noexcept;
+[[maybe_unused]] auto t1(Container& C) noexcept -> typename Container::value_type const volatile&&;
 //
 //
 template <typename T>
@@ -344,7 +344,7 @@
     using type = int;
 
     template <typename U>
-    typename BB<U>::type m1();
+    auto m1() -> typename BB<U>::type;
 //
 //
 };
@@ -354,38 +354,38 @@
 //
 
 #define DWORD unsigned int
-DWORD h1();
+auto h1() -> DWORD;
 //
 //
 #define INT int
 #define UNSIGNED unsigned
-UNSIGNED INT h2();
+auto h2() -> UNSIGNED INT;
 //
 //
 #define CONST const
-CONST int h3();
+auto h3() -> CONST int;
 //
 //
 #define ALWAYS_INLINE inline
 #define DLL_EXPORT __declspec(dllexport)
-ALWAYS_INLINE DLL_EXPORT int h4();
+ALWAYS_INLINE DLL_EXPORT auto h4() -> int;
 //
 //
 #define DEPRECATED __attribute__((deprecated))
-int h5() DEPRECATED;
+auto h5() -> int DEPRECATED;
 //
 //
-int DEPRECATED h5();
+auto DEPRECATED h5() -> int;
 //
 //
-DEPRECATED int h5();
+DEPRECATED auto h5() -> int;
 //
 //
-[[noreturn]] [[nodiscard]] DEPRECATED DLL_EXPORT int h6 [[deprecated]] ();
+[[noreturn]] [[nodiscard]] DEPRECATED DLL_EXPORT auto h6 [[deprecated]] () -> int;
 //
 //
 #define FUNCTION_NAME(a, b) a##b
-int FUNCTION_NAME(foo, bar)();
+auto FUNCTION_NAME(foo, bar)() -> int;
 //
 //
 #define DEFINE_FUNCTION_1(a, b) int a##b()
@@ -404,18 +404,18 @@
 template <typename T>
 using Real = T;
 #define PRECISION float
-Real<PRECISION> h8() { return 0.; }
+auto h8() -> Real<PRECISION> { return 0.; }
 //
 //
 
 #define MAYBE_UNUSED_MACRO [[maybe_unused]]
 template <typename Container>
-MAYBE_UNUSED_MACRO typename Container::value_type const volatile** const h9(Container& C) noexcept;
+MAYBE_UNUSED_MACRO auto h9(Container& C) noexcept -> typename Container::value_type const volatile** const;
 //
 //
 
 #define NOEXCEPT noexcept
-int h9(int arg) NOEXCEPT;
+auto h9(int arg) NOEXCEPT -> int;
 //
 //
 #define STATIC_INT static int
@@ -425,20 +425,20 @@
 UNSIGNED_STATIC_INT h11();
 //
 #define STATIC static
-unsigned STATIC int h11();
+STATIC auto h11() -> unsigned int;
 //
 //
 #define STATIC_CONSTEXPR static constexpr
-unsigned STATIC_CONSTEXPR int h12();
+STATIC_CONSTEXPR auto h12() -> unsigned int;
 //
 //
 #define STATIC_CONSTEXPR_LONG static constexpr long
 unsigned STATIC_CONSTEXPR_LONG int h13();
 //
-DEPRECATED const int& h14();
+DEPRECATED auto h14() -> const int&;
 //
 //
-DEPRECATED const long static volatile unsigned& h15();
+DEPRECATED static auto h15() -> const long volatile unsigned&;
 //
 //
 #define WRAP(x) x
@@ -449,18 +449,18 @@
 #define CONCAT(a, b) a##b
 CONCAT(con, st) int& h16();
 //
-DEPRECATED const UNSIGNED& h17();
+DEPRECATED auto h17() -> const UNSIGNED&;
 //
 //
-DEPRECATED CONST UNSIGNED STATIC& h18();
+DEPRECATED STATIC auto h18() -> CONST UNSIGNED &;
 //
 //
 #define CONST_CAT con##st
-CONST_CAT int& h19();
+auto h19() -> CONST_CAT int&;
 //
 //
 #define CONST_F_MACRO WRAP(CONST_CAT)
-CONST_F_MACRO int& h19();
+auto h19() -> CONST_F_MACRO int&;
 //
 //
 
@@ -472,13 +472,13 @@
 Object j1(unsigned Object) { return {Object * 2}; }
 //
 //
-::Object j1(unsigned Object);
+auto j1(unsigned Object) -> ::Object;
 //
 //
 const Object& j2(unsigned a, int b, char Object, long l);
 //
 //
-const struct Object& j2(unsigned a, int b, char Object, long l);
+auto j2(unsigned a, int b, char Object, long l) -> const struct Object&;
 //
 //
 std::vector<Object> j3(unsigned Object);
@@ -487,16 +487,16 @@
 std::vector<const Object> j7(unsigned Object);
 //
 //
-std::vector<Object> j4(unsigned vector);
+auto j4(unsigned vector) -> std::vector<Object>;
 //
 //
-std::vector<::Object> j4(unsigned vector);
+auto j4(unsigned vector) -> std::vector<::Object>;
 //
 //
-std::vector<struct Object> j4(unsigned vector);
+auto j4(unsigned vector) -> std::vector<struct Object>;
 //
 //
-std::vector<Object> j4(unsigned Vector);
+auto j4(unsigned Vector) -> std::vector<Object>;
 //
 //
 using std::vector;
@@ -513,19 +513,19 @@
 
 class CC {
     int Object;
-    struct Object m();
+    auto m() -> struct Object;
 //
 //
 };
-Object CC::m() { return {0}; }
+auto CC::m() -> Object { return {0}; }
 //
 //
 class DD : public CC {
-    ::Object g();
+    auto g() -> ::Object;
 //
 //
 };
-Object DD::g() {
+auto DD::g() -> Object {
 //
 //
     return {0};

------------------------------------------------------------------
FileCheck failed:
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type.cpp:142:17: error: CHECK-FIXES: expected string not found in input
// CHECK-FIXES: {{^}}    friend auto m1() -> int unsigned { return 0; }{{$}}
                ^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:138:1: note: scanning from here
//
^
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp:140:5: note: possible intended match here
    auto m1() -> int friend unsigned { return 0; }
    ^

Input file: /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp
Check file: /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type.cpp

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
           133: static auto d14() -> int &;
           134: //
           135: //
           136: class DDD {
           137:     friend auto m1() -> int unsigned;
           138: //
check:142'0     X~ error: no match found
           139: //
check:142'0     ~~
           140:     auto m1() -> int friend unsigned { return 0; }
check:142'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:142'1         ?                                              possible intended match
           141: //
check:142'0     ~~
           142: //
check:142'0     ~~
           143:     friend constexpr inline auto m2() -> const long int volatile unsigned long;
check:142'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           144: //
check:142'0     ~~
           145: //
check:142'0     ~~
             .
             .
             .
>>>>>>


--
Command Output (stderr):
--
+ : 'RUN: at line 1'
+ /usr/local/Frameworks/Python.framework/Versions/3.8/bin/python3.8 /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py -std=c++14,c++17 /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type.cpp modernize-use-trailing-return-type /Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp -- -- -fdeclspec -fexceptions
Traceback (most recent call last):
  File "/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 249, in <module>
    main()
  File "/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 245, in main
    run_test_once(args, extra_args)
  File "/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 167, in run_test_once
    subprocess.check_output(
  File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['FileCheck', '-input-file=/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/clang-build/tools/clang/tools/extra/test/clang-tidy/checkers/Output/modernize-use-trailing-return-type.cpp.tmp.cpp', '/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-expensive/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize-use-trailing-return-type.cpp', '-check-prefixes=CHECK-FIXES', '-strict-whitespace']' returned non-zero exit status 1.

--