github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 56401 tests passed
* 2590 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/checkers/bugprone/exception-escape.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
C:/Python312/python.exe 
C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py
 -check-suffixes=,NONE -std=c++11,c++14 
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\bugprone\exception-escape.cpp
 bugprone-exception-escape 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp
 --      -config="{CheckOptions: {          
bugprone-exception-escape.IgnoredExceptions: 'ignored1,ignored2',          
bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'enabled1,enabled2,enabled3',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 'None'  
    }}" -- -fexceptions
# executed command: C:/Python312/python.exe 
'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py'
 -check-suffixes=,NONE -std=c++11,c++14 
'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\bugprone\exception-escape.cpp'
 bugprone-exception-escape 
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp'
 -- '-config={CheckOptions: {          
bugprone-exception-escape.IgnoredExceptions: '"'"'ignored1,ignored2'"'"',       
   bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'"'"'enabled1,enabled2,enabled3'"'"',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 
'"'"'None'"'"'      }}' -- -fexceptions
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', 
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\bugprone\\Output\\exception-escape.cpp.tmp.cpp',
 '-fix', '--checks=-*,bugprone-exception-escape', "-config={CheckOptions: {     
     bugprone-exception-escape.IgnoredExceptions: 'ignored1,ignored2',          
bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'enabled1,enabled2,enabled3',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 'None'  
    }}", '--', '-fexceptions', '-std=c++11', '-nostdinc++', '-isystem', 
'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\Inputs\\Headers\\std']...
# | ------------------------ clang-tidy output -----------------------
# | 120 warnings generated.
# | 
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:22:3:
 warning: an exception may be thrown in function '~throwing_destructor' which 
should not throw exceptions [bugprone-exception-escape]
# |    22 |   ~throwing_destructor() {
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:24:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'~throwing_destructor' here
# |    24 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:30:3:
 warning: an exception may be thrown in function 'throwing_move_constructor' 
which should not throw exceptions [bugprone-exception-escape]
# |    30 |   throwing_move_constructor(throwing_move_constructor&&) {
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:32:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throwing_move_constructor' here
# |    32 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:38:29:
 warning: an exception may be thrown in function 'operator=' which should not 
throw exceptions [bugprone-exception-escape]
# |    38 |   throwing_move_assignment& operator=(throwing_move_assignment&&) {
# |       |                             ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:40:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'operator=' here
# |    40 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:45:6:
 warning: an exception may be thrown in function 'throwing_noexcept' which 
should not throw exceptions [bugprone-exception-escape]
# |    45 | void throwing_noexcept() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:47:3:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throwing_noexcept' here
# |    47 |   throw 1;
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:59:6:
 warning: an exception may be thrown in function 'throw_and_catch_some' which 
should not throw exceptions [bugprone-exception-escape]
# |    59 | void throw_and_catch_some(int n) noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:63:5:
 note: frame #0: unhandled exception of type 'double' may be thrown in function 
'throw_and_catch_some' here
# |    63 |     throw 1.1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:88:6:
 warning: an exception may be thrown in function 'throw_and_rethrow' which 
should not throw exceptions [bugprone-exception-escape]
# |    88 | void throw_and_rethrow() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:91:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throw_and_rethrow' here
# |    91 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:98:6:
 warning: an exception may be thrown in function 'throw_catch_throw' which 
should not throw exceptions [bugprone-exception-escape]
# |    98 | void throw_catch_throw() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:103:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throw_catch_throw' here
# |   103 |     throw 2;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:108:6:
 warning: an exception may be thrown in function 'throw_catch_rethrow_the_rest' 
which should not throw exceptions [bugprone-exception-escape]
# |   108 | void throw_catch_rethrow_the_rest(int n) noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:112:5:
 note: frame #0: unhandled exception of type 'double' may be thrown in function 
'throw_catch_rethrow_the_rest' here
# |   112 |     throw 1.1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:141:6:
 warning: an exception may be thrown in function 'throw_catch_multi_ptr_1' 
which should not throw exceptions [bugprone-exception-escape]
# |   141 | void throw_catch_multi_ptr_1() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:145:5:
 note: frame #0: unhandled exception of type 'char **' may be thrown in 
function 'throw_catch_multi_ptr_1' here
# |   145 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:187:6:
 warning: an exception may be thrown in function 'throw_c_catch_pointer' which 
