Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] Delete unused clang-formatted-file.txt/ClangFormattedStatus.rst files #109220

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

jurahul
Copy link
Contributor

@jurahul jurahul commented Sep 18, 2024

Looks like these files are generated by the generate_formatted_state.py script as a "status report" of state of clang-format compliance of files in the LLVM git repo. As such, they do not belong to the repo itself, so deleting them.

Please see: https://discourse.llvm.org/t/clang-docs-tools-clang-formatted-files-txt/82803

@jurahul jurahul changed the title [NFC] Delete unused clang-formatted-file.txt file [NFC] Delete unused clang-formatted-files.txt file Sep 18, 2024
@jurahul jurahul marked this pull request as ready for review September 19, 2024 02:52
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Sep 19, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Sep 19, 2024

@llvm/pr-subscribers-clang

Author: Rahul Joshi (jurahul)

Changes

Looks like this file is generated by the generate_formatted_state.py script in the same directory. So it seems this was committed to the repo inadvertently.


Patch is 408.98 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/109220.diff

1 Files Affected:

  • (removed) clang/docs/tools/clang-formatted-files.txt (-8828)
diff --git a/clang/docs/tools/clang-formatted-files.txt b/clang/docs/tools/clang-formatted-files.txt
deleted file mode 100644
index fa40ea74fb7e7d..00000000000000
--- a/clang/docs/tools/clang-formatted-files.txt
+++ /dev/null
@@ -1,8828 +0,0 @@
-bolt/include/bolt/Core/BinaryData.h
-bolt/include/bolt/Core/BinaryEmitter.h
-bolt/include/bolt/Core/BinaryLoop.h
-bolt/include/bolt/Core/BinarySection.h
-bolt/include/bolt/Core/DebugData.h
-bolt/include/bolt/Core/Exceptions.h
-bolt/include/bolt/Core/JumpTable.h
-bolt/include/bolt/Core/MCPlus.h
-bolt/include/bolt/Core/MCPlusBuilder.h
-bolt/include/bolt/Core/ParallelUtilities.h
-bolt/include/bolt/Passes/ADRRelaxationPass.h
-bolt/include/bolt/Passes/Aligner.h
-bolt/include/bolt/Passes/AllocCombiner.h
-bolt/include/bolt/Passes/AsmDump.h
-bolt/include/bolt/Passes/BinaryFunctionCallGraph.h
-bolt/include/bolt/Passes/BinaryPasses.h
-bolt/include/bolt/Passes/CacheMetrics.h
-bolt/include/bolt/Passes/CallGraph.h
-bolt/include/bolt/Passes/CallGraphWalker.h
-bolt/include/bolt/Passes/DataflowAnalysis.h
-bolt/include/bolt/Passes/DataflowInfoManager.h
-bolt/include/bolt/Passes/DominatorAnalysis.h
-bolt/include/bolt/Passes/FrameAnalysis.h
-bolt/include/bolt/Passes/FrameOptimizer.h
-bolt/include/bolt/Passes/HFSort.h
-bolt/include/bolt/Passes/IdenticalCodeFolding.h
-bolt/include/bolt/Passes/IndirectCallPromotion.h
-bolt/include/bolt/Passes/Inliner.h
-bolt/include/bolt/Passes/Instrumentation.h
-bolt/include/bolt/Passes/InstrumentationSummary.h
-bolt/include/bolt/Passes/JTFootprintReduction.h
-bolt/include/bolt/Passes/LivenessAnalysis.h
-bolt/include/bolt/Passes/LongJmp.h
-bolt/include/bolt/Passes/LoopInversionPass.h
-bolt/include/bolt/Passes/MCF.h
-bolt/include/bolt/Passes/PatchEntries.h
-bolt/include/bolt/Passes/PLTCall.h
-bolt/include/bolt/Passes/ReachingDefOrUse.h
-bolt/include/bolt/Passes/ReachingInsns.h
-bolt/include/bolt/Passes/RegAnalysis.h
-bolt/include/bolt/Passes/RegReAssign.h
-bolt/include/bolt/Passes/ReorderAlgorithm.h
-bolt/include/bolt/Passes/ReorderData.h
-bolt/include/bolt/Passes/ReorderFunctions.h
-bolt/include/bolt/Passes/ReorderUtils.h
-bolt/include/bolt/Passes/RetpolineInsertion.h
-bolt/include/bolt/Passes/ShrinkWrapping.h
-bolt/include/bolt/Passes/SplitFunctions.h
-bolt/include/bolt/Passes/StackAllocationAnalysis.h
-bolt/include/bolt/Passes/StackAvailableExpressions.h
-bolt/include/bolt/Passes/StackPointerTracking.h
-bolt/include/bolt/Passes/StackReachingUses.h
-bolt/include/bolt/Passes/StokeInfo.h
-bolt/include/bolt/Passes/TailDuplication.h
-bolt/include/bolt/Passes/ThreeWayBranch.h
-bolt/include/bolt/Passes/ValidateInternalCalls.h
-bolt/include/bolt/Passes/VeneerElimination.h
-bolt/include/bolt/Profile/BoltAddressTranslation.h
-bolt/include/bolt/Profile/DataAggregator.h
-bolt/include/bolt/Profile/DataReader.h
-bolt/include/bolt/Profile/Heatmap.h
-bolt/include/bolt/Profile/ProfileReaderBase.h
-bolt/include/bolt/Profile/ProfileYAMLMapping.h
-bolt/include/bolt/Profile/YAMLProfileReader.h
-bolt/include/bolt/Profile/YAMLProfileWriter.h
-bolt/include/bolt/Rewrite/BinaryPassManager.h
-bolt/include/bolt/Rewrite/DWARFRewriter.h
-bolt/include/bolt/Rewrite/ExecutableFileMemoryManager.h
-bolt/include/bolt/Rewrite/MachORewriteInstance.h
-bolt/include/bolt/RuntimeLibs/HugifyRuntimeLibrary.h
-bolt/include/bolt/RuntimeLibs/InstrumentationRuntimeLibrary.h
-bolt/include/bolt/RuntimeLibs/RuntimeLibrary.h
-bolt/include/bolt/Utils/CommandLineOpts.h
-bolt/include/bolt/Utils/NameResolver.h
-bolt/include/bolt/Utils/NameShortener.h
-bolt/include/bolt/Utils/Utils.h
-bolt/lib/Core/BinaryBasicBlock.cpp
-bolt/lib/Core/BinarySection.cpp
-bolt/lib/Core/DebugData.cpp
-bolt/lib/Core/JumpTable.cpp
-bolt/lib/Core/MCPlusBuilder.cpp
-bolt/lib/Passes/ADRRelaxationPass.cpp
-bolt/lib/Passes/AllocCombiner.cpp
-bolt/lib/Passes/AsmDump.cpp
-bolt/lib/Passes/BinaryFunctionCallGraph.cpp
-bolt/lib/Passes/CacheMetrics.cpp
-bolt/lib/Passes/CallGraphWalker.cpp
-bolt/lib/Passes/DataflowAnalysis.cpp
-bolt/lib/Passes/DataflowInfoManager.cpp
-bolt/lib/Passes/HFSort.cpp
-bolt/lib/Passes/IndirectCallPromotion.cpp
-bolt/lib/Passes/Instrumentation.cpp
-bolt/lib/Passes/JTFootprintReduction.cpp
-bolt/lib/Passes/LivenessAnalysis.cpp
-bolt/lib/Passes/LoopInversionPass.cpp
-bolt/lib/Passes/PettisAndHansen.cpp
-bolt/lib/Passes/StackAllocationAnalysis.cpp
-bolt/lib/Passes/StackPointerTracking.cpp
-bolt/lib/Passes/StackReachingUses.cpp
-bolt/lib/Passes/TailDuplication.cpp
-bolt/lib/Passes/ThreeWayBranch.cpp
-bolt/lib/Passes/ValidateInternalCalls.cpp
-bolt/lib/Profile/BoltAddressTranslation.cpp
-bolt/lib/Profile/Heatmap.cpp
-bolt/lib/Profile/ProfileReaderBase.cpp
-bolt/lib/RuntimeLibs/HugifyRuntimeLibrary.cpp
-bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp
-bolt/lib/RuntimeLibs/RuntimeLibrary.cpp
-bolt/lib/Utils/Utils.cpp
-bolt/tools/heatmap/heatmap.cpp
-bolt/tools/llvm-bolt-fuzzer/llvm-bolt-fuzzer.cpp
-bolt/unittests/Core/MCPlusBuilder.cpp
-clang/bindings/python/tests/cindex/INPUTS/header1.h
-clang/bindings/python/tests/cindex/INPUTS/header2.h
-clang/bindings/python/tests/cindex/INPUTS/header3.h
-clang/examples/Attribute/Attribute.cpp
-clang/examples/CallSuperAttribute/CallSuperAttrInfo.cpp
-clang/examples/PluginsOrder/PluginsOrder.cpp
-clang/include/clang/Analysis/BodyFarm.h
-clang/include/clang/Analysis/IssueHash.h
-clang/include/clang/Analysis/MacroExpansionContext.h
-clang/include/clang/Analysis/Analyses/CalledOnceCheck.h
-clang/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h
-clang/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h
-clang/include/clang/Analysis/FlowSensitive/AdornedCFG.h
-clang/include/clang/Analysis/FlowSensitive/ASTOps.h
-clang/include/clang/Analysis/FlowSensitive/CNFFormula.h
-clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
-clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
-clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
-clang/include/clang/Analysis/FlowSensitive/DataflowLattice.h
-clang/include/clang/Analysis/FlowSensitive/DataflowWorklist.h
-clang/include/clang/Analysis/FlowSensitive/DebugSupport.h
-clang/include/clang/Analysis/FlowSensitive/MapLattice.h
-clang/include/clang/Analysis/FlowSensitive/MatchSwitch.h
-clang/include/clang/Analysis/FlowSensitive/NoopAnalysis.h
-clang/include/clang/Analysis/FlowSensitive/NoopLattice.h
-clang/include/clang/Analysis/FlowSensitive/Solver.h
-clang/include/clang/Analysis/FlowSensitive/StorageLocation.h
-clang/include/clang/Analysis/FlowSensitive/Transfer.h
-clang/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h
-clang/include/clang/Analysis/FlowSensitive/Value.h
-clang/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
-clang/include/clang/APINotes/APINotesYAMLCompiler.h
-clang/include/clang/APINotes/Types.h
-clang/include/clang/AST/AST.h
-clang/include/clang/AST/ASTContextAllocate.h
-clang/include/clang/AST/ASTDumper.h
-clang/include/clang/AST/ASTFwd.h
-clang/include/clang/AST/ASTImporterLookupTable.h
-clang/include/clang/AST/ASTImporterSharedState.h
-clang/include/clang/AST/AttrVisitor.h
-clang/include/clang/AST/Availability.h
-clang/include/clang/AST/ComputeDependence.h
-clang/include/clang/AST/CurrentSourceLocExprScope.h
-clang/include/clang/AST/DataCollection.h
-clang/include/clang/AST/ExprOpenMP.h
-clang/include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
-clang/include/clang/AST/LocInfoType.h
-clang/include/clang/AST/MangleNumberingContext.h
-clang/include/clang/AST/OptionalDiagnostic.h
-clang/include/clang/AST/OSLog.h
-clang/include/clang/AST/QualTypeNames.h
-clang/include/clang/AST/RecordLayout.h
-clang/include/clang/AST/TemplateArgumentVisitor.h
-clang/include/clang/ASTMatchers/ASTMatchersMacros.h
-clang/include/clang/ASTMatchers/Dynamic/Registry.h
-clang/include/clang/Basic/AddressSpaces.h
-clang/include/clang/Basic/AlignedAllocation.h
-clang/include/clang/Basic/AttributeCommonInfo.h
-clang/include/clang/Basic/Attributes.h
-clang/include/clang/Basic/AttrSubjectMatchRules.h
-clang/include/clang/Basic/CLWarnings.h
-clang/include/clang/Basic/CommentOptions.h
-clang/include/clang/Basic/Cuda.h
-clang/include/clang/Basic/DarwinSDKInfo.h
-clang/include/clang/Basic/DiagnosticAnalysis.h
-clang/include/clang/Basic/DiagnosticAST.h
-clang/include/clang/Basic/DiagnosticComment.h
-clang/include/clang/Basic/DiagnosticCrossTU.h
-clang/include/clang/Basic/DiagnosticDriver.h
-clang/include/clang/Basic/DiagnosticError.h
-clang/include/clang/Basic/DiagnosticFrontend.h
-clang/include/clang/Basic/DiagnosticLex.h
-clang/include/clang/Basic/DiagnosticParse.h
-clang/include/clang/Basic/DiagnosticRefactoring.h
-clang/include/clang/Basic/DiagnosticSema.h
-clang/include/clang/Basic/DiagnosticSerialization.h
-clang/include/clang/Basic/ExpressionTraits.h
-clang/include/clang/Basic/FileSystemOptions.h
-clang/include/clang/Basic/NoSanitizeList.h
-clang/include/clang/Basic/ProfileList.h
-clang/include/clang/Basic/SanitizerSpecialCaseList.h
-clang/include/clang/Basic/SyncScope.h
-clang/include/clang/Basic/TargetID.h
-clang/include/clang/Basic/Thunk.h
-clang/include/clang/Basic/TypeTraits.h
-clang/include/clang/Basic/XRayInstr.h
-clang/include/clang/Basic/XRayLists.h
-clang/include/clang/CrossTU/CrossTUDiagnostic.h
-clang/include/clang/DirectoryWatcher/DirectoryWatcher.h
-clang/include/clang/Driver/Distro.h
-clang/include/clang/Driver/DriverDiagnostic.h
-clang/include/clang/Driver/OptionUtils.h
-clang/include/clang/Driver/XRayArgs.h
-clang/include/clang/Edit/EditsReceiver.h
-clang/include/clang/Format/Format.h
-clang/include/clang/Frontend/FrontendDiagnostic.h
-clang/include/clang/Frontend/FrontendPluginRegistry.h
-clang/include/clang/Frontend/LogDiagnosticPrinter.h
-clang/include/clang/Frontend/PCHContainerOperations.h
-clang/include/clang/Frontend/PrecompiledPreamble.h
-clang/include/clang/Frontend/TextDiagnosticBuffer.h
-clang/include/clang/Frontend/TextDiagnosticPrinter.h
-clang/include/clang/Index/DeclOccurrence.h
-clang/include/clang/Index/IndexingOptions.h
-clang/include/clang/IndexSerialization/SerializablePathCollection.h
-clang/include/clang/Interpreter/Interpreter.h
-clang/include/clang/Interpreter/PartialTranslationUnit.h
-clang/include/clang/Lex/DependencyDirectivesSourceMinimizer.h
-clang/include/clang/Lex/HeaderMap.h
-clang/include/clang/Lex/HeaderMapTypes.h
-clang/include/clang/Lex/HeaderSearchOptions.h
-clang/include/clang/Lex/LexDiagnostic.h
-clang/include/clang/Lex/PreprocessorExcludedConditionalDirectiveSkipMapping.h
-clang/include/clang/Parse/LoopHint.h
-clang/include/clang/Parse/ParseDiagnostic.h
-clang/include/clang/Sema/CleanupInfo.h
-clang/include/clang/Sema/SemaDiagnostic.h
-clang/include/clang/Sema/TemplateInstCallback.h
-clang/include/clang/Serialization/ASTBitCodes.h
-clang/include/clang/Serialization/InMemoryModuleCache.h
-clang/include/clang/Serialization/SerializationDiagnostic.h
-clang/include/clang/StaticAnalyzer/Core/CheckerRegistryData.h
-clang/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicExtent.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
-clang/include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h
-clang/include/clang/StaticAnalyzer/Frontend/AnalyzerHelpFlags.h
-clang/include/clang/StaticAnalyzer/Frontend/FrontendActions.h
-clang/include/clang/Testing/CommandLineArgs.h
-clang/include/clang/Testing/TestClangConfig.h
-clang/include/clang/Tooling/AllTUsExecution.h
-clang/include/clang/Tooling/ArgumentsAdjusters.h
-clang/include/clang/Tooling/CompilationDatabasePluginRegistry.h
-clang/include/clang/Tooling/DiagnosticsYaml.h
-clang/include/clang/Tooling/Execution.h
-clang/include/clang/Tooling/JSONCompilationDatabase.h
-clang/include/clang/Tooling/Refactoring.h
-clang/include/clang/Tooling/StandaloneExecution.h
-clang/include/clang/Tooling/ToolExecutorPluginRegistry.h
-clang/include/clang/Tooling/ASTDiff/ASTDiff.h
-clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h
-clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
-clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h
-clang/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h
-clang/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h
-clang/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h
-clang/include/clang/Tooling/Inclusions/HeaderIncludes.h
-clang/include/clang/Tooling/Inclusions/IncludeStyle.h
-clang/include/clang/Tooling/Inclusions/StandardLibrary.h
-clang/include/clang/Tooling/Refactoring/ASTSelection.h
-clang/include/clang/Tooling/Refactoring/AtomicChange.h
-clang/include/clang/Tooling/Refactoring/Lookup.h
-clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h
-clang/include/clang/Tooling/Refactoring/RefactoringAction.h
-clang/include/clang/Tooling/Refactoring/RefactoringActionRule.h
-clang/include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h
-clang/include/clang/Tooling/Refactoring/RefactoringDiagnostic.h
-clang/include/clang/Tooling/Refactoring/RefactoringOption.h
-clang/include/clang/Tooling/Refactoring/RefactoringOptions.h
-clang/include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h
-clang/include/clang/Tooling/Refactoring/RefactoringRuleContext.h
-clang/include/clang/Tooling/Refactoring/Extract/Extract.h
-clang/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h
-clang/include/clang/Tooling/Refactoring/Rename/SymbolName.h
-clang/include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h
-clang/include/clang/Tooling/Refactoring/Rename/USRFinder.h
-clang/include/clang/Tooling/Refactoring/Rename/USRFindingAction.h
-clang/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h
-clang/include/clang/Tooling/Syntax/BuildTree.h
-clang/include/clang/Tooling/Syntax/Mutations.h
-clang/include/clang/Tooling/Syntax/Nodes.h
-clang/include/clang/Tooling/Syntax/Tokens.h
-clang/include/clang/Tooling/Syntax/Tree.h
-clang/include/clang/Tooling/Syntax/Pseudo/Grammar.h
-clang/include/clang/Tooling/Syntax/Pseudo/LRGraph.h
-clang/include/clang/Tooling/Syntax/Pseudo/LRTable.h
-clang/include/clang/Tooling/Syntax/Pseudo/Preprocess.h
-clang/include/clang/Tooling/Syntax/Pseudo/Token.h
-clang/include/clang/Tooling/Transformer/MatchConsumer.h
-clang/include/clang/Tooling/Transformer/Parsing.h
-clang/include/clang/Tooling/Transformer/RangeSelector.h
-clang/include/clang/Tooling/Transformer/SourceCode.h
-clang/include/clang/Tooling/Transformer/SourceCodeBuilders.h
-clang/include/clang/Tooling/Transformer/Transformer.h
-clang/include/clang-c/ExternC.h
-clang/include/clang-c/FatalErrorHandler.h
-clang/include/clang-c/Index.h
-clang/lib/Analysis/CalledOnceCheck.cpp
-clang/lib/Analysis/CloneDetection.cpp
-clang/lib/Analysis/CodeInjector.cpp
-clang/lib/Analysis/FlowSensitive/AdornedCFG.cpp
-clang/lib/Analysis/FlowSensitive/ASTOps.cpp
-clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
-clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
-clang/lib/Analysis/FlowSensitive/DebugSupport.cpp
-clang/lib/Analysis/FlowSensitive/Transfer.cpp
-clang/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp
-clang/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp
-clang/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp
-clang/lib/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp
-clang/lib/APINotes/APINotesFormat.h
-clang/lib/APINotes/APINotesTypes.cpp
-clang/lib/APINotes/APINotesYAMLCompiler.cpp
-clang/lib/AST/DataCollection.cpp
-clang/lib/AST/Linkage.h
-clang/lib/AST/ByteCode/ByteCodeGenError.cpp
-clang/lib/AST/ByteCode/ByteCodeGenError.h
-clang/lib/AST/ByteCode/Context.cpp
-clang/lib/AST/ByteCode/Context.h
-clang/lib/AST/ByteCode/Descriptor.cpp
-clang/lib/AST/ByteCode/Disasm.cpp
-clang/lib/AST/ByteCode/EvalEmitter.h
-clang/lib/AST/ByteCode/Frame.cpp
-clang/lib/AST/ByteCode/Frame.h
-clang/lib/AST/ByteCode/InterpState.h
-clang/lib/AST/ByteCode/Opcode.h
-clang/lib/AST/ByteCode/Pointer.cpp
-clang/lib/AST/ByteCode/PrimType.cpp
-clang/lib/AST/ByteCode/Record.h
-clang/lib/AST/ByteCode/Source.cpp
-clang/lib/AST/ByteCode/Source.h
-clang/lib/AST/ByteCode/State.cpp
-clang/lib/AST/ByteCode/State.h
-clang/lib/ASTMatchers/GtestMatchers.cpp
-clang/lib/ASTMatchers/Dynamic/Marshallers.cpp
-clang/lib/Basic/Attributes.cpp
-clang/lib/Basic/DarwinSDKInfo.cpp
-clang/lib/Basic/DiagnosticOptions.cpp
-clang/lib/Basic/ExpressionTraits.cpp
-clang/lib/Basic/FileEntry.cpp
-clang/lib/Basic/NoSanitizeList.cpp
-clang/lib/Basic/OpenCLOptions.cpp
-clang/lib/Basic/SanitizerSpecialCaseList.cpp
-clang/lib/Basic/TargetID.cpp
-clang/lib/Basic/Targets.h
-clang/lib/Basic/TypeTraits.cpp
-clang/lib/Basic/XRayInstr.cpp
-clang/lib/Basic/XRayLists.cpp
-clang/lib/Basic/Targets/ARC.cpp
-clang/lib/Basic/Targets/ARC.h
-clang/lib/Basic/Targets/AVR.cpp
-clang/lib/Basic/Targets/BPF.cpp
-clang/lib/Basic/Targets/BPF.h
-clang/lib/Basic/Targets/Hexagon.h
-clang/lib/Basic/Targets/Lanai.h
-clang/lib/Basic/Targets/M68k.h
-clang/lib/Basic/Targets/MSP430.h
-clang/lib/Basic/Targets/NVPTX.cpp
-clang/lib/Basic/Targets/OSTargets.cpp
-clang/lib/Basic/Targets/PNaCl.cpp
-clang/lib/Basic/Targets/PNaCl.h
-clang/lib/Basic/Targets/RISCV.h
-clang/lib/Basic/Targets/Sparc.h
-clang/lib/Basic/Targets/SPIR.cpp
-clang/lib/Basic/Targets/SystemZ.h
-clang/lib/Basic/Targets/TCE.cpp
-clang/lib/Basic/Targets/TCE.h
-clang/lib/Basic/Targets/VE.cpp
-clang/lib/Basic/Targets/VE.h
-clang/lib/Basic/Targets/WebAssembly.cpp
-clang/lib/Basic/Targets/WebAssembly.h
-clang/lib/Basic/Targets/XCore.cpp
-clang/lib/CodeGen/ABIInfoImpl.cpp
-clang/lib/CodeGen/ABIInfoImpl.h
-clang/lib/CodeGen/CGCUDARuntime.cpp
-clang/lib/CodeGen/CGLoopInfo.cpp
-clang/lib/CodeGen/CGLoopInfo.h
-clang/lib/CodeGen/CGStmtOpenMP.cpp
-clang/lib/CodeGen/MacroPPCallbacks.cpp
-clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
-clang/lib/CodeGen/PatternInit.cpp
-clang/lib/CodeGen/PatternInit.h
-clang/lib/CodeGen/VarBypassDetector.cpp
-clang/lib/DirectoryWatcher/DirectoryScanner.cpp
-clang/lib/DirectoryWatcher/DirectoryScanner.h
-clang/lib/Driver/Distro.cpp
-clang/lib/Driver/XRayArgs.cpp
-clang/lib/Driver/ToolChains/AIX.cpp
-clang/lib/Driver/ToolChains/AIX.h
-clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
-clang/lib/Driver/ToolChains/AMDGPUOpenMP.h
-clang/lib/Driver/ToolChains/AVR.cpp
-clang/lib/Driver/ToolChains/AVR.h
-clang/lib/Driver/ToolChains/CommonArgs.h
-clang/lib/Driver/ToolChains/CrossWindows.h
-clang/lib/Driver/ToolChains/DragonFly.h
-clang/lib/Driver/ToolChains/FreeBSD.cpp
-clang/lib/Driver/ToolChains/FreeBSD.h
-clang/lib/Driver/ToolChains/HIPAMD.h
-clang/lib/Driver/ToolChains/HIPSPV.cpp
-clang/lib/Driver/ToolChains/HIPSPV.h
-clang/lib/Driver/ToolChains/HIPUtility.cpp
-clang/lib/Driver/ToolChains/HIPUtility.h
-clang/lib/Driver/ToolChains/Hurd.cpp
-clang/lib/Driver/ToolChains/Hurd.h
-clang/lib/Driver/ToolChains/InterfaceStubs.cpp
-clang/lib/Driver/ToolChains/InterfaceStubs.h
-clang/lib/Driver/ToolChains/MipsLinux.cpp
-clang/lib/Driver/ToolChains/MSP430.h
-clang/lib/Driver/ToolChains/PPCFreeBSD.cpp
-clang/lib/Driver/ToolChains/PPCFreeBSD.h
-clang/lib/Driver/ToolChains/PPCLinux.h
-clang/lib/Driver/ToolChains/ROCm.h
-clang/lib/Driver/ToolChains/Solaris.cpp
-clang/lib/Driver/ToolChains/Solaris.h
-clang/lib/Driver/ToolChains/SPIRV.cpp
-clang/lib/Driver/ToolChains/SPIRV.h
-clang/lib/Driver/ToolChains/TCE.h
-clang/lib/Driver/ToolChains/VEToolchain.cpp
-clang/lib/Driver/ToolChains/VEToolchain.h
-clang/lib/Driver/ToolChains/WebAssembly.h
-clang/lib/Driver/ToolChains/XCore.cpp
-clang/lib/Driver/ToolChains/ZOS.cpp
-clang/lib/Driver/ToolChains/ZOS.h
-clang/lib/Driver/ToolChains/Arch/ARM.h
-clang/lib/Driver/ToolChains/Arch/M68k.cpp
-clang/lib/Driver/ToolChains/Arch/M68k.h
-clang/lib/Driver/ToolChains/Arch/RISCV.h
-clang/lib/Driver/ToolChains/Arch/VE.cpp
-clang/lib/Driver/ToolChains/Arch/VE.h
-clang/lib/Driver/ToolChains/Arch/X86.cpp
-clang/lib/Format/AffectedRangeManager.cpp
-clang/lib/Format/AffectedRangeManager.h
-clang/lib/Format/...
[truncated]

