INFO:2026-09-04T13:55:49Z:root:pulling... From github.com:llvm/llvm-project * branch main -> FETCH_HEAD 128cdb86fc6b..e9e42884a325 main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at e9e42884a325 [PowerPC] Remove tlbie one-operand InstAlias for ISA 3.0+ (#213816) INFO:2026-09-04T13:55:53Z:root:syncing... Deleted branch merge (was 128cdb86fc6b). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. INFO:2026-09-04T13:55:54Z:root:building ninja: Entering directory `out/gn' [1/576] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/576] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/576] ACTION //llvm/include/llvm/TargetParser:PPCGenTargetFeatures(//llvm/utils/gn/build/toolchain:unix) [4/413] ACTION //llvm/tools/llvm-exegesis/lib/PowerPC:PPCGenExegesis(//llvm/utils/gn/build/toolchain:unix) [5/413] ACTION //llvm/lib/Target/PowerPC:PPCGenSDNodeInfo(//llvm/utils/gn/build/toolchain:unix) [6/412] ACTION //llvm/lib/Target/PowerPC:PPCGenCallingConv(//llvm/utils/gn/build/toolchain:unix) [7/412] ACTION //llvm/lib/Target/PowerPC:PPCGenRegisterBank(//llvm/utils/gn/build/toolchain:unix) [8/412] ACTION //llvm/lib/Target/PowerPC/MCTargetDesc:PPCGenMCCodeEmitter(//llvm/utils/gn/build/toolchain:unix) [9/412] ACTION //llvm/lib/Target/PowerPC/Disassembler:PPCGenDisassemblerTables(//llvm/utils/gn/build/toolchain:unix) [10/412] ACTION //llvm/lib/Target/PowerPC/MCTargetDesc:PPCGenRegisterInfo(//llvm/utils/gn/build/toolchain:unix) [11/412] ACTION //llvm/lib/Target/PowerPC/MCTargetDesc:PPCGenAsmWriter(//llvm/utils/gn/build/toolchain:unix) [12/412] ACTION //llvm/lib/Target/PowerPC/AsmParser:PPCGenAsmMatcher(//llvm/utils/gn/build/toolchain:unix) [13/412] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [14/412] ACTION //llvm/lib/Target/PowerPC/MCTargetDesc:PPCGenSubtargetInfo(//llvm/utils/gn/build/toolchain:unix) [15/412] ACTION //llvm/lib/Target/PowerPC:PPCGenFastISel(//llvm/utils/gn/build/toolchain:unix) [16/412] ACTION //llvm/lib/Target/PowerPC/MCTargetDesc:PPCGenInstrInfo(//llvm/utils/gn/build/toolchain:unix) [17/412] ACTION //llvm/lib/Target/PowerPC:PPCGenDAGISel(//llvm/utils/gn/build/toolchain:unix) [18/412] CXX obj/llvm/lib/Target/PowerPC/MCTargetDesc/MCTargetDesc.PPCXCOFFObjectWriter.o [19/412] ACTION //llvm/lib/Target/PowerPC:PPCGenGlobalISel(//llvm/utils/gn/build/toolchain:unix) [20/412] CXX obj/llvm/lib/Target/PowerPC/MCTargetDesc/MCTargetDesc.PPCInstPrinter.o [21/412] CXX obj/llvm/lib/Target/PowerPC/MCTargetDesc/MCTargetDesc.PPCELFObjectWriter.o [22/412] CXX obj/llvm/lib/Target/PowerPC/Disassembler/Disassembler.PPCDisassembler.o [23/412] CXX obj/llvm/lib/Target/PowerPC/MCTargetDesc/MCTargetDesc.PPCELFStreamer.o [24/412] CXX obj/llvm/lib/Target/PowerPC/MCTargetDesc/MCTargetDesc.PPCMCCodeEmitter.o [25/412] CXX obj/llvm/lib/Target/PowerPC/MCTargetDesc/MCTargetDesc.PPCAsmBackend.o [26/412] CXX obj/llvm/lib/Target/PowerPC/MCTargetDesc/MCTargetDesc.PPCMCTargetDesc.o [27/412] AR lib/libLLVMPowerPCDesc.a [28/412] AR lib/libLLVMPowerPCDisassembler.a [29/412] LINK ./bin/llvm-dwarfdump [30/412] LINK ./bin/llvm-objdump [31/412] LINK ./bin/sancov [32/412] ACTION //llvm/tools/llvm-objdump:llvm-otool(//llvm/utils/gn/build/toolchain:unix) [33/412] LINK ./bin/llvm-profgen [34/412] LINK ./bin/llvm-debuginfo-analyzer [35/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCCTRLoopsVerify.o [36/412] LINK obj/clang/unittests/Frontend/FrontendTests [37/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCEarlyReturn.o [38/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCExpandAtomicPseudoInsts.o [39/412] CXX obj/llvm/lib/Target/PowerPC/GISel/LLVMPowerPCCodeGen.PPCRegisterBankInfo.o [40/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCTOCRegDeps.o [41/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCMacroFusion.o [42/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCReduceCRLogicals.o [43/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCVSXWACCCopy.o [44/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCCallingConv.o [45/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCHazardRecognizers.o [46/412] CXX obj/llvm/lib/Target/PowerPC/AsmParser/AsmParser.PPCAsmParser.o [47/412] CXX obj/llvm/lib/Target/PowerPC/GISel/LLVMPowerPCCodeGen.PPCCallLowering.o [48/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCVSXFMAMutate.o [49/412] AR lib/libLLVMPowerPCAsmParser.a [50/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCBoolRetToInt.o [51/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCBranchSelector.o [52/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCMachineScheduler.o [53/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCMCInstLower.o [54/412] LINK ./bin/llvm-mca [55/412] LINK ./bin/llvm-nm [56/412] LINK ./bin/llvm-cfi-verify [57/412] LINK obj/llvm/unittests/tools/llvm-cfi-verify/CFIVerifyTests [58/412] LINK ./bin/clang-extdef-mapping [59/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCPrepareIFuncsOnAIX.o [60/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCTLSDynamicCall.o [61/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCCTRLoops.o [62/412] LINK ./bin/clang-tidy [63/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCGenScalarMASSEntries.o [64/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCLowerMASSVEntries.o [65/412] CXX obj/llvm/tools/llvm-exegesis/lib/PowerPC/PowerPC.Target.o [66/412] AR lib/libLLVMExegesisPowerPC.a [67/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCSubtarget.o [68/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCRegisterInfo.o [69/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCFastISel.o [70/412] LINK obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests [71/412] LINK obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests [72/412] LINK obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests [73/412] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [74/412] LINK obj/llvm/unittests/tools/llvm-exegesis/RISCV/LLVMExegesisRISCVTests [75/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCVSXSwapRemoval.o [76/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCPreEmitPeephole.o [77/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCMIPeephole.o [78/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCFrameLowering.o [79/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCLoopInstrFormPrep.o [80/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCInstrInfo.o [81/412] CXX obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests.TargetTest.o [82/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCAsmPrinter.o [83/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCTargetMachine.o [84/412] CXX obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests.SnippetGeneratorTest.o [85/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCTargetTransformInfo.o [86/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCISelDAGToDAG.o [87/412] CXX obj/llvm/lib/Target/PowerPC/GISel/LLVMPowerPCCodeGen.PPCInstructionSelector.o [88/412] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCISelLowering.o [89/412] AR lib/libLLVMPowerPCCodeGen.a [90/412] LINK ./bin/llvm-cxxmap [91/412] LINK obj/llvm/unittests/CGData/CodeGenDataTests [92/412] LINK ./bin/llvm-cxxdump [93/412] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [94/412] LINK obj/llvm/unittests/Target/PowerPC/PowerPCTests [95/412] LINK ./bin/llvm-ar [96/412] LINK ./bin/llvm-lipo [97/412] LINK ./bin/llvm-mc [98/412] LINK ./bin/llvm-ml [99/412] LINK ./bin/llvm-dwp [100/412] LINK obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests [101/412] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [102/412] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [103/412] LINK ./bin/llvm-xray [104/412] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [105/412] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [106/412] LINK ./bin/llvm-libtool-darwin [107/412] LINK ./bin/llvm-jitlink [108/412] LINK ./bin/llvm-rtdyld [109/412] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [110/412] LINK obj/bolt/unittests/Profile/ProfileTests [111/412] LINK ./bin/llvm-bolt-heatmap [112/412] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [113/412] LINK obj/llvm/unittests/MC/MCTests [114/412] LINK obj/bolt/unittests/Core/CoreTests [115/412] LINK obj/clang/unittests/CrossTU/CrossTUTests [116/412] LINK obj/bolt/unittests/Passes/PassTests [117/412] LINK ./bin/llvm-bolt [118/412] LINK ./bin/llvm-split [119/412] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [120/412] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [121/412] LINK ./bin/clang-scan-deps [122/412] LINK ./bin/llvm-exegesis [123/412] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [124/412] LINK ./bin/opt [125/412] LINK obj/llvm/unittests/MI/MITests [126/412] LINK ./bin/llvm-lto2 [127/412] LINK ./bin/llvm-opt-fuzzer [128/412] LINK ./bin/llvm-c-test [129/412] LINK ./bin/llvm-isel-fuzzer [130/412] LINK ./bin/llvm-lto [131/412] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [132/412] LINK obj/llvm/unittests/MIR/MIRTests [133/412] LINK ./bin/llvm-ir2vec [134/412] LINK ./bin/clang-linker-wrapper [135/412] SOLINK ./lib/libLTO.so [136/412] LINK ./bin/lld [137/412] LINK ./bin/llc [138/412] LINK ./bin/clang-nvlink-wrapper [139/412] LINK ./bin/dsymutil [140/412] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [141/412] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [142/412] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [143/412] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [144/412] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [145/412] LINK ./bin/clang-sycl-linker [146/412] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [147/412] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [148/412] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [149/412] LINK ./bin/llvm-dwarfutil [150/412] LINK obj/llvm/unittests/CodeGen/CodeGenTests [151/412] LINK ./bin/llvm-reduce [152/412] LINK ./bin/llvm-gsymutil [153/412] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [154/412] LINK obj/llvm/unittests/Target/TargetMachineCTests [155/412] LINK obj/clang/unittests/Driver/ClangDriverTests [156/412] LINK ./bin/clang-check [157/412] LINK ./bin/clang-repl [158/412] LINK obj/clang/unittests/Tooling/ToolingTests [159/412] SOLINK ./lib/libclang.so [160/412] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [161/412] LINK obj/clang/unittests/libclang/libclangTests [162/412] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [163/412] LINK ./bin/lldb-dap [164/412] LINK ./bin/lldb [165/412] LINK ./bin/lldb-test [166/412] LINK ./bin/clang [167/412] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [168/412] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [169/412] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [170/412] ACTION //libcxx/src:cxx_symlink(//llvm/utils/gn/build/toolchain:stage2_unix) [171/412] ACTION //libcxx/src:cxx_linker_script(//llvm/utils/gn/build/toolchain:stage2_unix) [172/412] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [173/412] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [174/412] ACTION //compiler-rt/lib/ubsan:ubsan_static_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [175/412] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [176/412] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [177/412] ACTION //compiler-rt/lib/ubsan:ubsan_static_cxx_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [178/412] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [179/412] ACTION //compiler-rt/lib/ubsan:ubsan_loop_detect_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [180/412] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [181/412] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [182/412] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [183/412] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [184/412] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [185/412] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [186/412] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [187/412] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [188/412] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [189/412] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [190/229] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [191/229] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [192/229] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [193/229] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [194/196] LINK ./bin/c-index-test [195/196] SOLINK lib/clang/24/lib/linux/libclang_rt.ubsan_standalone-x86_64.so [196/196] SOLINK lib/clang/24/lib/linux/libclang_rt.hwasan_aliases-x86_64.so INFO:2026-09-04T13:56:25Z:root:analyze skipping analyze because previous build was not green INFO:2026-09-04T13:56:25Z:root:testing INFO:2026-09-04T13:56:25Z:root:test check-clang ninja: Entering directory `out/gn' [0/1] ACTION //clang/test:check-clang(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using clang: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using ld.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using lld-link: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using ld64.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using ld.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using lld-link: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/lld-link llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using ld64.lld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/ld64.lld llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using wasm-ld: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/wasm-ld -- Testing: 27175 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 189.22s Total Discovered Tests: 55053 Skipped : 32 (0.06%) Unsupported : 1355 (2.46%) Passed : 53638 (97.43%) Expectedly Failed: 28 (0.05%) INFO:2026-09-04T13:59:54Z:root:test check-clang-tools ninja: Entering directory `out/gn' [0/1] ACTION //clang-tools-extra/test:check-clang-tools(//llvm/utils/gn/build/toolchain:unix) llvm-lit: /usr/local/google/home/thakis/src/llvm-project/llvm/utils/lit/lit/llvm/config.py:569: note: using clang: /usr/local/google/home/thakis/src/llvm-project/out/gn/bin/clang -- Testing: 1475 tests, 64 workers -- Testing: 0.. 10 FAIL: Clang Tools :: clang-tidy/checkers/bugprone/exception-escape.cpp (78 of 1475) ******************** TEST 'Clang Tools :: clang-tidy/checkers/bugprone/exception-escape.cpp' FAILED ******************** Exit Code: 1 Command Output (stdout): -- # RUN: at line 1 python3 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py -check-suffixes=,NONE -std=c++11,c++14 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape.cpp bugprone-exception-escape /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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: python3 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py -check-suffixes=,NONE -std=c++11,c++14 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape.cpp bugprone-exception-escape /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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', '/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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', '/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std']... # | ------------------------ clang-tidy output ----------------------- # | 120 warnings generated. # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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() { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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&&) { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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&&) { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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_ # | ... # `---data was truncated (10240/108278) (change limit with -D output_limit=N) # RUN: at line 7 python3 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py -check-suffixes=,UNDEFINED,UNKNOWN -std=c++11,c++14 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape.cpp bugprone-exception-escape /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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: python3 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py -check-suffixes=,UNDEFINED,UNKNOWN -std=c++11,c++14 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape.cpp bugprone-exception-escape /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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', '/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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', '/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std']... # | ------------------------ clang-tidy output ----------------------- # | 120 warnings generated. # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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() { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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&&) { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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&&) { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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_ # | ... # `---data was truncated (10240/108986) (change limit with -D output_limit=N) # RUN: at line 13 python3 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py -check-suffixes=,ALL,UNKNOWN -std=c++11,c++14 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape.cpp bugprone-exception-escape /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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: python3 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py -check-suffixes=,ALL,UNKNOWN -std=c++11,c++14 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/exception-escape.cpp bugprone-exception-escape /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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', '/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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', '/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std']... # | ------------------------ clang-tidy output ----------------------- # | 121 warnings generated. # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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() { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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&&) { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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&&) { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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; # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/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_p # | ... # `---data was truncated (10240/116627) (change limit with -D output_limit=N) # .---command stderr------------ # | Traceback (most recent call last): # | File "/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py", line 576, in # | main() # | ~~~~^^ # | File "/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py", line 572, in main # | CheckRunner(args, extra_args).run() # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ # | File "/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py", line 437, in run # | self.check_messages(main_output) # | ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ # | File "/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py", line 362, in check_messages # | try_run( # | ~~~~~~~^ # | [ # | ^ # | ...<5 lines>... # | ] # | ^ # | ) # | ^ # | File "/usr/local/google/home/thakis/src/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 "/usr/lib/python3.13/subprocess.py", line 472, in check_output # | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, # | ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | **kwargs).stdout # | ^^^^^^^^^ # | File "/usr/lib/python3.13/subprocess.py", line 577, in run # | raise CalledProcessError(retcode, process.args, # | output=stdout, stderr=stderr) # | subprocess.CalledProcessError: Command '['FileCheck', '-input-file=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/bugprone/Output/exception-escape.cpp.tmp.cpp.msg', '/usr/local/google/home/thakis/src/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 -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (1): Clang Tools :: clang-tidy/checkers/bugprone/exception-escape.cpp Testing Time: 11.25s Total Discovered Tests: 1738 Unsupported : 2 (0.12%) Passed : 1734 (99.77%) Expectedly Failed: 1 (0.06%) Failed : 1 (0.06%) FAILED: gen/clang-tools-extra/test/run-lit python3 bin/llvm-lit -sv ../../clang-tools-extra/test ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn', 'check-clang-tools']' returned non-zero exit status 1.