should not throw exceptions [bugprone-exception-escape]
# |   187 | void throw_c_catch_pointer() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:192:5:
 note: frame #0: unhandled exception of type 'const int *' may be thrown in 
function 'throw_c_catch_pointer' here
# |   192 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:197:6:
 warning: an exception may be thrown in function 'throw_c_catch_pointer_v' 
which should not throw exceptions [bugprone-exception-escape]
# |   197 | void throw_c_catch_pointer_v() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:202:5:
 note: frame #0: unhandled exception of type 'const int *' may be thrown in 
function 'throw_c_catch_pointer_v' here
# |   202 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:207:6:
 warning: an exception may be thrown in function 'throw_v_catch_pointer' which 
should not throw exceptions [bugprone-exception-escape]
# |   207 | void throw_v_catch_pointer() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:212:5:
 note: frame #0: unhandled exception of type 'volatile int *' may be thrown in 
function 'throw_v_catch_pointer' here
# |   212 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:217:6:
 warning: an exception may be thrown in function 'throw_v_catch_pointer_c' 
which should not throw exceptions [bugprone-exception-escape]
# |   217 | void throw_v_catch_pointer_c() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:222:5:
 note: frame #0: unhandled exception of type 'volatile int *' may be thrown in 
function 'throw_v_catch_pointer_c' here
# |   222 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:227:6:
 warning: an exception may be thrown in function 'throw_cv_catch_pointer_c' 
which should not throw exceptions [bugprone-exception-escape]
# |   227 | void throw_cv_catch_pointer_c() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:232:5:
 note: frame #0: unhandled exception of type 'const volatile int *' may be 
thrown in function 'throw_cv_catch_pointer_c' here
# |   232 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:237:6:
 warning: an exception may be thrown in function 'throw_cv_catch_pointer_v' 
which should not throw exceptions [bugprone-exception-escape]
# |   237 | void throw_cv_catch_pointer_v() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:242:5:
 note: frame #0: unhandled exception of type 'const volatile int *' may be 
thrown in function 'throw_cv_catch_pointer_v' here
# |   242 |     
# | ...
# `---data was truncated (10240/104717) (change limit with -D output_limit=N)
# RUN: at line 7
C:/Python312/python.exe 
C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py
 -check-suffixes=,UNDEFINED,UNKNOWN -std=c++11,c++14 
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\bugprone\exception-escape.cpp
 bugprone-exception-escape 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp
 --      -config="{CheckOptions: {          
bugprone-exception-escape.IgnoredExceptions: 'ignored1,ignored2',          
bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'enabled1,enabled2,enabled3',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 
'OnlyUndefined'      }}" -- -fexceptions
# executed command: C:/Python312/python.exe 
'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py'
 -check-suffixes=,UNDEFINED,UNKNOWN -std=c++11,c++14 
'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\bugprone\exception-escape.cpp'
 bugprone-exception-escape 
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp'
 -- '-config={CheckOptions: {          
bugprone-exception-escape.IgnoredExceptions: '"'"'ignored1,ignored2'"'"',       
   bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'"'"'enabled1,enabled2,enabled3'"'"',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 
'"'"'OnlyUndefined'"'"'      }}' -- -fexceptions
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', 
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\bugprone\\Output\\exception-escape.cpp.tmp.cpp',
 '-fix', '--checks=-*,bugprone-exception-escape', "-config={CheckOptions: {     
     bugprone-exception-escape.IgnoredExceptions: 'ignored1,ignored2',          
bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'enabled1,enabled2,enabled3',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 
'OnlyUndefined'      }}", '--', '-fexceptions', '-std=c++11', '-nostdinc++', 
'-isystem', 
'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\Inputs\\Headers\\std']...
# | ------------------------ clang-tidy output -----------------------
# | 120 warnings generated.
# | 
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:22:3:
 warning: an exception may be thrown in function '~throwing_destructor' which 
should not throw exceptions [bugprone-exception-escape]
# |    22 |   ~throwing_destructor() {
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:24:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'~throwing_destructor' here
# |    24 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:30:3:
 warning: an exception may be thrown in function 'throwing_move_constructor' 
which should not throw exceptions [bugprone-exception-escape]
# |    30 |   throwing_move_constructor(throwing_move_constructor&&) {
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:32:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throwing_move_constructor' here
# |    32 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:38:29:
 warning: an exception may be thrown in function 'operator=' which should not 