@AaronBallman
Copy link
Collaborator

I don't think this file is actually unused; it was committed with the original PR adding the script: 5aca8bb (https://reviews.llvm.org/D111000 was the review)

I've added @mydeveloperday as a reviewer for confirmation though

@jurahul
Copy link
Contributor Author

jurahul commented Sep 19, 2024

May be. Even in that PR, the only reference to this file is:

CLEAN_FILE = os.path.join(CLANG_DIR, 'docs/tools/clang-formatted-files.txt')
cleanfiles = open(CLEAN_FILE, "wb")

So its overwritten. But yeah, let @mydeveloperday confirm.

@jurahul
Copy link
Contributor Author

jurahul commented Sep 23, 2024

@AaronBallman WDTY? The motivation of the change is that I see most of the changes in this file are a result of folks adding or deleting files, so its one less thing to take care of when doing so. Also the current list of files in this file is incomplete, further proving that this file is not used in any meaningful way. For example, llvm/utils/TableGen/Basic/... and llvm/utils/TableGen/Common/... are missing. I suspect there may be others as well.

@jurahul
Copy link
Contributor Author

jurahul commented Oct 8, 2024

@AaronBallman ping to comment on this again. Not only does this have files missing, it also includes file names that do not exist anymore in the repo:

clang/docs/tools/clang-formatted-files.txt:llvm/lib/Target/NVPTX/ManagedStringPool.h

