INFO:2026-03-19T17:00:48Z:root:pulling... From github.com:llvm/llvm-project * branch main -> FETCH_HEAD b20d21aaf164..65f6a346a96a main -> origin/main Switched to branch 'main' Your branch is behind 'origin/main' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) HEAD is now at 65f6a346a96a [NFC][analyzer] Eliminate IndirectGotoNodeBuilder (#187343) INFO:2026-03-19T17:00:51Z:root:syncing... Deleted branch merge (was 41f4abdb46ca). Switched to a new branch 'merge' branch 'merge' set up to track 'origin/main'. [merge 60abd333aa07] [gn build] Port 39b6a4d84ad8 1 file changed, 1 insertion(+) [merge 8d77761f9e6c] [gn build] Port b17db271d030 1 file changed, 1 insertion(+) [merge cfccf7712b85] [gn build] Port d18a784d4106 1 file changed, 1 insertion(+) [gn build] Port 39b6a4d84ad8 -- https://github.com/llvm/llvm-project/commit/39b6a4d84ad8 [gn build] Port b17db271d030 -- https://github.com/llvm/llvm-project/commit/b17db271d030 [gn build] Port d18a784d4106 -- https://github.com/llvm/llvm-project/commit/d18a784d4106 INFO:2026-03-19T17:00:55Z:root:building ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.SimpleConstraintManager.o [2/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.BoolAssignmentChecker.o [3/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.CheckerContext.o [4/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ChrootChecker.o [5/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.CallDescription.o [6/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.Store.o [7/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ConversionChecker.o [8/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CheckerDocumentation.o [9/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CheckPlacementNew.o [10/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DivZeroChecker.o [11/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CXXSelfAssignmentChecker.o [12/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CheckObjCInstMethSignature.o [13/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExprEngineObjC.o [14/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DynamicTypeChecker.o [15/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CloneChecker.o [16/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.CoreEngine.o [17/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExplodedGraph.o [18/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.AnalyzerStatsChecker.o [19/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CastToStructChecker.o [20/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CXXDeleteChecker.o [21/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.BuiltinFunctionChecker.o [22/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExprEngineC.o [23/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CastValueChecker.o [24/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DeadStoresChecker.o [25/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.SimpleSValBuilder.o [26/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.SValBuilder.o [27/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DebugIteratorModeling.o [28/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.BitwiseShiftChecker.o [29/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DebugContainerModeling.o [30/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.AssumeModeling.o [31/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.AnalysisOrderChecker.o [32/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CheckObjCDealloc.o [33/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExprEngineCXX.o [34/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.LoopWidening.o [35/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ProgramState.o [36/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.BlockInCriticalSectionChecker.o [37/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DereferenceChecker.o [38/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ArrayBoundChecker.o [39/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.BugSuppression.o [40/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DirectIvarAssignment.o [41/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.CallEvent.o [42/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExprEngineCallAndReturn.o [43/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CheckSecuritySyntaxOnly.o [44/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CStringSyntaxChecker.o [45/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ContainerModeling.o [46/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CStringChecker.o [47/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.CallAndMessageChecker.o [48/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DebugCheckers.o [49/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.BasicObjCFoundationChecks.o [50/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.CheckerManager.o [51/546] CXX obj/clang/lib/StaticAnalyzer/Frontend/Frontend.AnalysisConsumer.o [52/546] CXX obj/clang-tools-extra/clang-tidy/mpi/mpi.MPITidyModule.o [53/546] CXX obj/clang-tools-extra/clang-tidy/mpi/mpi.BufferDerefCheck.o [54/546] CXX obj/clang-tools-extra/clang-tidy/mpi/mpi.TypeMismatchCheck.o [55/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.BlockEntranceCallbackTest.o [56/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.ConflictingEvalCallsTest.o [57/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.ExprEngineVisitTest.o [58/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.CallEventTest.o [59/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExprEngine.o [60/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.LoopUnrolling.o [61/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ErrnoTesterChecker.o [62/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.InvalidatedIteratorChecker.o [63/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ErrnoChecker.o [64/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.IsCLibraryFunctionTest.o [65/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.EnumCastOutOfRangeChecker.o [66/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.GTestChecker.o [67/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ErrnoModeling.o [68/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/Checkers.MPIBugReporter.o [69/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/Checkers.MPIFunctionClassifier.o [70/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.IteratorRangeChecker.o [71/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.MacOSXAPIChecker.o [72/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.MmapWriteExecChecker.o [73/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/Checkers.MPIChecker.o [74/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.MismatchedIteratorChecker.o [75/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.NSAutoreleasePoolChecker.o [76/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.NoOwnershipChangeVisitor.o [77/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.DynamicTypePropagation.o [78/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.InnerPointerChecker.o [79/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.FalsePositiveRefutationBRVisitorTest.o [80/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.FuchsiaHandleChecker.o [81/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCAtSyncChecker.o [82/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.LLVMConventionsChecker.o [83/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCPropertyChecker.o [84/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.BugReportInterestingnessTest.o [85/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.NoReturnFunctionChecker.o [86/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.NonnullGlobalConstantsChecker.o [87/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.MIGChecker.o [88/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.NSErrorChecker.o [89/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.MacOSKeychainAPIChecker.o [90/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.NonNullParamChecker.o [91/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.IteratorModeling.o [92/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.MoveChecker.o [93/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.MallocSizeofChecker.o [94/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.BugReporterVisitors.o [95/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.CallDescriptionTest.o [96/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.RegionStore.o [97/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCMissingSuperCallChecker.o [98/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.IvarInvalidationChecker.o [99/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCContainersChecker.o [100/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ExprInspectionChecker.o [101/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.OpaqueSTLFunctionsModeling.o [102/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCContainersASTChecker.o [103/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCUnusedIVarsChecker.o [104/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCSelfInitChecker.o [105/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCSuperDeallocChecker.o [106/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.PointerSubChecker.o [107/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.PaddingChecker.o [108/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.PointerArithChecker.o [109/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.NullabilityChecker.o [110/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.PutenvStackArrayChecker.o [111/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.LocalizationChecker.o [112/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ReturnUndefChecker.o [113/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.GCDAntipatternChecker.o [114/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.PthreadLockChecker.o [115/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ReturnPointerRangeChecker.o [116/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ReturnValueChecker.o [117/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/Checkers.RetainCountDiagnostics.o [118/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.OSObjectCStyleCast.o [119/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/Checkers.RetainCountChecker.o [120/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.STLAlgorithmModeling.o [121/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.GenericTaintChecker.o [122/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.ObjCAutoreleaseWriteChecker.o [123/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.NumberObjectConversionChecker.o [124/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.SetgidSetuidOrderChecker.o [125/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.SmartPtrChecker.o [126/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.TaintTesterChecker.o [127/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.StringChecker.o [128/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.StoreToImmutableChecker.o [129/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.StackAddrEscapeChecker.o [130/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UndefBranchChecker.o [131/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.TraversalChecker.o [132/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.SimpleStreamChecker.o [133/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UndefCapturedBlockVarChecker.o [134/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.StdVariantChecker.o [135/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.TrustReturnsNonnullChecker.o [136/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.WorkList.o [137/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UndefinedArraySubscriptChecker.o [138/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UnconditionalVAArgChecker.o [139/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UndefinedAssignmentChecker.o [140/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.TrustNonnullChecker.o [141/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.TestAfterDivZeroChecker.o [142/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.Taint.o [143/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UnreachableCodeChecker.o [144/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UndefResultChecker.o [145/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/Checkers.UninitializedPointee.o [146/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UndefinedNewArraySizeChecker.o [147/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.VforkChecker.o [148/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.NoDeleteChecker.o [149/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.UnixAPIChecker.o [150/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.RunLoopAutoreleaseLeakChecker.o [151/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.VLASizeChecker.o [152/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.VirtualCallChecker.o [153/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.AnalysisManager.o [154/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.RawPtrRefCallArgsChecker.o [155/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.MallocChecker.o [156/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.RawPtrRefLocalVarsChecker.o [157/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.Z3CrosscheckVisitor.o [158/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.SmartPtrModeling.o [159/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.VAListChecker.o [160/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.RawPtrRefMemberChecker.o [161/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.RawPtrRefLambdaCapturesChecker.o [162/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/cert/Checkers.InvalidPtrChecker.o [163/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.RefCntblBaseVirtualDtorChecker.o [164/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/Checkers.UninitializedObjectChecker.o [165/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.MemoryUnsafeCastChecker.o [166/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.StreamChecker.o [167/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.MemRegionDescriptiveNameTest.o [168/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.ObjcBug-124477.o [169/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.NoStateChangeFuncVisitorTest.o [170/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.SValSimplifyerTest.o [171/546] CXX obj/clang/lib/StaticAnalyzer/Core/Core.BugReporter.o [172/546] AR lib/libclangStaticAnalyzerCore.a [173/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.TestReturnValueUnderConstruction.o [174/546] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURegBankLegalizeRules.o [175/546] AR lib/libLLVMAMDGPUCodeGen.a [176/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.RegisterCustomCheckersTest.o [177/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.UnsignedStatDemo.o [178/546] LINK ./bin/llvm-ml [179/546] LINK ./bin/llvm-libtool-darwin [180/546] LINK ./bin/llvm-lipo [181/546] LINK ./bin/llvm-mc [182/546] LINK ./bin/llvm-ar [183/546] LINK ./bin/llvm-jitlink [184/546] LINK obj/clang/unittests/DependencyScanning/ClangDependencyScanningTests [185/546] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [186/546] LINK ./bin/llvm-exegesis [187/546] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [188/546] LINK ./bin/clang-include-fixer [189/546] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [190/546] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [191/546] LINK ./bin/llvm-bolt [192/546] LINK obj/bolt/unittests/Passes/PassTests [193/546] LINK obj/bolt/unittests/Core/CoreTests [194/546] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [195/546] LINK ./bin/llvm-bolt-heatmap [196/546] LINK ./bin/clang-query [197/546] LINK ./bin/clang-doc [198/546] LINK ./bin/find-all-symbols [199/546] LINK ./bin/modularize [200/546] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [201/546] LINK ./bin/clang-diff [202/546] LINK obj/clang/unittests/AST/ByteCode/InterpTests [203/546] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [204/546] ACTION //llvm/tools/llvm-ml:llvm-ml64(//llvm/utils/gn/build/toolchain:unix) [205/546] ACTION //bolt/tools/driver:llvm-boltdiff(//llvm/utils/gn/build/toolchain:unix) [206/546] ACTION //bolt/tools/driver:perf2bolt(//llvm/utils/gn/build/toolchain:unix) [207/546] LINK ./bin/clang-change-namespace [208/546] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [209/546] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [210/546] LINK obj/clang/unittests/Serialization/SerializationTests [211/546] LINK ./bin/llvm-lto [212/546] LINK ./bin/clang-linker-wrapper [213/546] LINK obj/clang/unittests/Index/IndexTests [214/546] LINK ./bin/llvm-cxxmap [215/546] LINK ./bin/clang-move [216/546] LINK ./bin/clang-reorder-fields [217/546] LINK ./bin/pp-trace [218/546] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [219/546] LINK obj/clang/unittests/Sema/SemaTests [220/546] LINK ./bin/clang-refactor [221/546] LINK obj/clang/unittests/CrossTU/CrossTUTests [222/546] LINK obj/clang/unittests/Rewrite/RewriteTests [223/546] LINK ./bin/llvm-lto2 [224/546] LINK ./bin/llvm-cxxdump [225/546] LINK ./bin/llvm-gsymutil [226/546] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [227/546] LINK ./bin/clang-nvlink-wrapper [228/546] LINK obj/clang/unittests/AST/ASTTests [229/546] LINK ./bin/clang-extdef-mapping [230/546] LINK ./bin/llvm-isel-fuzzer [231/546] LINK ./bin/clang-sycl-linker [232/546] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [233/546] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [234/546] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [235/546] LINK obj/clang/unittests/ScalableStaticAnalysisFramework/ClangScalableAnalysisTests [236/546] LINK ./bin/llvm-ir2vec [237/546] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [238/546] LINK obj/llvm/unittests/CGData/CodeGenDataTests [239/546] LINK ./bin/clang-installapi [240/546] LINK ./bin/llvm-c-test [241/546] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [242/546] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [243/546] LINK ./bin/llvm-xray [244/546] LINK ./bin/llvm-rtdyld [245/546] LINK ./bin/lld [246/546] LINK obj/clang/unittests/Driver/ClangDriverTests [247/546] LINK ./bin/dsymutil [248/546] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [249/546] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [250/546] LINK ./bin/llc [251/546] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [252/546] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [253/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/Checkers.StdLibraryFunctionsChecker.o [254/546] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [255/546] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [256/546] LINK ./bin/llvm-opt-fuzzer [257/546] LINK obj/llvm/unittests/Target/AMDGPU/AMDGPUTests [258/546] LINK obj/llvm/unittests/MC/MCTests [259/546] SOLINK ./lib/libclang.so [260/546] LINK ./bin/llvm-dwarfutil [261/546] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [262/546] LINK obj/clang/unittests/libclang/libclangTests [263/546] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [264/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.ParamRegionTest.o [265/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.SValTest.o [266/546] LINK ./bin/llvm-dwp [267/546] SOLINK ./lib/libLTO.so [268/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.SymbolReaperTest.o [269/546] LINK obj/llvm/unittests/MI/MITests [270/546] LINK ./bin/c-index-test [271/546] LINK obj/llvm/unittests/Target/TargetMachineCTests [272/546] LINK ./bin/llvm-reduce [273/546] LINK obj/llvm/unittests/CodeGen/CodeGenTests [274/546] LINK ./bin/opt [275/546] LINK obj/llvm/unittests/MIR/MIRTests [276/546] LINK ./bin/llvm-split [277/546] LINK ./bin/lldb-dap [278/546] LINK ./bin/lldb-test [279/546] LINK ./bin/lldb [280/546] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [281/546] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [282/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.ForwardDeclChecker.o [283/546] LINK obj/clang/unittests/Tooling/ToolingTests [284/546] CXX obj/clang/lib/StaticAnalyzer/Checkers/WebKit/Checkers.RetainPtrCtorAdoptChecker.o [285/546] CXX obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests.StoreTest.o [286/546] AR lib/libclangStaticAnalyzerCheckers.a [287/546] AR lib/libclangStaticAnalyzerFrontend.a [288/546] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [289/546] AR lib/libclangTidyMPIModule.a [290/546] LINK ./bin/clang-scan-deps [291/546] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [292/546] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [293/546] LINK ./bin/dexp [294/546] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [295/546] LINK ./bin/clang-check [296/546] LINK obj/clang/unittests/Frontend/FrontendTests [297/546] LINK ./bin/clang [298/546] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [299/546] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [300/546] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [301/546] LINK ./bin/clang-repl [302/546] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [303/546] LINK ./bin/clangd-indexer [304/546] LINK ./bin/clang-tidy [305/546] LINK ./bin/clangd [306/546] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests [307/546] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [308/546] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [309/546] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [310/546] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [311/546] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [312/546] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [313/546] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [314/546] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [315/365] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [316/365] ACTION //libcxx/src:cxx_symlink(//llvm/utils/gn/build/toolchain:stage2_unix) [317/365] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [318/365] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [319/365] ACTION //libcxx/src:cxx_linker_script(//llvm/utils/gn/build/toolchain:stage2_unix) [320/365] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [321/332] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [322/332] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [323/332] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [324/332] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [325/332] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [326/332] ACTION //compiler-rt/lib/ubsan:ubsan_loop_detect_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [327/332] ACTION //compiler-rt/lib/ubsan:ubsan_static_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [328/332] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [329/332] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [330/332] ACTION //compiler-rt/lib/ubsan:ubsan_static_cxx_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [331/332] SOLINK lib/clang/23/lib/linux/libclang_rt.hwasan_aliases-x86_64.so [332/332] SOLINK lib/clang/23/lib/linux/libclang_rt.ubsan_standalone-x86_64.so INFO:2026-03-19T17:02:16Z:root:analyze skipping analyze because previous build was not green INFO:2026-03-19T17:02:17Z:root:testing INFO:2026-03-19T17:02:17Z: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/subst.py:130: note: Did not find cir-opt in /usr/local/google/home/thakis/src/llvm-project/out/gn/bin:/usr/local/google/home/thakis/src/llvm-project/out/gn/bin 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: 25514 tests, 64 workers -- Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 176.00s Total Discovered Tests: 51726 Skipped : 28 (0.05%) Unsupported : 840 (1.62%) Passed : 50831 (98.27%) Expectedly Failed: 27 (0.05%) INFO:2026-03-19T17:05:26Z: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) -- Testing: 1365 tests, 64 workers -- Testing: FAIL: Clang Tools :: clang-tidy/checkers/modernize/concat-nested-namespaces.cpp (1 of 1365) ******************** TEST 'Clang Tools :: clang-tidy/checkers/modernize/concat-nested-namespaces.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 -std=c++17 -check-suffix=NORMAL -check-header /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/concat-nested-namespaces/modernize-concat-nested-namespaces.h /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/concat-nested-namespaces.cpp modernize-concat-nested-namespaces /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp # executed command: python3 /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py -std=c++17 -check-suffix=NORMAL -check-header /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/concat-nested-namespaces/modernize-concat-nested-namespaces.h /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/concat-nested-namespaces.cpp modernize-concat-nested-namespaces /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp # .---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/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp', '-fix', '--checks=-*,modernize-concat-nested-namespaces', '--config={}', '--', '-I/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp.headers', '-std=c++17', '-nostdinc++', '-isystem', '/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/std']... # | ------------------------ clang-tidy output ----------------------- # | 15 warnings generated. # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:31:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 31 | namespace n9 { # | | ^~~~~~~~~~~~~~ # | 32 | namespace n10 { # | | ~~~~~~~~~~~~~ # | | namespace n9::n10 # | 33 | // # | 34 | // # | 35 | void t(); # | 36 | } // namespace n10 # | | ~~~~~~~~~~~~~~~~~~ # | | } // namespace n9::n10 # | 37 | } // namespace n9 # | | ~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:31:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:32:1: note: FIX-IT applied suggested code changes # | 32 | namespace n10 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:36:1: note: FIX-IT applied suggested code changes # | 36 | } // namespace n10 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:37:1: note: FIX-IT applied suggested code changes # | 37 | } // namespace n9 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:40:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 40 | namespace n11 { # | | ^~~~~~~~~~~~~~~ # | 41 | namespace n12 { # | | ~~~~~~~~~~~~~ # | | namespace n11::n12 # | 42 | // # | 43 | // # | 44 | namespace n13 { # | 45 | void t(); # | 46 | } # | 47 | namespace n14 { # | 48 | void t(); # | 49 | } # | 50 | } // namespace n12 # | | ~~~~~~~~~~~~~~~~~~ # | | } // namespace n11::n12 # | 51 | } // namespace n11 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:40:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:41:1: note: FIX-IT applied suggested code changes # | 41 | namespace n12 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:50:1: note: FIX-IT applied suggested code changes # | 50 | } // namespace n12 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:51:1: note: FIX-IT applied suggested code changes # | 51 | } // namespace n11 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:63:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 63 | namespace n18 { # | | ^~~~~~~~~~~~~~~ # | 64 | namespace n19 { # | | ~~~~~~~~~~~~~~~ # | 65 | namespace n20 { # | | ~~~~~~~~~~~~~ # | | namespace n18::n19::n20 # | 66 | // # | 67 | // # | 68 | void t(); # | 69 | } // namespace n20 # | | ~~~~~~~~~~~~~~~~~~ # | | } // namespace n18::n19::n20 # | 70 | } // namespace n19 # | | ~~~~~~~~~~~~~~~~~~ # | 71 | } // namespace n18 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:63:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:64:1: note: FIX-IT applied suggested code changes # | 64 | namespace n19 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:65:1: note: FIX-IT applied suggested code changes # | 65 | namespace n20 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:69:1: note: FIX-IT applied suggested code changes # | 69 | } // namespace n20 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:70:1: note: FIX-IT applied suggested code changes # | 70 | } // namespace n19 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:71:1: note: FIX-IT applied suggested code changes # | 71 | } // namespace n18 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:87:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 87 | namespace n24 { # | | ^~~~~~~~~~~~~~~ # | 88 | namespace n25 { # | | ~~~~~~~~~~~~~ # | | namespace n24::n25 # | 89 | // # | 90 | // # | 91 | void t(); # | 92 | } // namespace n25 # | | ~~~~~~~~~~~~~~~~~~ # | | } // namespace n24::n25 # | 93 | } // namespace n24 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:87:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:88:1: note: FIX-IT applied suggested code changes # | 88 | namespace n25 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:92:1: note: FIX-IT applied suggested code changes # | 92 | } // namespace n25 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:93:1: note: FIX-IT applied suggested code changes # | 93 | } // namespace n24 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:98:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 98 | namespace n26::n27 { # | | ^~~~~~~~~~~~~~~~~~~~ # | 99 | namespace n28 { # | | ~~~~~~~~~~~~~~~ # | 100 | namespace n29::n30 { # | | ~~~~~~~~~~~~~~~~~~ # | | namespace n26::n27::n28::n29::n30 # | 101 | // # | 102 | // # | 103 | void t() {} # | 104 | } // namespace n29::n30 # | | ~~~~~~~~~~~~~~~~~~~~~~~ # | | } // namespace n26::n27::n28::n29::n30 # | 105 | } // namespace n28 # | | ~~~~~~~~~~~~~~~~~~ # | 106 | } // namespace n26::n27 # | | ~~~~~~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:98:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:99:1: note: FIX-IT applied suggested code changes # | 99 | namespace n28 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:100:1: note: FIX-IT applied suggested code changes # | 100 | namespace n29::n30 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:104:1: note: FIX-IT applied suggested code changes # | 104 | } // namespace n29::n30 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:105:1: note: FIX-IT applied suggested code changes # | 105 | } // namespace n28 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:106:1: note: FIX-IT applied suggested code changes # | 106 | } // namespace n26::n27 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:109:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 109 | namespace n31 { # | | ^~~~~~~~~~~~~~~ # | 110 | namespace n32 {} # | | ~~~~~~~~~~~~~ # | | namespace n31::n32 # | 111 | // # | 112 | } // namespace n31 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:109:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:110:1: note: FIX-IT applied suggested code changes # | 110 | namespace n32 {} # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:112:1: note: FIX-IT applied suggested code changes # | 112 | } // namespace n31 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:115:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 115 | namespace n34 { # | | ^~~~~~~~~~~~~~~ # | 116 | namespace n35 {} # | | ~~~~~~~~~~~~~ # | | namespace n34::n35 # | 117 | // # | 118 | } // namespace n34 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:115:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:116:1: note: FIX-IT applied suggested code changes # | 116 | namespace n35 {} # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:118:1: note: FIX-IT applied suggested code changes # | 118 | } // namespace n34 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:129:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 129 | namespace n39 { # | | ^~~~~~~~~~~~~~~ # | 130 | namespace n40 { # | | ~~~~~~~~~~~~~ # | | namespace n39::n40 # | 131 | // # | 132 | // # | 133 | #ifdef IEXIST # | 134 | void t() {} # | 135 | #endif # | 136 | } // namespace n40 # | | ~~~~~~~~~~~~~~~~~~ # | | } // namespace n39::n40 # | 137 | } // namespace n39 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:129:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:130:1: note: FIX-IT applied suggested code changes # | 130 | namespace n40 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:136:1: note: FIX-IT applied suggested code changes # | 136 | } // namespace n40 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:137:1: note: FIX-IT applied suggested code changes # | 137 | } // namespace n39 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:140:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 140 | namespace n41 { # | | ^~~~~~~~~~~~~~~ # | 141 | namespace n42 { # | | ~~~~~~~~~~~~~ # | | namespace n41::n42 # | 142 | // # | 143 | // # | 144 | #ifdef IDONTEXIST # | 145 | void t() {} # | 146 | #endif # | 147 | } // namespace n42 # | | ~~~~~~~~~~~~~~~~~~ # | | } // namespace n41::n42 # | 148 | } // namespace n41 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:140:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:141:1: note: FIX-IT applied suggested code changes # | 141 | namespace n42 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:147:1: note: FIX-IT applied suggested code changes # | 147 | } // namespace n42 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:148:1: note: FIX-IT applied suggested code changes # | 148 | } // namespace n41 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:153:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 153 | namespace n43 { # | | ^~~~~~~~~~~~~~~ # | 154 | #define N43_INNER # | 155 | namespace n44 { # | | ~~~~~~~~~~~~~ # | | namespace n43::n44 # | 156 | void foo() {} # | 157 | } // namespace n44 # | | ~~~~~~~~~~~~~~~~~~ # | | } // namespace n43::n44 # | 158 | #undef N43_INNER # | 159 | } // namespace n43 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:153:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:155:1: note: FIX-IT applied suggested code changes # | 155 | namespace n44 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:157:1: note: FIX-IT applied suggested code changes # | 157 | } // namespace n44 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:159:1: note: FIX-IT applied suggested code changes # | 159 | } // namespace n43 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:166:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 166 | namespace n45{ # | | ^~~~~~~~~~~~~~ # | 167 | #define N45_INNER # | 168 | namespace n46 # | | ~~~~~~~~~~~~~ # | 169 | { # | | ~ # | 170 | #pragma clang diagnostic push # | 171 | namespace n47 { # | | ~~~~~~~~~~~~~ # | | namespace n45::n46::n47 # | 172 | void foo() {} # | 173 | } // namespace n47 # | | ~~~~~~~~~~~~~~~~~~ # | | } // namespace n45::n46::n47 # | 174 | #pragma clang diagnostic pop # | 175 | } // namespace n46 # | | ~~~~~~~~~~~~~~~~~~ # | 176 | #undef N45_INNER # | 177 | } // namespace n45 # | | ~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:166:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:168:1: note: FIX-IT applied suggested code changes # | 168 | namespace n46 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:171:1: note: FIX-IT applied suggested code changes # | 171 | namespace n47 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:173:1: note: FIX-IT applied suggested code changes # | 173 | } // namespace n47 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:175:1: note: FIX-IT applied suggested code changes # | 175 | } // namespace n46 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:177:1: note: FIX-IT applied suggested code changes # | 177 | } // namespace n45 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:187:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 187 | namespace n49 { # | | ^~~~~~~~~~~~~~~ # | 188 | namespace n50 { # | | ~~~~~~~~~~~~~ # | | namespace n49::n50 # | 189 | // # | 190 | void foo() {} # | 191 | } # | 192 | } # | | ~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:187:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:188:1: note: FIX-IT applied suggested code changes # | 188 | namespace n50 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:192:1: note: FIX-IT applied suggested code changes # | 192 | } # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:218:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 218 | namespace avoid_add_close_comment { # | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 219 | namespace inner { # | | ~~~~~~~~~~~~~~~ # | | namespace avoid_add_close_comment::inner # | 220 | void foo() {} # | 221 | } # | 222 | } # | | ~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:218:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:219:1: note: FIX-IT applied suggested code changes # | 219 | namespace inner { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:222:1: note: FIX-IT applied suggested code changes # | 222 | } # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:227:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 227 | namespace avoid_change_close_comment { # | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 228 | namespace inner { # | | ~~~~~~~~~~~~~~~ # | | namespace avoid_change_close_comment::inner # | 229 | void foo() {} # | 230 | } // namespace inner and other comments # | 231 | } // namespace avoid_change_close_comment and other comments # | | ~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:227:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:228:1: note: FIX-IT applied suggested code changes # | 228 | namespace inner { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:231:1: note: FIX-IT applied suggested code changes # | 231 | } // namespace avoid_change_close_comment and other comments # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:241:1: warning: nested namespaces can be concatenated [modernize-concat-nested-namespaces] # | 241 | namespace /*::*/ comment_colon_2 { # | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | 242 | namespace comment_colon_2 { # | | ~~~~~~~~~~~~~~~~~~~~~~~~~ # | | namespace comment_colon_2::comment_colon_2 # | 243 | void foo() {} # | 244 | } // namespace comment_colon_2 # | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | | } // namespace comment_colon_2::comment_colon_2 # | 245 | } // namespace comment_colon_2 # | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:241:1: note: FIX-IT applied suggested code changes # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:242:1: note: FIX-IT applied suggested code changes # | 242 | namespace comment_colon_2 { # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:244:1: note: FIX-IT applied suggested code changes # | 244 | } // namespace comment_colon_2 # | | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp:245:1: note: FIX-IT applied suggested code changes # | clang-tidy applied 61 of 61 suggested fixes. # | 245 | } // namespace comment_colon_2 # | | ^ # | # | ------------------------------------------------------------------ # | diff -u /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.orig /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp failed: # | --- /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.orig 2026-03-19 17:05:29.996843723 +0000 # | +++ /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp 2026-03-19 17:05:30.585241531 +0000 # | @@ -28,17 +28,17 @@ # | } # | } // namespace n7 # | # | -namespace n9 { # | -namespace n10 { # | + # | +namespace n9::n10 { # | // # | // # | void t(); # | -} // namespace n10 # | -} // namespace n9 # | +} // namespace n9::n10 # | + # | // # | # | -namespace n11 { # | -namespace n12 { # | + # | +namespace n11::n12 { # | // # | // # | namespace n13 { # | @@ -47,8 +47,8 @@ # | namespace n14 { # | void t(); # | } # | -} // namespace n12 # | -} // namespace n11 # | +} // namespace n11::n12 # | + # | // # | # | namespace n15 { # | @@ -60,15 +60,15 @@ # | void t(); # | } # | # | -namespace n18 { # | -namespace n19 { # | -namespace n20 { # | + # | + # | +namespace n18::n19::n20 { # | // # | // # | void t(); # | -} // namespace n20 # | -} // namespace n19 # | -} // namespace n18 # | +} // namespace n18::n19::n20 # | + # | + # | // # | # | namespace n21 { # | @@ -84,38 +84,38 @@ # | # | namespace n23 { # | namespace { # | -namespace n24 { # | -namespace n25 { # | + # | +namespace n24::n25 { # | // # | // # | void t(); # | -} // namespace n25 # | -} // namespace n24 # | +} // namespace n24::n25 # | + # | // # | } // namespace # | } // namespace n23 # | # | -namespace n26::n27 { # | -namespace n28 { # | -namespace n29::n30 { # | + # | + # | +namespace n26::n27::n28::n29::n30 { # | // # | // # | void t() {} # | -} // namespace n29::n30 # | -} // namespace n28 # | -} // namespace n26::n27 # | +} // namespace n26::n27::n28::n29::n30 # | + # | + # | // # | # | -namespace n31 { # | -namespace n32 {} # | + # | + # | // # | -} // namespace n31 # | + # | # | namespace n33 { # | -namespace n34 { # | -namespace n35 {} # | + # | + # | // # | -} // namespace n34 # | + # | namespace n36 { # | void t(); # | } # | @@ -126,55 +126,54 @@ # | } # | # | #define IEXIST # | -namespace n39 { # | -namespace n40 { # | + # | +namespace n39::n40 { # | // # | // # | #ifdef IEXIST # | void t() {} # | #endif # | -} // namespace n40 # | -} // namespace n39 # | +} // namespace n39::n40 # | + # | // # | # | -namespace n41 { # | -namespace n42 { # | + # | +namespace n41::n42 { # | // # | // # | #ifdef IDONTEXIST # | void t() {} # | #endif # | -} // namespace n42 # | -} // namespace n41 # | +} // namespace n41::n42 # | + # | // # | # | # | // # | -namespace n43 { # | + # | #define N43_INNER # | -namespace n44 { # | +namespace n43::n44 { # | void foo() {} # | -} // namespace n44 # | +} // namespace n43::n44 # | #undef N43_INNER # | -} // namespace n43 # | + # | // # | // # | // # | // # | # | // # | -namespace n45{ # | + # | #define N45_INNER # | -namespace n46 # | -{ # | + # | #pragma clang diagnostic push # | -namespace n47 { # | +namespace n45::n46::n47 { # | void foo() {} # | -} // namespace n47 # | +} // namespace n45::n46::n47 # | #pragma clang diagnostic pop # | -} // namespace n46 # | + # | #undef N45_INNER # | -} // namespace n45 # | + # | // # | // # | // # | @@ -184,12 +183,12 @@ # | # | inline namespace n48 { # | // # | -namespace n49 { # | -namespace n50 { # | + # | +namespace n49::n50 { # | // # | void foo() {} # | } # | -} # | + # | } # | # | // # | @@ -215,20 +214,20 @@ # | #endif # | # | // # | -namespace avoid_add_close_comment { # | -namespace inner { # | + # | +namespace avoid_add_close_comment::inner { # | void foo() {} # | } # | -} # | + # | // # | // # | # | // # | -namespace avoid_change_close_comment { # | -namespace inner { # | + # | +namespace avoid_change_close_comment::inner { # | void foo() {} # | } // namespace inner and other comments # | -} // namespace avoid_change_close_comment and other comments # | +// namespace avoid_change_close_comment and other comments # | // # | // # | # | @@ -238,11 +237,11 @@ # | // # | # | // # | -namespace /*::*/ comment_colon_2 { # | -namespace comment_colon_2 { # | + # | +namespace comment_colon_2::comment_colon_2 { # | void foo() {} # | -} // namespace comment_colon_2 # | -} // namespace comment_colon_2 # | +} // namespace comment_colon_2::comment_colon_2 # | + # | # | int main() { # | n26::n27::n28::n29::n30::t(); # | # | ------------------------------ Fixes ----------------------------- # | --- /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.orig 2026-03-19 17:05:29.996843723 +0000 # | +++ /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp 2026-03-19 17:05:30.585241531 +0000 # | @@ -28,17 +28,17 @@ # | } # | } // namespace n7 # | # | -namespace n9 { # | -namespace n10 { # | + # | +namespace n9::n10 { # | // # | // # | void t(); # | -} // namespace n10 # | -} // namespace n9 # | +} // namespace n9::n10 # | + # | // # | # | -namespace n11 { # | -namespace n12 { # | + # | +namespace n11::n12 { # | // # | // # | namespace n13 { # | @@ -47,8 +47,8 @@ # | namespace n14 { # | void t(); # | } # | -} // namespace n12 # | -} // namespace n11 # | +} // namespace n11::n12 # | + # | // # | # | namespace n15 { # | @@ -60,15 +60,15 @@ # | void t(); # | } # | # | -namespace n18 { # | -namespace n19 { # | -namespace n20 { # | + # | + # | +namespace n18::n19::n20 { # | // # | // # | void t(); # | -} // namespace n20 # | -} // namespace n19 # | -} // namespace n18 # | +} // namespace n18::n19::n20 # | + # | + # | // # | # | namespace n21 { # | @@ -84,38 +84,38 @@ # | # | namespace n23 { # | namespace { # | -namespace n24 { # | -namespace n25 { # | + # | +namespace n24::n25 { # | // # | // # | void t(); # | -} // namespace n25 # | -} // namespace n24 # | +} // namespace n24::n25 # | + # | // # | } // namespace # | } // namespace n23 # | # | -namespace n26::n27 { # | -namespace n28 { # | -namespace n29::n30 { # | + # | + # | +namespace n26::n27::n28::n29::n30 { # | // # | // # | void t() {} # | -} // namespace n29::n30 # | -} // namespace n28 # | -} // namespace n26::n27 # | +} // namespace n26::n27::n28::n29::n30 # | + # | + # | // # | # | -namespace n31 { # | -namespace n32 {} # | + # | + # | // # | -} // namespace n31 # | + # | # | namespace n33 { # | -namespace n34 { # | -namespace n35 {} # | + # | + # | // # | -} // namespace n34 # | + # | namespace n36 { # | void t(); # | } # | @@ -126,55 +126,54 @@ # | } # | # | #define IEXIST # | -namespace n39 { # | -namespace n40 { # | + # | +namespace n39::n40 { # | // # | // # | #ifdef IEXIST # | void t() {} # | #endif # | -} // namespace n40 # | -} // namespace n39 # | +} // namespace n39::n40 # | + # | // # | # | -namespace n41 { # | -namespace n42 { # | + # | +namespace n41::n42 { # | // # | // # | #ifdef IDONTEXIST # | void t() {} # | #endif # | -} // namespace n42 # | -} // namespace n41 # | +} // namespace n41::n42 # | + # | // # | # | # | // # | -namespace n43 { # | + # | #define N43_INNER # | -namespace n44 { # | +namespace n43::n44 { # | void foo() {} # | -} // namespace n44 # | +} // namespace n43::n44 # | #undef N43_INNER # | -} // namespace n43 # | + # | // # | // # | // # | // # | # | // # | -namespace n45{ # | + # | #define N45_INNER # | -namespace n46 # | -{ # | + # | #pragma clang diagnostic push # | -namespace n47 { # | +namespace n45::n46::n47 { # | void foo() {} # | -} // namespace n47 # | +} // namespace n45::n46::n47 # | #pragma clang diagnostic pop # | -} // namespace n46 # | + # | #undef N45_INNER # | -} // namespace n45 # | + # | // # | // # | // # | @@ -184,12 +183,12 @@ # | # | inline namespace n48 { # | // # | -namespace n49 { # | -namespace n50 { # | + # | +namespace n49::n50 { # | // # | void foo() {} # | } # | -} # | + # | } # | # | // # | @@ -215,20 +214,20 @@ # | #endif # | # | // # | -namespace avoid_add_close_comment { # | -namespace inner { # | + # | +namespace avoid_add_close_comment::inner { # | void foo() {} # | } # | -} # | + # | // # | // # | # | // # | -namespace avoid_change_close_comment { # | -namespace inner { # | + # | +namespace avoid_change_close_comment::inner { # | void foo() {} # | } // namespace inner and other comments # | -} // namespace avoid_change_close_comment and other comments # | +// namespace avoid_change_close_comment and other comments # | // # | // # | # | @@ -238,11 +237,11 @@ # | // # | # | // # | -namespace /*::*/ comment_colon_2 { # | -namespace comment_colon_2 { # | + # | +namespace comment_colon_2::comment_colon_2 { # | void foo() {} # | -} // namespace comment_colon_2 # | -} // namespace comment_colon_2 # | +} // namespace comment_colon_2::comment_colon_2 # | + # | # | int main() { # | n26::n27::n28::n29::n30::t(); # | # | ------------------------------------------------------------------ # | FileCheck --input-file=/usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp.headers/modernize-concat-nested-namespaces.h /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/concat-nested-namespaces/modernize-concat-nested-namespaces.h --check-prefixes=CHECK-FIXES-NORMAL --match-full-lines failed: # | /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/concat-nested-namespaces/modernize-concat-nested-namespaces.h:4:24: error: CHECK-FIXES-NORMAL: expected string not found in input # | // CHECK-FIXES-NORMAL: namespace nn1::nn2 { # | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp.headers/modernize-concat-nested-namespaces.h:1:1: note: scanning from here # | // # | ^ # | /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp.headers/modernize-concat-nested-namespaces.h:2:1: note: possible intended match here # | namespace nn1 { # | ^ # | # | Input file: /usr/local/google/home/thakis/src/llvm-project/out/gn/obj/clang-tools-extra/test/clang-tidy/checkers/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp.headers/modernize-concat-nested-namespaces.h # | Check file: /usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/concat-nested-namespaces/modernize-concat-nested-namespaces.h # | # | -dump-input=help explains the following input dump. # | # | Input was: # | <<<<<< # | 1: // # | check:4'0 X~~ error: no match found # | 2: namespace nn1 { # | check:4'0 ~~~~~~~~~~~~~~~~ # | check:4'1 ? possible intended match # | 3: namespace nn2 { # | check:4'0 ~~~~~~~~~~~~~~~~ # | 4: // # | check:4'0 ~~~ # | 5: void t(); # | check:4'0 ~~~~~~~~~~ # | 6: } // namespace nn2 # | check:4'0 ~~~~~~~~~~~~~~~~~~~ # | 7: } // namespace nn1 # | check:4'0 ~~~~~~~~~~~~~~~~~~~ # | . # | . # | . # | >>>>>> # | # `----------------------------- # .---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 554, in # | main() # | ~~~~^^ # | File "/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py", line 550, 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_fixes( # | ~~~~~~~~~~~~~~~~^ # | input_file=temp_header, # | ^^^^^^^^^^^^^^^^^^^^^^^ # | check_file=original_header, # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | ) # | ^ # | File "/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py", line 327, in check_fixes # | try_run( # | ~~~~~~~^ # | [ # | ^ # | ...<9 lines>... # | ] # | ^ # | ) # | ^ # | File "/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/check_clang_tidy.py", line 64, 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/modernize/Output/concat-nested-namespaces.cpp.tmp.cpp.headers/modernize-concat-nested-namespaces.h', '/usr/local/google/home/thakis/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/concat-nested-namespaces/modernize-concat-nested-namespaces.h', '--check-prefixes=CHECK-FIXES-NORMAL', '--match-full-lines']' 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/modernize/concat-nested-namespaces.cpp Testing Time: 11.10s Total Discovered Tests: 1623 Unsupported : 2 (0.12%) Passed : 1619 (99.75%) 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.