throw exceptions [bugprone-exception-escape]
# |    38 |   throwing_move_assignment& operator=(throwing_move_assignment&&) {
# |       |                             ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:40:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'operator=' here
# |    40 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:45:6:
 warning: an exception may be thrown in function 'throwing_noexcept' which 
should not throw exceptions [bugprone-exception-escape]
# |    45 | void throwing_noexcept() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:47:3:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throwing_noexcept' here
# |    47 |   throw 1;
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:59:6:
 warning: an exception may be thrown in function 'throw_and_catch_some' which 
should not throw exceptions [bugprone-exception-escape]
# |    59 | void throw_and_catch_some(int n) noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:63:5:
 note: frame #0: unhandled exception of type 'double' may be thrown in function 
'throw_and_catch_some' here
# |    63 |     throw 1.1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:88:6:
 warning: an exception may be thrown in function 'throw_and_rethrow' which 
should not throw exceptions [bugprone-exception-escape]
# |    88 | void throw_and_rethrow() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:91:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throw_and_rethrow' here
# |    91 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:98:6:
 warning: an exception may be thrown in function 'throw_catch_throw' which 
should not throw exceptions [bugprone-exception-escape]
# |    98 | void throw_catch_throw() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:103:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throw_catch_throw' here
# |   103 |     throw 2;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:108:6:
 warning: an exception may be thrown in function 'throw_catch_rethrow_the_rest' 
which should not throw exceptions [bugprone-exception-escape]
# |   108 | void throw_catch_rethrow_the_rest(int n) noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:112:5:
 note: frame #0: unhandled exception of type 'double' may be thrown in function 
'throw_catch_rethrow_the_rest' here
# |   112 |     throw 1.1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:141:6:
 warning: an exception may be thrown in function 'throw_catch_multi_ptr_1' 
which should not throw exceptions [bugprone-exception-escape]
# |   141 | void throw_catch_multi_ptr_1() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:145:5:
 note: frame #0: unhandled exception of type 'char **' may be thrown in 
function 'throw_catch_multi_ptr_1' here
# |   145 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:187:6:
 warning: an exception may be thrown in function 'throw_c_catch_pointer' which 
should not throw exceptions [bugprone-exception-escape]
# |   187 | void throw_c_catch_pointer() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:192:5:
 note: frame #0: unhandled exception of type 'const int *' may be thrown in 
function 'throw_c_catch_pointer' here
# |   192 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:197:6:
 warning: an exception may be thrown in function 'throw_c_catch_pointer_v' 
which should not throw exceptions [bugprone-exception-escape]
# |   197 | void throw_c_catch_pointer_v() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:202:5:
 note: frame #0: unhandled exception of type 'const int *' may be thrown in 
function 'throw_c_catch_pointer_v' here
# |   202 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:207:6:
 warning: an exception may be thrown in function 'throw_v_catch_pointer' which 
should not throw exceptions [bugprone-exception-escape]
# |   207 | void throw_v_catch_pointer() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:212:5:
 note: frame #0: unhandled exception of type 'volatile int *' may be thrown in 
function 'throw_v_catch_pointer' here
# |   212 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:217:6:
 warning: an exception may be thrown in function 'throw_v_catch_pointer_c' 
which should not throw exceptions [bugprone-exception-escape]
# |   217 | void throw_v_catch_pointer_c() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:222:5:
 note: frame #0: unhandled exception of type 'volatile int *' may be thrown in 
function 'throw_v_catch_pointer_c' here
# |   222 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:227:6:
 warning: an exception may be thrown in function 'throw_cv_catch_pointer_c' 
which should not throw exceptions [bugprone-exception-escape]
# |   227 | void throw_cv_catch_pointer_c() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:232:5:
 note: frame #0: unhandled exception of type 'const volatile int *' may be 
thrown in function 'throw_cv_catch_pointer_c' here
# |   232 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:237:6:
 warning: an exception may be thrown in function 'throw_cv_catch_pointer_v' 
which should not throw exceptions [bugprone-exception-escape]
# |   237 | void throw_cv_catch_pointer_v() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:242:5:
 note: frame #0: unhandled exception of type 'const volatile int *' may be 
thrown in function 'throw_cv_catch_pointer_v' here
# |   2
# | ...
# `---data was truncated (10240/105386) (change limit with -D output_limit=N)
# RUN: at line 13
C:/Python312/python.exe 
C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py
 -check-suffixes=,ALL,UNKNOWN -std=c++11,c++14 
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\bugprone\exception-escape.cpp
 bugprone-exception-escape 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp
 --      -config="{CheckOptions: {          
bugprone-exception-escape.IgnoredExceptions: 'ignored1,ignored2',          
bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'enabled1,enabled2,enabled3',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 'All'   
   }}" -- -fexceptions
# executed command: C:/Python312/python.exe 
'C:/_work/llvm-project/llvm-project/clang-tools-extra/test/../test\clang-tidy\check_clang_tidy.py'
 -check-suffixes=,ALL,UNKNOWN -std=c++11,c++14 
'C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\checkers\bugprone\exception-escape.cpp'
 bugprone-exception-escape 
'C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp'
 -- '-config={CheckOptions: {          
bugprone-exception-escape.IgnoredExceptions: '"'"'ignored1,ignored2'"'"',       
   bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'"'"'enabled1,enabled2,enabled3'"'"',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 
'"'"'All'"'"'      }}' -- -fexceptions
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', 
'C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\bugprone\\Output\\exception-escape.cpp.tmp.cpp',
 '-fix', '--checks=-*,bugprone-exception-escape', "-config={CheckOptions: {     
     bugprone-exception-escape.IgnoredExceptions: 'ignored1,ignored2',          
bugprone-exception-escape.FunctionsThatShouldNotThrow: 
'enabled1,enabled2,enabled3',          
bugprone-exception-escape.TreatFunctionsWithoutSpecificationAsThrowing: 'All'   
   }}", '--', '-fexceptions', '-std=c++11', '-nostdinc++', '-isystem', 
'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\Inputs\\Headers\\std']...
# | ------------------------ clang-tidy output -----------------------
# | 121 warnings generated.
# | 
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:22:3:
 warning: an exception may be thrown in function '~throwing_destructor' which 
should not throw exceptions [bugprone-exception-escape]
# |    22 |   ~throwing_destructor() {
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:24:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'~throwing_destructor' here
# |    24 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:30:3:
 warning: an exception may be thrown in function 'throwing_move_constructor' 
which should not throw exceptions [bugprone-exception-escape]
# |    30 |   throwing_move_constructor(throwing_move_constructor&&) {
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:32:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throwing_move_constructor' here
# |    32 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:38:29:
 warning: an exception may be thrown in function 'operator=' which should not 
throw exceptions [bugprone-exception-escape]
# |    38 |   throwing_move_assignment& operator=(throwing_move_assignment&&) {
# |       |                             ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:40:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'operator=' here
# |    40 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:45:6:
 warning: an exception may be thrown in function 'throwing_noexcept' which 
should not throw exceptions [bugprone-exception-escape]
# |    45 | void throwing_noexcept() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:47:3:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throwing_noexcept' here
# |    47 |   throw 1;
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:59:6:
 warning: an exception may be thrown in function 'throw_and_catch_some' which 
should not throw exceptions [bugprone-exception-escape]
# |    59 | void throw_and_catch_some(int n) noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:63:5:
 note: frame #0: unhandled exception of type 'double' may be thrown in function 
'throw_and_catch_some' here
# |    63 |     throw 1.1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:88:6:
 warning: an exception may be thrown in function 'throw_and_rethrow' which 
should not throw exceptions [bugprone-exception-escape]
# |    88 | void throw_and_rethrow() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:91:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throw_and_rethrow' here
# |    91 |     throw 1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:98:6:
 warning: an exception may be thrown in function 'throw_catch_throw' which 
should not throw exceptions [bugprone-exception-escape]
# |    98 | void throw_catch_throw() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:103:5:
 note: frame #0: unhandled exception of type 'int' may be thrown in function 
'throw_catch_throw' here
# |   103 |     throw 2;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:108:6:
 warning: an exception may be thrown in function 'throw_catch_rethrow_the_rest' 
which should not throw exceptions [bugprone-exception-escape]
# |   108 | void throw_catch_rethrow_the_rest(int n) noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:112:5:
 note: frame #0: unhandled exception of type 'double' may be thrown in function 
'throw_catch_rethrow_the_rest' here
# |   112 |     throw 1.1;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:141:6:
 warning: an exception may be thrown in function 'throw_catch_multi_ptr_1' 
which should not throw exceptions [bugprone-exception-escape]
# |   141 | void throw_catch_multi_ptr_1() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:145:5:
 note: frame #0: unhandled exception of type 'char **' may be thrown in 
function 'throw_catch_multi_ptr_1' here
# |   145 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:187:6:
 warning: an exception may be thrown in function 'throw_c_catch_pointer' which 
should not throw exceptions [bugprone-exception-escape]
# |   187 | void throw_c_catch_pointer() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:192:5:
 note: frame #0: unhandled exception of type 'const int *' may be thrown in 
function 'throw_c_catch_pointer' here
# |   192 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:197:6:
 warning: an exception may be thrown in function 'throw_c_catch_pointer_v' 
which should not throw exceptions [bugprone-exception-escape]
# |   197 | void throw_c_catch_pointer_v() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:202:5:
 note: frame #0: unhandled exception of type 'const int *' may be thrown in 
function 'throw_c_catch_pointer_v' here
# |   202 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:207:6:
 warning: an exception may be thrown in function 'throw_v_catch_pointer' which 
should not throw exceptions [bugprone-exception-escape]
# |   207 | void throw_v_catch_pointer() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:212:5:
 note: frame #0: unhandled exception of type 'volatile int *' may be thrown in 
function 'throw_v_catch_pointer' here
# |   212 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:217:6:
 warning: an exception may be thrown in function 'throw_v_catch_pointer_c' 
which should not throw exceptions [bugprone-exception-escape]
# |   217 | void throw_v_catch_pointer_c() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:222:5:
 note: frame #0: unhandled exception of type 'volatile int *' may be thrown in 
function 'throw_v_catch_pointer_c' here
# |   222 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:227:6:
 warning: an exception may be thrown in function 'throw_cv_catch_pointer_c' 
which should not throw exceptions [bugprone-exception-escape]
# |   227 | void throw_cv_catch_pointer_c() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:232:5:
 note: frame #0: unhandled exception of type 'const volatile int *' may be 
thrown in function 'throw_cv_catch_pointer_c' here
# |   232 |     throw p;
# |       |     ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:237:6:
 warning: an exception may be thrown in function 'throw_cv_catch_pointer_v' 
which should not throw exceptions [bugprone-exception-escape]
# |   237 | void throw_cv_catch_pointer_v() noexcept {
# |       |      ^
# | 
C:\_work\llvm-project\llvm-project\build\tools\clang\tools\extra\test\clang-tidy\checkers\bugprone\Output\exception-escape.cpp.tmp.cpp:242:5:
 note: frame #0: unhandled exception of type 'const volatile int *' may be 
thrown in function 'throw_cv_catch_pointer_v' here
# |   242 |     t
# | ...
# `---data was truncated (10240/112812) (change limit with -D output_limit=N)
# .---command stderr------------
# | Traceback (most recent call last):
# |   File 
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
 line 576, in <module>
# |     main()
# |   File 
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
 line 572, in main
# |     CheckRunner(args, extra_args).run()
# |   File 
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
 line 437, in run
# |     self.check_messages(main_output)
# |   File 
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
 line 362, in check_messages
# |     try_run(
# |   File 
"C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-tidy\check_clang_tidy.py",
 line 68, in try_run
# |     process_output = subprocess.check_output(args, 
stderr=subprocess.STDOUT).decode(
# |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |   File "c:\python312\Lib\subprocess.py", line 466, in check_output
# |     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# |   File "c:\python312\Lib\subprocess.py", line 571, in run
# |     raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['FileCheck', 
'-input-file=C:\\_work\\llvm-project\\llvm-project\\build\\tools\\clang\\tools\\extra\\test\\clang-tidy\\checkers\\bugprone\\Output\\exception-escape.cpp.tmp.cpp.msg',
 
'C:\\_work\\llvm-project\\llvm-project\\clang-tools-extra\\test\\clang-tidy\\checkers\\bugprone\\exception-escape.cpp',
 '-check-prefixes=CHECK-MESSAGES,CHECK-MESSAGES-ALL,CHECK-MESSAGES-UNKNOWN', 
'-implicit-check-not={{warning|error}}:']' returned non-zero exit status 1.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken 
or flaky at HEAD), please open an issue at 
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/220884
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to