So, I think it's best to cleanup and delete the file.

… files

Looks like these files are generated by the `generate_formatted_state.py` script
as a "status report" of state of clang-format compliance of files in the
LLVM git repo. As such, they do not belong to the repo itself, so
deleting it.
@jurahul jurahul changed the title [NFC] Delete unused clang-formatted-files.txt file [NFC] Delete unused clang-formatted-file.txt/ClangFormattedStatus.rst files Oct 28, 2024
@jurahul
Copy link
Contributor Author

jurahul commented Oct 28, 2024

@AaronBallman can you PTAL?

@AaronBallman
Copy link
Collaborator

@AaronBallman can you PTAL?

The changes themselves are fine, but I'd like to hear from @mydeveloperday or @owenca just to be sure we're not stepping on any clang-format folks' toes.

@jurahul
Copy link
Contributor Author

jurahul commented Oct 29, 2024

Thanks. I haven't seen any responses from @mydeveloperday earlier, hopefully @owenca can chime in.

@jurahul jurahul requested a review from owenca October 29, 2024 19:27
@jurahul
Copy link
Contributor Author

jurahul commented Oct 30, 2024

@AaronBallman go ahead with the merge since @owenca has approved?

Copy link
Collaborator

@AaronBallman AaronBallman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you for the cleanup!

@jurahul jurahul merged commit e6e0463 into llvm:main Oct 30, 2024
9 checks passed
@jurahul jurahul deleted the delete_unused_file branch October 30, 2024 14:02
@cjappl
Copy link
Contributor

cjappl commented Oct 30, 2024

FYI @jurahul - having a build failure when I try to build docs after this change. I think a few little bits were missed.

Warning, treated as error:
./llvm-project/build/tools/clang/docs/ClangFormattedStatus.rst:document isn't included in any toctree

The following table :doc:`ClangFormattedStatus` shows the current status of clang-formatting for the entire LLVM source tree.

DOC_FILE = os.path.join(CLANG_DIR, "docs/ClangFormattedStatus.rst")

:doc:`ClangFormattedStatus` describes the state of LLVM source

Would you mind reverting (or just deleting these, if that is more appropriate)?

@jurahul
Copy link
Contributor Author

jurahul commented Oct 30, 2024

Let me delete those references. The ones in generated_formatted_state.py are fine

@jurahul
Copy link
Contributor Author

jurahul commented Oct 30, 2024

Started #114331

@AaronBallman
Copy link
Collaborator

Oops, I thought I had gotten all of those yesterday but it seems I didn't. Thanks for the cleanup @jurahul!

NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
… files (llvm#109220)

Looks like these files are generated by the
`generate_formatted_state.py` script as a "status report" of state of
clang-format compliance of files in the LLVM git repo. As such, they do
not belong to the repo itself, so deleting them.

Please see:
https://discourse.llvm.org/t/clang-docs-tools-clang-formatted-files-txt/82803
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants