From 7a9b00ce7716f522d49aa36666c74a71cd12203a Mon Sep 17 00:00:00 2001 From: robert Date: Sat, 11 Nov 2023 18:20:20 +0000 Subject: [PATCH] merge clang-16.0.6 --- gnu/llvm/clang/CODE_OWNERS.TXT | 62 - gnu/llvm/clang/INPUTS/Cocoa_h.m | 2 - gnu/llvm/clang/INPUTS/all-std-headers.cpp | 86 - gnu/llvm/clang/INPUTS/c99-intconst-1.c | 639 - gnu/llvm/clang/INPUTS/carbon_h.c | 4 - gnu/llvm/clang/INPUTS/cfg-big-switch.c | 27 - gnu/llvm/clang/INPUTS/cfg-long-chain1.c | 20 - gnu/llvm/clang/INPUTS/cfg-long-chain2.c | 20 - gnu/llvm/clang/INPUTS/cfg-long-chain3.c | 21 - gnu/llvm/clang/INPUTS/cfg-nested-switches.c | 36 - .../clang/INPUTS/cfg-nested-var-scopes.cpp | 59 - gnu/llvm/clang/INPUTS/iostream.cc | 5 - gnu/llvm/clang/INPUTS/macro_pounder_fn.c | 17 - gnu/llvm/clang/INPUTS/macro_pounder_obj.c | 16 - gnu/llvm/clang/INPUTS/stpcpy-test.c | 47 - gnu/llvm/clang/docs/Block-ABI-Apple.txt | 1 - .../clang/docs/ClangCommandLineReference.rst | 4057 --- gnu/llvm/clang/docs/CommandGuide/clang.rst | 48 +- gnu/llvm/clang/docs/Makefile.sphinx | 163 - .../examples/clang-interpreter/CMakeLists.txt | 93 - .../examples/clang-interpreter/README.txt | 20 - .../clang/examples/clang-interpreter/Test.cxx | 33 - .../clang/examples/clang-interpreter/main.cpp | 234 - .../clang/include/clang/AST/FormatString.h | 30 +- .../clang/Analysis/AnalysisDiagnostic.h | 14 - .../include/clang/Basic/CodeGenOptions.def | 83 +- .../clang/Basic/DiagnosticFrontendKinds.td | 51 +- .../include/clang/Basic/DiagnosticGroups.td | 154 +- .../clang/Basic/DiagnosticSemaKinds.td | 997 +- .../clang/include/clang/Basic/LangOptions.def | 66 +- .../clang/include/clang/Basic/TargetInfo.h | 271 +- .../clang/include/clang/Basic/X86Target.def | 110 - .../clang/include/clang/Driver/Options.td | 1599 +- .../Lex/DependencyDirectivesSourceMinimizer.h | 112 - ...rExcludedConditionalDirectiveSkipMapping.h | 30 - gnu/llvm/clang/include/clang/Sema/Sema.h | 1877 +- .../StaticAnalyzer/Checkers/LocalCheckers.h | 27 - gnu/llvm/clang/lib/AST/FormatString.cpp | 145 +- gnu/llvm/clang/lib/Basic/TargetInfo.cpp | 154 +- gnu/llvm/clang/lib/Basic/Targets/Mips.h | 9 +- gnu/llvm/clang/lib/Basic/Targets/OSTargets.h | 173 +- gnu/llvm/clang/lib/Basic/Targets/RISCV.cpp | 312 +- gnu/llvm/clang/lib/Basic/Targets/SystemZ.h | 62 +- gnu/llvm/clang/lib/Basic/Targets/X86.cpp | 241 +- gnu/llvm/clang/lib/Basic/Targets/X86.h | 95 +- gnu/llvm/clang/lib/CodeGen/CGCall.cpp | 721 +- .../lib/CodeGen/CGOpenMPRuntimeAMDGCN.cpp | 60 - .../clang/lib/CodeGen/CGOpenMPRuntimeAMDGCN.h | 43 - .../lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 56 - .../clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h | 43 - gnu/llvm/clang/lib/CodeGen/CodeGenModule.cpp | 1638 +- gnu/llvm/clang/lib/CodeGen/TargetInfo.cpp | 2454 +- gnu/llvm/clang/lib/Driver/Driver.cpp | 2435 +- .../lib/Driver/ToolChains/Arch/RISCV.cpp | 549 +- .../clang/lib/Driver/ToolChains/Arch/X86.cpp | 79 +- .../clang/lib/Driver/ToolChains/Clang.cpp | 2550 +- gnu/llvm/clang/lib/Driver/ToolChains/Gnu.cpp | 394 +- gnu/llvm/clang/lib/Driver/ToolChains/HIP.cpp | 458 - gnu/llvm/clang/lib/Driver/ToolChains/HIP.h | 108 - .../lib/Driver/ToolChains/MSVCSetupApi.h | 514 - .../clang/lib/Driver/ToolChains/OpenBSD.cpp | 96 +- .../clang/lib/Driver/ToolChains/OpenBSD.h | 14 +- .../clang/lib/Frontend/CompilerInstance.cpp | 598 +- .../clang/lib/Frontend/CompilerInvocation.cpp | 1069 +- .../clang/lib/Frontend/InitHeaderSearch.cpp | 656 - .../DependencyDirectivesSourceMinimizer.cpp | 961 - gnu/llvm/clang/lib/Sema/SemaChecking.cpp | 3113 ++- gnu/llvm/clang/lib/Sema/SemaDeclAttr.cpp | 1506 +- gnu/llvm/clang/lib/Sema/SemaDeclCXX.cpp | 1489 +- .../clang/lib/StaticAnalyzer/Checkers/Taint.h | 106 - .../clang-offload-wrapper/CMakeLists.txt | 19 - .../ClangOffloadWrapper.cpp | 378 - .../clang/tools/clang-shlib/CMakeLists.txt | 2 +- .../unittests/AST/ASTContextParentMapTest.cpp | 123 - .../unittests/AST/ASTImporterFixtures.cpp | 238 - .../clang/unittests/AST/ASTImporterFixtures.h | 472 - .../AST/ASTImporterGenericRedeclTest.cpp | 647 - .../AST/ASTImporterODRStrategiesTest.cpp | 696 - .../unittests/AST/ASTImporterObjCTest.cpp | 89 - .../clang/unittests/AST/ASTImporterTest.cpp | 6802 ----- .../AST/ASTImporterVisibilityTest.cpp | 521 - gnu/llvm/clang/unittests/AST/ASTPrint.h | 115 - .../clang/unittests/AST/ASTTraverserTest.cpp | 1845 -- .../clang/unittests/AST/ASTTypeTraitsTest.cpp | 195 - .../clang/unittests/AST/ASTVectorTest.cpp | 92 - gnu/llvm/clang/unittests/AST/CMakeLists.txt | 49 - gnu/llvm/clang/unittests/AST/CommentLexer.cpp | 1845 -- .../clang/unittests/AST/CommentParser.cpp | 1445 - .../clang/unittests/AST/CommentTextTest.cpp | 134 - .../unittests/AST/DataCollectionTest.cpp | 172 - gnu/llvm/clang/unittests/AST/DeclMatcher.h | 78 - .../clang/unittests/AST/DeclPrinterTest.cpp | 1397 - gnu/llvm/clang/unittests/AST/DeclTest.cpp | 140 - .../unittests/AST/EvaluateAsRValueTest.cpp | 110 - .../unittests/AST/ExternalASTSourceTest.cpp | 82 - gnu/llvm/clang/unittests/AST/MatchVerifier.h | 320 - .../unittests/AST/NamedDeclPrinterTest.cpp | 267 - .../unittests/AST/RecursiveASTVisitorTest.cpp | 105 - .../clang/unittests/AST/SizelessTypesTest.cpp | 86 - .../unittests/AST/SourceLocationTest.cpp | 914 - .../clang/unittests/AST/StmtPrinterTest.cpp | 265 - .../AST/StructuralEquivalenceTest.cpp | 1784 -- .../clang/unittests/AST/TypePrinterTest.cpp | 65 - .../ASTMatchers/ASTMatchersInternalTest.cpp | 252 - .../ASTMatchers/ASTMatchersNarrowingTest.cpp | 4449 --- .../ASTMatchers/ASTMatchersNodeTest.cpp | 2325 -- .../unittests/ASTMatchers/ASTMatchersTest.h | 448 - .../ASTMatchers/ASTMatchersTraversalTest.cpp | 5749 ---- .../unittests/ASTMatchers/CMakeLists.txt | 30 - .../ASTMatchers/Dynamic/CMakeLists.txt | 22 - .../ASTMatchers/Dynamic/ParserTest.cpp | 644 - .../ASTMatchers/Dynamic/RegistryTest.cpp | 591 - .../ASTMatchers/Dynamic/VariantValueTest.cpp | 209 - .../ASTMatchers/GtestMatchersTest.cpp | 418 - .../clang/unittests/Analysis/CFGBuildResult.h | 82 - .../unittests/Analysis/CFGDominatorTree.cpp | 194 - gnu/llvm/clang/unittests/Analysis/CFGTest.cpp | 273 - .../clang/unittests/Analysis/CMakeLists.txt | 30 - .../unittests/Analysis/CloneDetectionTest.cpp | 111 - .../Analysis/ExprMutationAnalyzerTest.cpp | 1463 - .../Analysis/MacroExpansionContextTest.cpp | 424 - gnu/llvm/clang/unittests/Basic/CMakeLists.txt | 21 - .../clang/unittests/Basic/CharInfoTest.cpp | 503 - .../unittests/Basic/DarwinSDKInfoTest.cpp | 66 - .../clang/unittests/Basic/DiagnosticTest.cpp | 95 - .../clang/unittests/Basic/FileEntryTest.cpp | 207 - .../clang/unittests/Basic/FileManagerTest.cpp | 586 - .../unittests/Basic/LineOffsetMappingTest.cpp | 79 - .../clang/unittests/Basic/SanitizersTest.cpp | 49 - .../unittests/Basic/SourceManagerTest.cpp | 519 - gnu/llvm/clang/unittests/CMakeLists.txt | 47 - .../unittests/CodeGen/BufferSourceTest.cpp | 51 - .../clang/unittests/CodeGen/CMakeLists.txt | 23 - .../CodeGen/CheckTargetFeaturesTest.cpp | 39 - .../unittests/CodeGen/CodeGenExternalTest.cpp | 276 - gnu/llvm/clang/unittests/CodeGen/IRMatchers.h | 451 - .../unittests/CodeGen/TBAAMetadataTest.cpp | 1242 - .../clang/unittests/CodeGen/TestCompiler.h | 111 - .../clang/unittests/CrossTU/CMakeLists.txt | 18 - .../CrossTU/CrossTranslationUnitTest.cpp | 277 - .../unittests/DirectoryWatcher/CMakeLists.txt | 18 - .../DirectoryWatcher/DirectoryWatcherTest.cpp | 501 - .../clang/unittests/Driver/CMakeLists.txt | 20 - .../clang/unittests/Driver/DistroTest.cpp | 396 - .../unittests/Driver/ModuleCacheTest.cpp | 27 - .../clang/unittests/Driver/MultilibTest.cpp | 375 - .../unittests/Driver/SanitizerArgsTest.cpp | 141 - .../clang/unittests/Driver/ToolChainTest.cpp | 367 - .../clang/unittests/Format/CMakeLists.txt | 34 - .../clang/unittests/Format/CleanupTest.cpp | 532 - .../clang/unittests/Format/FormatTest.cpp | 22252 ---------------- .../unittests/Format/FormatTestCSharp.cpp | 1104 - .../unittests/Format/FormatTestComments.cpp | 3983 --- .../clang/unittests/Format/FormatTestJS.cpp | 2608 -- .../clang/unittests/Format/FormatTestJava.cpp | 588 - .../clang/unittests/Format/FormatTestJson.cpp | 197 - .../clang/unittests/Format/FormatTestObjC.cpp | 1531 -- .../unittests/Format/FormatTestProto.cpp | 671 - .../unittests/Format/FormatTestRawStrings.cpp | 997 - .../unittests/Format/FormatTestSelective.cpp | 608 - .../unittests/Format/FormatTestTableGen.cpp | 59 - .../unittests/Format/FormatTestTextProto.cpp | 744 - .../clang/unittests/Format/FormatTestUtils.h | 67 - .../unittests/Format/MacroExpanderTest.cpp | 207 - .../Format/NamespaceEndCommentsFixerTest.cpp | 1190 - .../unittests/Format/SortImportsTestJS.cpp | 447 - .../unittests/Format/SortImportsTestJava.cpp | 353 - .../unittests/Format/SortIncludesTest.cpp | 1050 - gnu/llvm/clang/unittests/Format/TestLexer.h | 123 - .../unittests/Format/TokenAnnotatorTest.cpp | 72 - .../Format/UsingDeclarationsSorterTest.cpp | 374 - .../clang/unittests/Frontend/ASTUnitTest.cpp | 177 - .../clang/unittests/Frontend/CMakeLists.txt | 27 - .../unittests/Frontend/CodeGenActionTest.cpp | 62 - .../Frontend/CompilerInstanceTest.cpp | 95 - .../Frontend/CompilerInvocationTest.cpp | 998 - .../unittests/Frontend/FixedPointString.cpp | 107 - .../unittests/Frontend/FrontendActionTest.cpp | 295 - .../unittests/Frontend/OutputStreamTest.cpp | 112 - .../unittests/Frontend/PCHPreambleTest.cpp | 265 - .../Frontend/ParsedSourceLocationTest.cpp | 36 - .../unittests/Frontend/TextDiagnosticTest.cpp | 100 - gnu/llvm/clang/unittests/Index/CMakeLists.txt | 19 - gnu/llvm/clang/unittests/Index/IndexTests.cpp | 382 - .../unittests/Interpreter/CMakeLists.txt | 14 - .../Interpreter/IncrementalProcessingTest.cpp | 80 - .../unittests/Interpreter/InterpreterTest.cpp | 128 - .../unittests/Introspection/CMakeLists.txt | 22 - .../Introspection/IntrospectionTest.cpp | 1606 -- gnu/llvm/clang/unittests/Lex/CMakeLists.txt | 21 - ...ependencyDirectivesSourceMinimizerTest.cpp | 820 - .../clang/unittests/Lex/HeaderMapTest.cpp | 187 - .../clang/unittests/Lex/HeaderMapTestUtils.h | 100 - .../clang/unittests/Lex/HeaderSearchTest.cpp | 183 - gnu/llvm/clang/unittests/Lex/LexerTest.cpp | 635 - .../clang/unittests/Lex/PPCallbacksTest.cpp | 555 - .../Lex/PPConditionalDirectiveRecordTest.cpp | 134 - .../clang/unittests/Rename/CMakeLists.txt | 29 - .../clang/unittests/Rename/ClangRenameTest.h | 116 - .../unittests/Rename/RenameAliasTest.cpp | 303 - .../unittests/Rename/RenameClassTest.cpp | 820 - .../clang/unittests/Rename/RenameEnumTest.cpp | 189 - .../unittests/Rename/RenameFunctionTest.cpp | 573 - .../unittests/Rename/RenameMemberTest.cpp | 228 - .../clang/unittests/Rewrite/CMakeLists.txt | 15 - .../unittests/Rewrite/RewriteBufferTest.cpp | 113 - .../clang/unittests/Rewrite/RewriterTest.cpp | 80 - gnu/llvm/clang/unittests/Sema/CMakeLists.txt | 28 - .../clang/unittests/Sema/CodeCompleteTest.cpp | 496 - .../unittests/Sema/ExternalSemaSourceTest.cpp | 317 - .../Sema/GslOwnerPointerInference.cpp | 55 - .../unittests/Serialization/CMakeLists.txt | 20 - .../Serialization/InMemoryModuleCacheTest.cpp | 119 - .../Serialization/ModuleCacheTest.cpp | 179 - .../StaticAnalyzer/AnalyzerOptionsTest.cpp | 97 - .../BugReportInterestingnessTest.cpp | 162 - .../unittests/StaticAnalyzer/CMakeLists.txt | 33 - .../StaticAnalyzer/CallDescriptionTest.cpp | 162 - .../StaticAnalyzer/CallEventTest.cpp | 89 - .../StaticAnalyzer/CheckerRegistration.h | 110 - .../FalsePositiveRefutationBRVisitorTest.cpp | 223 - .../StaticAnalyzer/ParamRegionTest.cpp | 124 - .../unittests/StaticAnalyzer/RangeSetTest.cpp | 349 - .../RegisterCustomCheckersTest.cpp | 461 - .../unittests/StaticAnalyzer/Reusables.h | 155 - .../unittests/StaticAnalyzer/SValTest.cpp | 366 - .../unittests/StaticAnalyzer/StoreTest.cpp | 155 - .../StaticAnalyzer/SymbolReaperTest.cpp | 71 - .../TestReturnValueUnderConstruction.cpp | 121 - .../unittests/Tooling/ASTSelectionTest.cpp | 1084 - .../clang/unittests/Tooling/CMakeLists.txt | 91 - .../clang/unittests/Tooling/CastExprTest.cpp | 57 - .../unittests/Tooling/CommentHandlerTest.cpp | 223 - .../Tooling/CompilationDatabaseTest.cpp | 977 - .../Tooling/DependencyScannerTest.cpp | 238 - .../unittests/Tooling/DiagnosticsYamlTest.cpp | 220 - .../clang/unittests/Tooling/ExecutionTest.cpp | 297 - .../clang/unittests/Tooling/FixItTest.cpp | 231 - .../unittests/Tooling/HeaderIncludesTest.cpp | 555 - ...exicallyOrderedRecursiveASTVisitorTest.cpp | 226 - .../clang/unittests/Tooling/LookupTest.cpp | 251 - .../unittests/Tooling/QualTypeNamesTest.cpp | 260 - .../unittests/Tooling/RangeSelectorTest.cpp | 778 - .../RecursiveASTVisitorTestDeclVisitor.cpp | 139 - ...ecursiveASTVisitorTestPostOrderVisitor.cpp | 115 - .../RecursiveASTVisitorTestTypeLocVisitor.cpp | 91 - .../Tooling/RecursiveASTVisitorTests/Attr.cpp | 51 - .../CXXBoolLiteralExpr.cpp | 36 - .../CXXMemberCall.cpp | 97 - .../CXXMethodDecl.cpp | 76 - .../CXXOperatorCallExprTraverser.cpp | 37 - .../CallbacksBinaryOperator.cpp | 210 - .../CallbacksCallExpr.cpp | 248 - .../CallbacksCommon.h | 101 - .../CallbacksCompoundAssignOperator.cpp | 211 - .../CallbacksLeaf.cpp | 284 - .../CallbacksUnaryOperator.cpp | 200 - .../RecursiveASTVisitorTests/Class.cpp | 40 - .../RecursiveASTVisitorTests/Concept.cpp | 45 - .../ConstructExpr.cpp | 75 - .../RecursiveASTVisitorTests/DeclRefExpr.cpp | 124 - .../RecursiveASTVisitorTests/ImplicitCtor.cpp | 42 - .../ImplicitCtorInitializer.cpp | 57 - .../InitListExprPostOrder.cpp | 35 - .../InitListExprPostOrderNoQueue.cpp | 39 - .../InitListExprPreOrder.cpp | 52 - .../InitListExprPreOrderNoQueue.cpp | 37 - .../IntegerLiteral.cpp | 32 - .../LambdaDefaultCapture.cpp | 34 - .../RecursiveASTVisitorTests/LambdaExpr.cpp | 99 - .../LambdaTemplateParams.cpp | 53 - .../MemberPointerTypeLoc.cpp | 58 - .../NestedNameSpecifiers.cpp | 73 - .../RecursiveASTVisitorTests/ParenExpr.cpp | 29 - .../TemplateArgumentLocTraverser.cpp | 39 - .../TraversalScope.cpp | 57 - .../Tooling/RefactoringActionRulesTest.cpp | 247 - .../Tooling/RefactoringCallbacksTest.cpp | 151 - .../unittests/Tooling/RefactoringTest.cpp | 1734 -- .../clang/unittests/Tooling/ReplacementTest.h | 55 - .../Tooling/ReplacementsYamlTest.cpp | 122 - .../clang/unittests/Tooling/RewriterTest.cpp | 53 - .../unittests/Tooling/RewriterTestContext.h | 144 - .../Tooling/SourceCodeBuildersTest.cpp | 248 - .../unittests/Tooling/SourceCodeTest.cpp | 691 - .../clang/unittests/Tooling/StencilTest.cpp | 710 - .../Tooling/Syntax/BuildTreeTest.cpp | 5840 ---- .../unittests/Tooling/Syntax/CMakeLists.txt | 30 - .../Tooling/Syntax/MutationsTest.cpp | 74 - .../Tooling/Syntax/SynthesisTest.cpp | 269 - .../unittests/Tooling/Syntax/TokensTest.cpp | 1050 - .../unittests/Tooling/Syntax/TreeTest.cpp | 406 - .../unittests/Tooling/Syntax/TreeTestBase.cpp | 178 - .../unittests/Tooling/Syntax/TreeTestBase.h | 68 - .../clang/unittests/Tooling/TestVisitor.h | 252 - .../clang/unittests/Tooling/ToolingTest.cpp | 913 - .../unittests/Tooling/TransformerTest.cpp | 1641 -- .../clang/unittests/libclang/CMakeLists.txt | 10 - .../libclang/CrashTests/CMakeLists.txt | 8 - .../libclang/CrashTests/LibclangCrashTest.cpp | 37 - .../clang/unittests/libclang/LibclangTest.cpp | 932 - gnu/llvm/clang/unittests/libclang/TestUtils.h | 94 - 302 files changed, 17230 insertions(+), 140183 deletions(-) delete mode 100644 gnu/llvm/clang/CODE_OWNERS.TXT delete mode 100644 gnu/llvm/clang/INPUTS/Cocoa_h.m delete mode 100644 gnu/llvm/clang/INPUTS/all-std-headers.cpp delete mode 100644 gnu/llvm/clang/INPUTS/c99-intconst-1.c delete mode 100644 gnu/llvm/clang/INPUTS/carbon_h.c delete mode 100644 gnu/llvm/clang/INPUTS/cfg-big-switch.c delete mode 100644 gnu/llvm/clang/INPUTS/cfg-long-chain1.c delete mode 100644 gnu/llvm/clang/INPUTS/cfg-long-chain2.c delete mode 100644 gnu/llvm/clang/INPUTS/cfg-long-chain3.c delete mode 100644 gnu/llvm/clang/INPUTS/cfg-nested-switches.c delete mode 100644 gnu/llvm/clang/INPUTS/cfg-nested-var-scopes.cpp delete mode 100644 gnu/llvm/clang/INPUTS/iostream.cc delete mode 100644 gnu/llvm/clang/INPUTS/macro_pounder_fn.c delete mode 100644 gnu/llvm/clang/INPUTS/macro_pounder_obj.c delete mode 100644 gnu/llvm/clang/INPUTS/stpcpy-test.c delete mode 100644 gnu/llvm/clang/docs/Block-ABI-Apple.txt delete mode 100644 gnu/llvm/clang/docs/ClangCommandLineReference.rst delete mode 100644 gnu/llvm/clang/docs/Makefile.sphinx delete mode 100644 gnu/llvm/clang/examples/clang-interpreter/CMakeLists.txt delete mode 100644 gnu/llvm/clang/examples/clang-interpreter/README.txt delete mode 100644 gnu/llvm/clang/examples/clang-interpreter/Test.cxx delete mode 100644 gnu/llvm/clang/examples/clang-interpreter/main.cpp delete mode 100644 gnu/llvm/clang/include/clang/Analysis/AnalysisDiagnostic.h delete mode 100644 gnu/llvm/clang/include/clang/Basic/X86Target.def delete mode 100644 gnu/llvm/clang/include/clang/Lex/DependencyDirectivesSourceMinimizer.h delete mode 100644 gnu/llvm/clang/include/clang/Lex/PreprocessorExcludedConditionalDirectiveSkipMapping.h delete mode 100644 gnu/llvm/clang/include/clang/StaticAnalyzer/Checkers/LocalCheckers.h delete mode 100644 gnu/llvm/clang/lib/CodeGen/CGOpenMPRuntimeAMDGCN.cpp delete mode 100644 gnu/llvm/clang/lib/CodeGen/CGOpenMPRuntimeAMDGCN.h delete mode 100644 gnu/llvm/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp delete mode 100644 gnu/llvm/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h delete mode 100644 gnu/llvm/clang/lib/Driver/ToolChains/HIP.cpp delete mode 100644 gnu/llvm/clang/lib/Driver/ToolChains/HIP.h delete mode 100644 gnu/llvm/clang/lib/Driver/ToolChains/MSVCSetupApi.h delete mode 100644 gnu/llvm/clang/lib/Frontend/InitHeaderSearch.cpp delete mode 100644 gnu/llvm/clang/lib/Lex/DependencyDirectivesSourceMinimizer.cpp delete mode 100644 gnu/llvm/clang/lib/StaticAnalyzer/Checkers/Taint.h delete mode 100644 gnu/llvm/clang/tools/clang-offload-wrapper/CMakeLists.txt delete mode 100644 gnu/llvm/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTContextParentMapTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTImporterFixtures.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTImporterFixtures.h delete mode 100644 gnu/llvm/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTImporterODRStrategiesTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTImporterObjCTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTImporterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTImporterVisibilityTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTPrint.h delete mode 100644 gnu/llvm/clang/unittests/AST/ASTTraverserTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTTypeTraitsTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ASTVectorTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/AST/CommentLexer.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/CommentParser.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/CommentTextTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/DataCollectionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/DeclMatcher.h delete mode 100644 gnu/llvm/clang/unittests/AST/DeclPrinterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/DeclTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/EvaluateAsRValueTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/ExternalASTSourceTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/MatchVerifier.h delete mode 100644 gnu/llvm/clang/unittests/AST/NamedDeclPrinterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/RecursiveASTVisitorTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/SizelessTypesTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/SourceLocationTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/StmtPrinterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/StructuralEquivalenceTest.cpp delete mode 100644 gnu/llvm/clang/unittests/AST/TypePrinterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/ASTMatchersTest.h delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/Dynamic/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp delete mode 100644 gnu/llvm/clang/unittests/ASTMatchers/GtestMatchersTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Analysis/CFGBuildResult.h delete mode 100644 gnu/llvm/clang/unittests/Analysis/CFGDominatorTree.cpp delete mode 100644 gnu/llvm/clang/unittests/Analysis/CFGTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Analysis/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Analysis/CloneDetectionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Analysis/MacroExpansionContextTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Basic/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Basic/CharInfoTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Basic/DarwinSDKInfoTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Basic/DiagnosticTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Basic/FileEntryTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Basic/FileManagerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Basic/LineOffsetMappingTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Basic/SanitizersTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Basic/SourceManagerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/CodeGen/BufferSourceTest.cpp delete mode 100644 gnu/llvm/clang/unittests/CodeGen/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/CodeGen/CheckTargetFeaturesTest.cpp delete mode 100644 gnu/llvm/clang/unittests/CodeGen/CodeGenExternalTest.cpp delete mode 100644 gnu/llvm/clang/unittests/CodeGen/IRMatchers.h delete mode 100644 gnu/llvm/clang/unittests/CodeGen/TBAAMetadataTest.cpp delete mode 100644 gnu/llvm/clang/unittests/CodeGen/TestCompiler.h delete mode 100644 gnu/llvm/clang/unittests/CrossTU/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp delete mode 100644 gnu/llvm/clang/unittests/DirectoryWatcher/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Driver/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Driver/DistroTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Driver/ModuleCacheTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Driver/MultilibTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Driver/SanitizerArgsTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Driver/ToolChainTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Format/CleanupTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestCSharp.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestComments.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestJS.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestJava.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestJson.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestObjC.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestProto.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestRawStrings.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestSelective.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestTableGen.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestTextProto.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/FormatTestUtils.h delete mode 100644 gnu/llvm/clang/unittests/Format/MacroExpanderTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/SortImportsTestJS.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/SortImportsTestJava.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/SortIncludesTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/TestLexer.h delete mode 100644 gnu/llvm/clang/unittests/Format/TokenAnnotatorTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Format/UsingDeclarationsSorterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/ASTUnitTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Frontend/CodeGenActionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/CompilerInstanceTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/CompilerInvocationTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/FixedPointString.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/FrontendActionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/OutputStreamTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/PCHPreambleTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/ParsedSourceLocationTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Frontend/TextDiagnosticTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Index/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Index/IndexTests.cpp delete mode 100644 gnu/llvm/clang/unittests/Interpreter/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Interpreter/IncrementalProcessingTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Interpreter/InterpreterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Introspection/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Introspection/IntrospectionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Lex/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Lex/DependencyDirectivesSourceMinimizerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Lex/HeaderMapTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Lex/HeaderMapTestUtils.h delete mode 100644 gnu/llvm/clang/unittests/Lex/HeaderSearchTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Lex/LexerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Lex/PPCallbacksTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Rename/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Rename/ClangRenameTest.h delete mode 100644 gnu/llvm/clang/unittests/Rename/RenameAliasTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Rename/RenameClassTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Rename/RenameEnumTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Rename/RenameFunctionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Rename/RenameMemberTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Rewrite/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Rewrite/RewriteBufferTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Rewrite/RewriterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Sema/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Sema/CodeCompleteTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Sema/ExternalSemaSourceTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Sema/GslOwnerPointerInference.cpp delete mode 100644 gnu/llvm/clang/unittests/Serialization/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Serialization/InMemoryModuleCacheTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Serialization/ModuleCacheTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/BugReportInterestingnessTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/CallDescriptionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/CallEventTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/CheckerRegistration.h delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/FalsePositiveRefutationBRVisitorTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/ParamRegionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/RangeSetTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/Reusables.h delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/SValTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/StoreTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/SymbolReaperTest.cpp delete mode 100644 gnu/llvm/clang/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/ASTSelectionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Tooling/CastExprTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/CommentHandlerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/CompilationDatabaseTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/DependencyScannerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/DiagnosticsYamlTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/ExecutionTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/FixItTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/HeaderIncludesTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/LookupTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/QualTypeNamesTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RangeSelectorTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTestDeclVisitor.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTestPostOrderVisitor.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTestTypeLocVisitor.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CXXMemberCall.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CXXMethodDecl.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksCallExpr.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksCommon.h delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksLeaf.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/Class.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/Concept.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/ConstructExpr.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/DeclRefExpr.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtor.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPostOrder.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPreOrder.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/IntegerLiteral.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaDefaultCapture.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaTemplateParams.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/ParenExpr.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RecursiveASTVisitorTests/TraversalScope.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RefactoringActionRulesTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RefactoringCallbacksTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RefactoringTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/ReplacementTest.h delete mode 100644 gnu/llvm/clang/unittests/Tooling/ReplacementsYamlTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RewriterTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/RewriterTestContext.h delete mode 100644 gnu/llvm/clang/unittests/Tooling/SourceCodeBuildersTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/SourceCodeTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/StencilTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/Syntax/BuildTreeTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/Syntax/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/Tooling/Syntax/MutationsTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/Syntax/SynthesisTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/Syntax/TokensTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/Syntax/TreeTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/Syntax/TreeTestBase.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/Syntax/TreeTestBase.h delete mode 100644 gnu/llvm/clang/unittests/Tooling/TestVisitor.h delete mode 100644 gnu/llvm/clang/unittests/Tooling/ToolingTest.cpp delete mode 100644 gnu/llvm/clang/unittests/Tooling/TransformerTest.cpp delete mode 100644 gnu/llvm/clang/unittests/libclang/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/libclang/CrashTests/CMakeLists.txt delete mode 100644 gnu/llvm/clang/unittests/libclang/CrashTests/LibclangCrashTest.cpp delete mode 100644 gnu/llvm/clang/unittests/libclang/LibclangTest.cpp delete mode 100644 gnu/llvm/clang/unittests/libclang/TestUtils.h diff --git a/gnu/llvm/clang/CODE_OWNERS.TXT b/gnu/llvm/clang/CODE_OWNERS.TXT deleted file mode 100644 index faf9575a289..00000000000 --- a/gnu/llvm/clang/CODE_OWNERS.TXT +++ /dev/null @@ -1,62 +0,0 @@ -This file is a list of the people responsible for ensuring that patches for a -particular part of Clang are reviewed, either by themself or by someone else. -They are also the gatekeepers for their part of Clang, with the final word on -what goes in or not. - -The list is sorted by surname and formatted to allow easy grepping and -beautification by scripts. The fields are: name (N), email (E), web-address -(W), PGP key ID and fingerprint (P), description (D), and snail-mail address -(S). - -N: Aaron Ballman -E: aaron@aaronballman.com -D: Clang attributes - -N: Alexey Bataev -E: a.bataev@hotmail.com -D: OpenMP support - -N: Chandler Carruth -E: chandlerc@gmail.com -E: chandlerc@google.com -D: CMake, library layering - -N: Eric Christopher -E: echristo@gmail.com -D: Debug Information, inline assembly - -N: Devin Coughlin -E: dcoughlin@apple.com -D: Clang Static Analyzer - -N: Doug Gregor -E: dgregor@apple.com -D: Emeritus owner - -N: Reid Kleckner -E: rnk@google.com -D: Microsoft C++ ABI compatibility and general Windows support - -N: Manuel Klimek -E: klimek@google.com -D: AST matchers, LibTooling - -N: Anton Korobeynikov -E: anton@korobeynikov.info -D: Exception handling, Windows codegen, ARM EABI - -N: John McCall -E: rjmccall@apple.com -D: Clang LLVM IR generation - -N: Brad Smith -E: brad@comstyle.com -D: OpenBSD driver - -N: Richard Smith -E: richard@metafoo.co.uk -D: All parts of Clang not covered by someone else - -N: Anastasia Stulova -E: anastasia.stulova@arm.com -D: OpenCL support diff --git a/gnu/llvm/clang/INPUTS/Cocoa_h.m b/gnu/llvm/clang/INPUTS/Cocoa_h.m deleted file mode 100644 index e6ba59924d6..00000000000 --- a/gnu/llvm/clang/INPUTS/Cocoa_h.m +++ /dev/null @@ -1,2 +0,0 @@ - -#import diff --git a/gnu/llvm/clang/INPUTS/all-std-headers.cpp b/gnu/llvm/clang/INPUTS/all-std-headers.cpp deleted file mode 100644 index 5b5f4eca979..00000000000 --- a/gnu/llvm/clang/INPUTS/all-std-headers.cpp +++ /dev/null @@ -1,86 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#if __has_include() -#include -#endif -#include -#include -#include -#include - -#if __cplusplus >= 201103 || defined(__GXX_EXPERIMENTAL_CXX0X__) -#include -#if __has_include() -#include -#endif -#include -#if __has_include() -#include -#endif -#include -#include -#if __has_include() -#include -#endif -#include -#include -#include -#include -#include -#if __has_include() -#include -#endif -#include -#include -#include -#include -#if __has_include() -#include -#endif -#include -#include -#endif diff --git a/gnu/llvm/clang/INPUTS/c99-intconst-1.c b/gnu/llvm/clang/INPUTS/c99-intconst-1.c deleted file mode 100644 index 629b0bcac20..00000000000 --- a/gnu/llvm/clang/INPUTS/c99-intconst-1.c +++ /dev/null @@ -1,639 +0,0 @@ -/* Test for integer constant types. */ - -/* Origin: Joseph Myers . */ -/* { dg-do compile } */ -/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */ - -#include - -/* Assertion that constant C is of type T. */ -#define ASSERT_CONST_TYPE(C, T) \ - do { \ - typedef T type; \ - typedef type **typepp; \ - typedef __typeof__((C)) ctype; \ - typedef ctype **ctypepp; \ - typepp x = 0; \ - ctypepp y = 0; \ - x = y; \ - y = x; \ - } while (0) - -/* (T *) if E is zero, (void *) otherwise. */ -#define type_if_not(T, E) __typeof__(0 ? (T *)0 : (void *)(E)) - -/* (T *) if E is nonzero, (void *) otherwise. */ -#define type_if(T, E) type_if_not(T, !(E)) - -/* Combine pointer types, all but one (void *). */ -#define type_comb2(T1, T2) __typeof__(0 ? (T1)0 : (T2)0) -#define type_comb3(T1, T2, T3) type_comb2(T1, type_comb2(T2, T3)) -#define type_comb4(T1, T2, T3, T4) \ - type_comb2(T1, type_comb2(T2, type_comb2(T3, T4))) -#define type_comb6(T1, T2, T3, T4, T5, T6) \ - type_comb2(T1, \ - type_comb2(T2, \ - type_comb2(T3, \ - type_comb2(T4, \ - type_comb2(T5, T6))))) - -/* (T1 *) if E1, otherwise (T2 *) if E2. */ -#define first_of2p(T1, E1, T2, E2) type_comb2(type_if(T1, (E1)), \ - type_if(T2, (!(E1) && (E2)))) -/* (T1 *) if E1, otherwise (T2 *) if E2, otherwise (T3 *) if E3. */ -#define first_of3p(T1, E1, T2, E2, T3, E3) \ - type_comb3(type_if(T1, (E1)), \ - type_if(T2, (!(E1) && (E2))), \ - type_if(T3, (!(E1) && !(E2) && (E3)))) -/* (T1 *) if E1, otherwise (T2 *) if E2, otherwise (T3 *) if E3, otherwise - (T4 *) if E4. */ -#define first_of4p(T1, E1, T2, E2, T3, E3, T4, E4) \ - type_comb4(type_if(T1, (E1)), \ - type_if(T2, (!(E1) && (E2))), \ - type_if(T3, (!(E1) && !(E2) && (E3))), \ - type_if(T4, (!(E1) && !(E2) && !(E3) && (E4)))) -/* (T1 *) if E1, otherwise (T2 *) if E2, otherwise (T3 *) if E3, otherwise - (T4 *) if E4, otherwise (T5 *) if E5, otherwise (T6 *) if E6. */ -#define first_of6p(T1, E1, T2, E2, T3, E3, T4, E4, T5, E5, T6, E6) \ - type_comb6(type_if(T1, (E1)), \ - type_if(T2, (!(E1) && (E2))), \ - type_if(T3, (!(E1) && !(E2) && (E3))), \ - type_if(T4, (!(E1) && !(E2) && !(E3) && (E4))), \ - type_if(T5, (!(E1) && !(E2) && !(E3) && !(E4) && (E5))), \ - type_if(T6, (!(E1) && !(E2) && !(E3) \ - && !(E4) && !(E5) && (E6)))) - -/* Likewise, but return the original type rather than a pointer type. */ -#define first_of2(T1, E1, T2, E2) \ - __typeof__(*((first_of2p(T1, (E1), T2, (E2)))0)) -#define first_of3(T1, E1, T2, E2, T3, E3) \ - __typeof__(*((first_of3p(T1, (E1), T2, (E2), T3, (E3)))0)) -#define first_of4(T1, E1, T2, E2, T3, E3, T4, E4) \ - __typeof__(*((first_of4p(T1, (E1), T2, (E2), T3, (E3), T4, (E4)))0)) -#define first_of6(T1, E1, T2, E2, T3, E3, T4, E4, T5, E5, T6, E6) \ - __typeof__(*((first_of6p(T1, (E1), T2, (E2), T3, (E3), \ - T4, (E4), T5, (E5), T6, (E6)))0)) - -/* Types of constants according to the C99 rules. */ -#define C99_UNSUF_DEC_TYPE(C) \ - first_of3(int, (C) <= INT_MAX, \ - long int, (C) <= LONG_MAX, \ - long long int, (C) <= LLONG_MAX) -#define C99_UNSUF_OCTHEX_TYPE(C) \ - first_of6(int, (C) <= INT_MAX, \ - unsigned int, (C) <= UINT_MAX, \ - long int, (C) <= LONG_MAX, \ - unsigned long int, (C) <= ULONG_MAX, \ - long long int, (C) <= LLONG_MAX, \ - unsigned long long int, (C) <= ULLONG_MAX) -#define C99_SUFu_TYPE(C) \ - first_of3(unsigned int, (C) <= UINT_MAX, \ - unsigned long int, (C) <= ULONG_MAX, \ - unsigned long long int, (C) <= ULLONG_MAX) -#define C99_SUFl_DEC_TYPE(C) \ - first_of2(long int, (C) <= LONG_MAX, \ - long long int, (C) <= LLONG_MAX) -#define C99_SUFl_OCTHEX_TYPE(C) \ - first_of4(long int, (C) <= LONG_MAX, \ - unsigned long int, (C) <= ULONG_MAX, \ - long long int, (C) <= LLONG_MAX, \ - unsigned long long int, (C) <= ULLONG_MAX) -#define C99_SUFul_TYPE(C) \ - first_of2(unsigned long int, (C) <= ULONG_MAX, \ - unsigned long long int, (C) <= ULLONG_MAX) -#define C99_SUFll_OCTHEX_TYPE(C) \ - first_of2(long long int, (C) <= LLONG_MAX, \ - unsigned long long int, (C) <= ULLONG_MAX) - -/* Checks that constants have correct type. */ -#define CHECK_UNSUF_DEC_TYPE(C) ASSERT_CONST_TYPE((C), C99_UNSUF_DEC_TYPE((C))) -#define CHECK_UNSUF_OCTHEX_TYPE(C) \ - ASSERT_CONST_TYPE((C), C99_UNSUF_OCTHEX_TYPE((C))) -#define CHECK_SUFu_TYPE(C) ASSERT_CONST_TYPE((C), C99_SUFu_TYPE((C))) -#define CHECK_SUFl_DEC_TYPE(C) ASSERT_CONST_TYPE((C), C99_SUFl_DEC_TYPE((C))) -#define CHECK_SUFl_OCTHEX_TYPE(C) \ - ASSERT_CONST_TYPE((C), C99_SUFl_OCTHEX_TYPE((C))) -#define CHECK_SUFul_TYPE(C) ASSERT_CONST_TYPE((C), C99_SUFul_TYPE((C))) -#define CHECK_SUFll_DEC_TYPE(C) ASSERT_CONST_TYPE((C), long long int) -#define CHECK_SUFll_OCTHEX_TYPE(C) \ - ASSERT_CONST_TYPE((C), C99_SUFll_OCTHEX_TYPE((C))) -#define CHECK_SUFull_TYPE(C) ASSERT_CONST_TYPE((C), unsigned long long int) - -/* Check a decimal value, with all suffixes. */ -#define CHECK_DEC_CONST(C) \ - CHECK_UNSUF_DEC_TYPE(C); \ - CHECK_SUFu_TYPE(C##u); \ - CHECK_SUFu_TYPE(C##U); \ - CHECK_SUFl_DEC_TYPE(C##l); \ - CHECK_SUFl_DEC_TYPE(C##L); \ - CHECK_SUFul_TYPE(C##ul); \ - CHECK_SUFul_TYPE(C##uL); \ - CHECK_SUFul_TYPE(C##Ul); \ - CHECK_SUFul_TYPE(C##UL); \ - CHECK_SUFll_DEC_TYPE(C##ll); \ - CHECK_SUFll_DEC_TYPE(C##LL); \ - CHECK_SUFull_TYPE(C##ull); \ - CHECK_SUFull_TYPE(C##uLL); \ - CHECK_SUFull_TYPE(C##Ull); \ - CHECK_SUFull_TYPE(C##ULL); - -/* Check an octal or hexadecimal value, with all suffixes. */ -#define CHECK_OCTHEX_CONST(C) \ - CHECK_UNSUF_OCTHEX_TYPE(C); \ - CHECK_SUFu_TYPE(C##u); \ - CHECK_SUFu_TYPE(C##U); \ - CHECK_SUFl_OCTHEX_TYPE(C##l); \ - CHECK_SUFl_OCTHEX_TYPE(C##L); \ - CHECK_SUFul_TYPE(C##ul); \ - CHECK_SUFul_TYPE(C##uL); \ - CHECK_SUFul_TYPE(C##Ul); \ - CHECK_SUFul_TYPE(C##UL); \ - CHECK_SUFll_OCTHEX_TYPE(C##ll); \ - CHECK_SUFll_OCTHEX_TYPE(C##LL); \ - CHECK_SUFull_TYPE(C##ull); \ - CHECK_SUFull_TYPE(C##uLL); \ - CHECK_SUFull_TYPE(C##Ull); \ - CHECK_SUFull_TYPE(C##ULL); - -#define CHECK_OCT_CONST(C) CHECK_OCTHEX_CONST(C) -#define CHECK_HEX_CONST(C) \ - CHECK_OCTHEX_CONST(0x##C); \ - CHECK_OCTHEX_CONST(0X##C); - -/* True iff "long long" is at least B bits. This presumes that (B-2)/3 is at - most 63. */ -#define LLONG_AT_LEAST(B) \ - (LLONG_MAX >> ((B)-2)/3 >> ((B)-2)/3 \ - >> ((B)-2 - ((B)-2)/3 - ((B)-2)/3)) - -#define LLONG_HAS_BITS(B) (LLONG_AT_LEAST((B)) && !LLONG_AT_LEAST((B) + 1)) - -void -foo (void) -{ - /* Decimal. */ - /* Check all 2^n and 2^n - 1 up to 2^71 - 1. */ - CHECK_DEC_CONST(1); - CHECK_DEC_CONST(2); - CHECK_DEC_CONST(3); - CHECK_DEC_CONST(4); - CHECK_DEC_CONST(7); - CHECK_DEC_CONST(8); - CHECK_DEC_CONST(15); - CHECK_DEC_CONST(16); - CHECK_DEC_CONST(31); - CHECK_DEC_CONST(32); - CHECK_DEC_CONST(63); - CHECK_DEC_CONST(64); - CHECK_DEC_CONST(127); - CHECK_DEC_CONST(128); - CHECK_DEC_CONST(255); - CHECK_DEC_CONST(256); - CHECK_DEC_CONST(511); - CHECK_DEC_CONST(512); - CHECK_DEC_CONST(1023); - CHECK_DEC_CONST(1024); - CHECK_DEC_CONST(2047); - CHECK_DEC_CONST(2048); - CHECK_DEC_CONST(4095); - CHECK_DEC_CONST(4096); - CHECK_DEC_CONST(8191); - CHECK_DEC_CONST(8192); - CHECK_DEC_CONST(16383); - CHECK_DEC_CONST(16384); - CHECK_DEC_CONST(32767); - CHECK_DEC_CONST(32768); - CHECK_DEC_CONST(65535); - CHECK_DEC_CONST(65536); - CHECK_DEC_CONST(131071); - CHECK_DEC_CONST(131072); - CHECK_DEC_CONST(262143); - CHECK_DEC_CONST(262144); - CHECK_DEC_CONST(524287); - CHECK_DEC_CONST(524288); - CHECK_DEC_CONST(1048575); - CHECK_DEC_CONST(1048576); - CHECK_DEC_CONST(2097151); - CHECK_DEC_CONST(2097152); - CHECK_DEC_CONST(4194303); - CHECK_DEC_CONST(4194304); - CHECK_DEC_CONST(8388607); - CHECK_DEC_CONST(8388608); - CHECK_DEC_CONST(16777215); - CHECK_DEC_CONST(16777216); - CHECK_DEC_CONST(33554431); - CHECK_DEC_CONST(33554432); - CHECK_DEC_CONST(67108863); - CHECK_DEC_CONST(67108864); - CHECK_DEC_CONST(134217727); - CHECK_DEC_CONST(134217728); - CHECK_DEC_CONST(268435455); - CHECK_DEC_CONST(268435456); - CHECK_DEC_CONST(536870911); - CHECK_DEC_CONST(536870912); - CHECK_DEC_CONST(1073741823); - CHECK_DEC_CONST(1073741824); - CHECK_DEC_CONST(2147483647); - CHECK_DEC_CONST(2147483648); - CHECK_DEC_CONST(4294967295); - CHECK_DEC_CONST(4294967296); - CHECK_DEC_CONST(8589934591); - CHECK_DEC_CONST(8589934592); - CHECK_DEC_CONST(17179869183); - CHECK_DEC_CONST(17179869184); - CHECK_DEC_CONST(34359738367); - CHECK_DEC_CONST(34359738368); - CHECK_DEC_CONST(68719476735); - CHECK_DEC_CONST(68719476736); - CHECK_DEC_CONST(137438953471); - CHECK_DEC_CONST(137438953472); - CHECK_DEC_CONST(274877906943); - CHECK_DEC_CONST(274877906944); - CHECK_DEC_CONST(549755813887); - CHECK_DEC_CONST(549755813888); - CHECK_DEC_CONST(1099511627775); - CHECK_DEC_CONST(1099511627776); - CHECK_DEC_CONST(2199023255551); - CHECK_DEC_CONST(2199023255552); - CHECK_DEC_CONST(4398046511103); - CHECK_DEC_CONST(4398046511104); - CHECK_DEC_CONST(8796093022207); - CHECK_DEC_CONST(8796093022208); - CHECK_DEC_CONST(17592186044415); - CHECK_DEC_CONST(17592186044416); - CHECK_DEC_CONST(35184372088831); - CHECK_DEC_CONST(35184372088832); - CHECK_DEC_CONST(70368744177663); - CHECK_DEC_CONST(70368744177664); - CHECK_DEC_CONST(140737488355327); - CHECK_DEC_CONST(140737488355328); - CHECK_DEC_CONST(281474976710655); - CHECK_DEC_CONST(281474976710656); - CHECK_DEC_CONST(562949953421311); - CHECK_DEC_CONST(562949953421312); - CHECK_DEC_CONST(1125899906842623); - CHECK_DEC_CONST(1125899906842624); - CHECK_DEC_CONST(2251799813685247); - CHECK_DEC_CONST(2251799813685248); - CHECK_DEC_CONST(4503599627370495); - CHECK_DEC_CONST(4503599627370496); - CHECK_DEC_CONST(9007199254740991); - CHECK_DEC_CONST(9007199254740992); - CHECK_DEC_CONST(18014398509481983); - CHECK_DEC_CONST(18014398509481984); - CHECK_DEC_CONST(36028797018963967); - CHECK_DEC_CONST(36028797018963968); - CHECK_DEC_CONST(72057594037927935); - CHECK_DEC_CONST(72057594037927936); - CHECK_DEC_CONST(144115188075855871); - CHECK_DEC_CONST(144115188075855872); - CHECK_DEC_CONST(288230376151711743); - CHECK_DEC_CONST(288230376151711744); - CHECK_DEC_CONST(576460752303423487); - CHECK_DEC_CONST(576460752303423488); - CHECK_DEC_CONST(1152921504606846975); - CHECK_DEC_CONST(1152921504606846976); - CHECK_DEC_CONST(2305843009213693951); - CHECK_DEC_CONST(2305843009213693952); - CHECK_DEC_CONST(4611686018427387903); - CHECK_DEC_CONST(4611686018427387904); - CHECK_DEC_CONST(9223372036854775807); -#if LLONG_AT_LEAST(65) - CHECK_DEC_CONST(9223372036854775808); - CHECK_DEC_CONST(18446744073709551615); -#endif -#if LLONG_AT_LEAST(66) - CHECK_DEC_CONST(18446744073709551616); - CHECK_DEC_CONST(36893488147419103231); -#endif -#if LLONG_AT_LEAST(67) - CHECK_DEC_CONST(36893488147419103232); - CHECK_DEC_CONST(73786976294838206463); -#endif -#if LLONG_AT_LEAST(68) - CHECK_DEC_CONST(73786976294838206464); - CHECK_DEC_CONST(147573952589676412927); -#endif -#if LLONG_AT_LEAST(69) - CHECK_DEC_CONST(147573952589676412928); - CHECK_DEC_CONST(295147905179352825855); -#endif -#if LLONG_AT_LEAST(70) - CHECK_DEC_CONST(295147905179352825856); - CHECK_DEC_CONST(590295810358705651711); -#endif -#if LLONG_AT_LEAST(71) - CHECK_DEC_CONST(590295810358705651712); - CHECK_DEC_CONST(1180591620717411303423); -#endif -#if LLONG_AT_LEAST(72) - CHECK_DEC_CONST(1180591620717411303424); - CHECK_DEC_CONST(2361183241434822606847); -#endif - /* Octal and hexadecimal. */ - /* Check all 2^n and 2^n - 1 up to 2^72 - 1. */ - CHECK_OCT_CONST(0); - CHECK_HEX_CONST(0); - CHECK_OCT_CONST(01); - CHECK_HEX_CONST(1); - CHECK_OCT_CONST(02); - CHECK_HEX_CONST(2); - CHECK_OCT_CONST(03); - CHECK_HEX_CONST(3); - CHECK_OCT_CONST(04); - CHECK_HEX_CONST(4); - CHECK_OCT_CONST(07); - CHECK_HEX_CONST(7); - CHECK_OCT_CONST(010); - CHECK_HEX_CONST(8); - CHECK_OCT_CONST(017); - CHECK_HEX_CONST(f); - CHECK_OCT_CONST(020); - CHECK_HEX_CONST(10); - CHECK_OCT_CONST(037); - CHECK_HEX_CONST(1f); - CHECK_OCT_CONST(040); - CHECK_HEX_CONST(20); - CHECK_OCT_CONST(077); - CHECK_HEX_CONST(3f); - CHECK_OCT_CONST(0100); - CHECK_HEX_CONST(40); - CHECK_OCT_CONST(0177); - CHECK_HEX_CONST(7f); - CHECK_OCT_CONST(0200); - CHECK_HEX_CONST(80); - CHECK_OCT_CONST(0377); - CHECK_HEX_CONST(ff); - CHECK_OCT_CONST(0400); - CHECK_HEX_CONST(100); - CHECK_OCT_CONST(0777); - CHECK_HEX_CONST(1ff); - CHECK_OCT_CONST(01000); - CHECK_HEX_CONST(200); - CHECK_OCT_CONST(01777); - CHECK_HEX_CONST(3ff); - CHECK_OCT_CONST(02000); - CHECK_HEX_CONST(400); - CHECK_OCT_CONST(03777); - CHECK_HEX_CONST(7ff); - CHECK_OCT_CONST(04000); - CHECK_HEX_CONST(800); - CHECK_OCT_CONST(07777); - CHECK_HEX_CONST(fff); - CHECK_OCT_CONST(010000); - CHECK_HEX_CONST(1000); - CHECK_OCT_CONST(017777); - CHECK_HEX_CONST(1fff); - CHECK_OCT_CONST(020000); - CHECK_HEX_CONST(2000); - CHECK_OCT_CONST(037777); - CHECK_HEX_CONST(3fff); - CHECK_OCT_CONST(040000); - CHECK_HEX_CONST(4000); - CHECK_OCT_CONST(077777); - CHECK_HEX_CONST(7fff); - CHECK_OCT_CONST(0100000); - CHECK_HEX_CONST(8000); - CHECK_OCT_CONST(0177777); - CHECK_HEX_CONST(ffff); - CHECK_OCT_CONST(0200000); - CHECK_HEX_CONST(10000); - CHECK_OCT_CONST(0377777); - CHECK_HEX_CONST(1ffff); - CHECK_OCT_CONST(0400000); - CHECK_HEX_CONST(20000); - CHECK_OCT_CONST(0777777); - CHECK_HEX_CONST(3ffff); - CHECK_OCT_CONST(01000000); - CHECK_HEX_CONST(40000); - CHECK_OCT_CONST(01777777); - CHECK_HEX_CONST(7ffff); - CHECK_OCT_CONST(02000000); - CHECK_HEX_CONST(80000); - CHECK_OCT_CONST(03777777); - CHECK_HEX_CONST(fffff); - CHECK_OCT_CONST(04000000); - CHECK_HEX_CONST(100000); - CHECK_OCT_CONST(07777777); - CHECK_HEX_CONST(1fffff); - CHECK_OCT_CONST(010000000); - CHECK_HEX_CONST(200000); - CHECK_OCT_CONST(017777777); - CHECK_HEX_CONST(3fffff); - CHECK_OCT_CONST(020000000); - CHECK_HEX_CONST(400000); - CHECK_OCT_CONST(037777777); - CHECK_HEX_CONST(7fffff); - CHECK_OCT_CONST(040000000); - CHECK_HEX_CONST(800000); - CHECK_OCT_CONST(077777777); - CHECK_HEX_CONST(ffffff); - CHECK_OCT_CONST(0100000000); - CHECK_HEX_CONST(1000000); - CHECK_OCT_CONST(0177777777); - CHECK_HEX_CONST(1ffffff); - CHECK_OCT_CONST(0200000000); - CHECK_HEX_CONST(2000000); - CHECK_OCT_CONST(0377777777); - CHECK_HEX_CONST(3ffffff); - CHECK_OCT_CONST(0400000000); - CHECK_HEX_CONST(4000000); - CHECK_OCT_CONST(0777777777); - CHECK_HEX_CONST(7ffffff); - CHECK_OCT_CONST(01000000000); - CHECK_HEX_CONST(8000000); - CHECK_OCT_CONST(01777777777); - CHECK_HEX_CONST(fffffff); - CHECK_OCT_CONST(02000000000); - CHECK_HEX_CONST(10000000); - CHECK_OCT_CONST(03777777777); - CHECK_HEX_CONST(1fffffff); - CHECK_OCT_CONST(04000000000); - CHECK_HEX_CONST(20000000); - CHECK_OCT_CONST(07777777777); - CHECK_HEX_CONST(3fffffff); - CHECK_OCT_CONST(010000000000); - CHECK_HEX_CONST(40000000); - CHECK_OCT_CONST(017777777777); - CHECK_HEX_CONST(7fffffff); - CHECK_OCT_CONST(020000000000); - CHECK_HEX_CONST(80000000); - CHECK_OCT_CONST(037777777777); - CHECK_HEX_CONST(ffffffff); - CHECK_OCT_CONST(040000000000); - CHECK_HEX_CONST(100000000); - CHECK_OCT_CONST(077777777777); - CHECK_HEX_CONST(1ffffffff); - CHECK_OCT_CONST(0100000000000); - CHECK_HEX_CONST(200000000); - CHECK_OCT_CONST(0177777777777); - CHECK_HEX_CONST(3ffffffff); - CHECK_OCT_CONST(0200000000000); - CHECK_HEX_CONST(400000000); - CHECK_OCT_CONST(0377777777777); - CHECK_HEX_CONST(7ffffffff); - CHECK_OCT_CONST(0400000000000); - CHECK_HEX_CONST(800000000); - CHECK_OCT_CONST(0777777777777); - CHECK_HEX_CONST(fffffffff); - CHECK_OCT_CONST(01000000000000); - CHECK_HEX_CONST(1000000000); - CHECK_OCT_CONST(01777777777777); - CHECK_HEX_CONST(1fffffffff); - CHECK_OCT_CONST(02000000000000); - CHECK_HEX_CONST(2000000000); - CHECK_OCT_CONST(03777777777777); - CHECK_HEX_CONST(3fffffffff); - CHECK_OCT_CONST(04000000000000); - CHECK_HEX_CONST(4000000000); - CHECK_OCT_CONST(07777777777777); - CHECK_HEX_CONST(7fffffffff); - CHECK_OCT_CONST(010000000000000); - CHECK_HEX_CONST(8000000000); - CHECK_OCT_CONST(017777777777777); - CHECK_HEX_CONST(ffffffffff); - CHECK_OCT_CONST(020000000000000); - CHECK_HEX_CONST(10000000000); - CHECK_OCT_CONST(037777777777777); - CHECK_HEX_CONST(1ffffffffff); - CHECK_OCT_CONST(040000000000000); - CHECK_HEX_CONST(20000000000); - CHECK_OCT_CONST(077777777777777); - CHECK_HEX_CONST(3ffffffffff); - CHECK_OCT_CONST(0100000000000000); - CHECK_HEX_CONST(40000000000); - CHECK_OCT_CONST(0177777777777777); - CHECK_HEX_CONST(7ffffffffff); - CHECK_OCT_CONST(0200000000000000); - CHECK_HEX_CONST(80000000000); - CHECK_OCT_CONST(0377777777777777); - CHECK_HEX_CONST(fffffffffff); - CHECK_OCT_CONST(0400000000000000); - CHECK_HEX_CONST(100000000000); - CHECK_OCT_CONST(0777777777777777); - CHECK_HEX_CONST(1fffffffffff); - CHECK_OCT_CONST(01000000000000000); - CHECK_HEX_CONST(200000000000); - CHECK_OCT_CONST(01777777777777777); - CHECK_HEX_CONST(3fffffffffff); - CHECK_OCT_CONST(02000000000000000); - CHECK_HEX_CONST(400000000000); - CHECK_OCT_CONST(03777777777777777); - CHECK_HEX_CONST(7fffffffffff); - CHECK_OCT_CONST(04000000000000000); - CHECK_HEX_CONST(800000000000); - CHECK_OCT_CONST(07777777777777777); - CHECK_HEX_CONST(ffffffffffff); - CHECK_OCT_CONST(010000000000000000); - CHECK_HEX_CONST(1000000000000); - CHECK_OCT_CONST(017777777777777777); - CHECK_HEX_CONST(1ffffffffffff); - CHECK_OCT_CONST(020000000000000000); - CHECK_HEX_CONST(2000000000000); - CHECK_OCT_CONST(037777777777777777); - CHECK_HEX_CONST(3ffffffffffff); - CHECK_OCT_CONST(040000000000000000); - CHECK_HEX_CONST(4000000000000); - CHECK_OCT_CONST(077777777777777777); - CHECK_HEX_CONST(7ffffffffffff); - CHECK_OCT_CONST(0100000000000000000); - CHECK_HEX_CONST(8000000000000); - CHECK_OCT_CONST(0177777777777777777); - CHECK_HEX_CONST(fffffffffffff); - CHECK_OCT_CONST(0200000000000000000); - CHECK_HEX_CONST(10000000000000); - CHECK_OCT_CONST(0377777777777777777); - CHECK_HEX_CONST(1fffffffffffff); - CHECK_OCT_CONST(0400000000000000000); - CHECK_HEX_CONST(20000000000000); - CHECK_OCT_CONST(0777777777777777777); - CHECK_HEX_CONST(3fffffffffffff); - CHECK_OCT_CONST(01000000000000000000); - CHECK_HEX_CONST(40000000000000); - CHECK_OCT_CONST(01777777777777777777); - CHECK_HEX_CONST(7fffffffffffff); - CHECK_OCT_CONST(02000000000000000000); - CHECK_HEX_CONST(80000000000000); - CHECK_OCT_CONST(03777777777777777777); - CHECK_HEX_CONST(ffffffffffffff); - CHECK_OCT_CONST(04000000000000000000); - CHECK_HEX_CONST(100000000000000); - CHECK_OCT_CONST(07777777777777777777); - CHECK_HEX_CONST(1ffffffffffffff); - CHECK_OCT_CONST(010000000000000000000); - CHECK_HEX_CONST(200000000000000); - CHECK_OCT_CONST(017777777777777777777); - CHECK_HEX_CONST(3ffffffffffffff); - CHECK_OCT_CONST(020000000000000000000); - CHECK_HEX_CONST(400000000000000); - CHECK_OCT_CONST(037777777777777777777); - CHECK_HEX_CONST(7ffffffffffffff); - CHECK_OCT_CONST(040000000000000000000); - CHECK_HEX_CONST(800000000000000); - CHECK_OCT_CONST(077777777777777777777); - CHECK_HEX_CONST(fffffffffffffff); - CHECK_OCT_CONST(0100000000000000000000); - CHECK_HEX_CONST(1000000000000000); - CHECK_OCT_CONST(0177777777777777777777); - CHECK_HEX_CONST(1fffffffffffffff); - CHECK_OCT_CONST(0200000000000000000000); - CHECK_HEX_CONST(2000000000000000); - CHECK_OCT_CONST(0377777777777777777777); - CHECK_HEX_CONST(3fffffffffffffff); - CHECK_OCT_CONST(0400000000000000000000); - CHECK_HEX_CONST(4000000000000000); - CHECK_OCT_CONST(0777777777777777777777); - CHECK_HEX_CONST(7fffffffffffffff); - CHECK_OCT_CONST(01000000000000000000000); - CHECK_HEX_CONST(8000000000000000); - CHECK_OCT_CONST(01777777777777777777777); - CHECK_HEX_CONST(ffffffffffffffff); -#if LLONG_AT_LEAST(65) - CHECK_OCT_CONST(02000000000000000000000); - CHECK_HEX_CONST(10000000000000000); - CHECK_OCT_CONST(03777777777777777777777); - CHECK_HEX_CONST(1ffffffffffffffff); -#endif -#if LLONG_AT_LEAST(66) - CHECK_OCT_CONST(04000000000000000000000); - CHECK_HEX_CONST(20000000000000000); - CHECK_OCT_CONST(07777777777777777777777); - CHECK_HEX_CONST(3ffffffffffffffff); -#endif -#if LLONG_AT_LEAST(67) - CHECK_OCT_CONST(010000000000000000000000); - CHECK_HEX_CONST(40000000000000000); - CHECK_OCT_CONST(017777777777777777777777); - CHECK_HEX_CONST(7ffffffffffffffff); -#endif -#if LLONG_AT_LEAST(68) - CHECK_OCT_CONST(020000000000000000000000); - CHECK_HEX_CONST(80000000000000000); - CHECK_OCT_CONST(037777777777777777777777); - CHECK_HEX_CONST(fffffffffffffffff); -#endif -#if LLONG_AT_LEAST(69) - CHECK_OCT_CONST(040000000000000000000000); - CHECK_HEX_CONST(100000000000000000); - CHECK_OCT_CONST(077777777777777777777777); - CHECK_HEX_CONST(1fffffffffffffffff); -#endif -#if LLONG_AT_LEAST(70) - CHECK_OCT_CONST(0100000000000000000000000); - CHECK_HEX_CONST(200000000000000000); - CHECK_OCT_CONST(0177777777777777777777777); - CHECK_HEX_CONST(3fffffffffffffffff); -#endif -#if LLONG_AT_LEAST(71) - CHECK_OCT_CONST(0200000000000000000000000); - CHECK_HEX_CONST(400000000000000000); - CHECK_OCT_CONST(0377777777777777777777777); - CHECK_HEX_CONST(7fffffffffffffffff); -#endif -#if LLONG_AT_LEAST(72) - CHECK_OCT_CONST(0400000000000000000000000); - CHECK_HEX_CONST(800000000000000000); - CHECK_OCT_CONST(0777777777777777777777777); - CHECK_HEX_CONST(ffffffffffffffffff); -#endif -} diff --git a/gnu/llvm/clang/INPUTS/carbon_h.c b/gnu/llvm/clang/INPUTS/carbon_h.c deleted file mode 100644 index 599f123a36c..00000000000 --- a/gnu/llvm/clang/INPUTS/carbon_h.c +++ /dev/null @@ -1,4 +0,0 @@ - -#include - -//#import diff --git a/gnu/llvm/clang/INPUTS/cfg-big-switch.c b/gnu/llvm/clang/INPUTS/cfg-big-switch.c deleted file mode 100644 index a48b51a2e30..00000000000 --- a/gnu/llvm/clang/INPUTS/cfg-big-switch.c +++ /dev/null @@ -1,27 +0,0 @@ -#define EXPAND_2_CASES(i, x, y) CASE(i, x, y); CASE(i + 1, x, y); -#define EXPAND_4_CASES(i, x, y) EXPAND_2_CASES(i, x, y) EXPAND_2_CASES(i + 2, x, y) -#define EXPAND_8_CASES(i, x, y) EXPAND_4_CASES(i, x, y) EXPAND_4_CASES(i + 4, x, y) -#define EXPAND_16_CASES(i, x, y) EXPAND_8_CASES(i, x, y) EXPAND_8_CASES(i + 8, x, y) -#define EXPAND_32_CASES(i, x, y) EXPAND_16_CASES(i, x, y) EXPAND_16_CASES(i + 16, x, y) -#define EXPAND_64_CASES(i, x, y) EXPAND_32_CASES(i, x, y) EXPAND_32_CASES(i + 32, x, y) -#define EXPAND_128_CASES(i, x, y) EXPAND_64_CASES(i, x, y) EXPAND_64_CASES(i + 64, x, y) -#define EXPAND_256_CASES(i, x, y) EXPAND_128_CASES(i, x, y) EXPAND_128_CASES(i + 128, x, y) -#define EXPAND_512_CASES(i, x, y) EXPAND_256_CASES(i, x, y) EXPAND_256_CASES(i + 256, x, y) -#define EXPAND_1024_CASES(i, x, y) EXPAND_512_CASES(i, x, y) EXPAND_512_CASES(i + 512, x, y) -#define EXPAND_2048_CASES(i, x, y) EXPAND_1024_CASES(i, x, y) EXPAND_1024_CASES(i + 1024, x, y) -#define EXPAND_4096_CASES(i, x, y) EXPAND_2048_CASES(i, x, y) EXPAND_2048_CASES(i + 2048, x, y) - -// This has a *monstrous* single fan-out in the CFG, across 8000 blocks inside -// the while loop. -unsigned cfg_big_switch(int x) { - unsigned y = 0; - while (x > 0) { - switch(x) { -#define CASE(i, x, y) \ - case i: { int case_var = 3*x + i; y += case_var - 1; break; } -EXPAND_4096_CASES(0, x, y); - } - --x; - } - return y; -} diff --git a/gnu/llvm/clang/INPUTS/cfg-long-chain1.c b/gnu/llvm/clang/INPUTS/cfg-long-chain1.c deleted file mode 100644 index 2f55b2ada20..00000000000 --- a/gnu/llvm/clang/INPUTS/cfg-long-chain1.c +++ /dev/null @@ -1,20 +0,0 @@ -#define EXPAND_2_BRANCHES(i, x, y) BRANCH(i, x, y); BRANCH(i + 1, x, y); -#define EXPAND_4_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i + 2, x, y) -#define EXPAND_8_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i + 4, x, y) -#define EXPAND_16_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i + 8, x, y) -#define EXPAND_32_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i + 16, x, y) -#define EXPAND_64_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i + 32, x, y) -#define EXPAND_128_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i + 64, x, y) -#define EXPAND_256_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i + 128, x, y) -#define EXPAND_512_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i + 256, x, y) -#define EXPAND_1024_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i + 512, x, y) -#define EXPAND_2048_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i + 1024, x, y) -#define EXPAND_4096_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i + 2048, x, y) - -unsigned cfg_long_chain_single_exit(unsigned x) { - unsigned y = 0; -#define BRANCH(i, x, y) if ((x % 13171) < i) { int var = x / 13171; y ^= var; } - EXPAND_4096_BRANCHES(1, x, y); -#undef BRANCH - return y; -} diff --git a/gnu/llvm/clang/INPUTS/cfg-long-chain2.c b/gnu/llvm/clang/INPUTS/cfg-long-chain2.c deleted file mode 100644 index 150a084e57b..00000000000 --- a/gnu/llvm/clang/INPUTS/cfg-long-chain2.c +++ /dev/null @@ -1,20 +0,0 @@ -#define EXPAND_2_BRANCHES(i, x, y) BRANCH(i, x, y); BRANCH(i + 1, x, y); -#define EXPAND_4_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i + 2, x, y) -#define EXPAND_8_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i + 4, x, y) -#define EXPAND_16_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i + 8, x, y) -#define EXPAND_32_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i + 16, x, y) -#define EXPAND_64_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i + 32, x, y) -#define EXPAND_128_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i + 64, x, y) -#define EXPAND_256_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i + 128, x, y) -#define EXPAND_512_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i + 256, x, y) -#define EXPAND_1024_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i + 512, x, y) -#define EXPAND_2048_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i + 1024, x, y) -#define EXPAND_4096_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i + 2048, x, y) - -unsigned cfg_long_chain_multiple_exit(unsigned x) { - unsigned y = 0; -#define BRANCH(i, x, y) if (((x % 13171) + ++y) < i) { int var = x / 13171 + y; return var; } - EXPAND_4096_BRANCHES(1, x, y); -#undef BRANCH - return 42; -} diff --git a/gnu/llvm/clang/INPUTS/cfg-long-chain3.c b/gnu/llvm/clang/INPUTS/cfg-long-chain3.c deleted file mode 100644 index cca4bdcf1ac..00000000000 --- a/gnu/llvm/clang/INPUTS/cfg-long-chain3.c +++ /dev/null @@ -1,21 +0,0 @@ -#define EXPAND_2_BRANCHES(i, x, y) BRANCH(i, x, y); BRANCH(i + 1, x, y); -#define EXPAND_4_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i + 2, x, y) -#define EXPAND_8_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i + 4, x, y) -#define EXPAND_16_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i + 8, x, y) -#define EXPAND_32_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i + 16, x, y) -#define EXPAND_64_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i + 32, x, y) -#define EXPAND_128_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i + 64, x, y) -#define EXPAND_256_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i + 128, x, y) -#define EXPAND_512_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i + 256, x, y) -#define EXPAND_1024_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i + 512, x, y) -#define EXPAND_2048_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i + 1024, x, y) -#define EXPAND_4096_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i + 2048, x, y) - -unsigned cfg_long_chain_many_preds(unsigned x) { - unsigned y = 0; -#define BRANCH(i, x, y) if ((x % 13171) < i) { int var = x / 13171; y ^= var; } else - EXPAND_4096_BRANCHES(1, x, y); -#undef BRANCH - int var = x / 13171; y^= var; - return y; -} diff --git a/gnu/llvm/clang/INPUTS/cfg-nested-switches.c b/gnu/llvm/clang/INPUTS/cfg-nested-switches.c deleted file mode 100644 index 3db10b443d2..00000000000 --- a/gnu/llvm/clang/INPUTS/cfg-nested-switches.c +++ /dev/null @@ -1,36 +0,0 @@ -#define EXPAND_2_INNER_CASES(i, x, y) INNER_CASE(i, x, y); INNER_CASE(i + 1, x, y); -#define EXPAND_4_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i + 2, x, y) -#define EXPAND_8_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i + 4, x, y) -#define EXPAND_16_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i + 8, x, y) -#define EXPAND_32_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i + 16, x, y) -#define EXPAND_64_INNER_CASES(i, x, y) EXPAND_32_INNER_CASES(i, x, y) EXPAND_32_INNER_CASES(i + 32, x, y) - -#define EXPAND_2_OUTER_CASES(i, x, y) OUTER_CASE(i, x, y); OUTER_CASE(i + 1, x, y); -#define EXPAND_4_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i + 2, x, y) -#define EXPAND_8_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i + 4, x, y) -#define EXPAND_16_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i + 8, x, y) -#define EXPAND_32_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i + 16, x, y) -#define EXPAND_64_OUTER_CASES(i, x, y) EXPAND_32_OUTER_CASES(i, x, y) EXPAND_32_OUTER_CASES(i + 32, x, y) - -// Rather than a single monstrous fan-out, this fans out in smaller increments, -// but to a similar size. -unsigned cfg_nested_switch(int x) { - unsigned y = 0; - while (x > 0) { - switch (x) { -#define INNER_CASE(i, x, y) \ - case i: { int case_var = 3*x + i; y += case_var - 1; break; } -#define OUTER_CASE(i, x, y) \ - case i: { \ - int case_var = y >> 8; \ - switch (case_var) { \ - EXPAND_64_INNER_CASES(0, x, y); \ - } \ - break; \ - } -EXPAND_64_OUTER_CASES(0, x, y); - } - --x; - } - return y; -} diff --git a/gnu/llvm/clang/INPUTS/cfg-nested-var-scopes.cpp b/gnu/llvm/clang/INPUTS/cfg-nested-var-scopes.cpp deleted file mode 100644 index 0944ec268f1..00000000000 --- a/gnu/llvm/clang/INPUTS/cfg-nested-var-scopes.cpp +++ /dev/null @@ -1,59 +0,0 @@ -// Hammer the CFG with large numbers of overlapping variable scopes, which -// implicit destructors triggered at each edge. - -#define EXPAND_BASIC_STRUCT(i) struct X##i { X##i(int); ~X##i(); }; -#define EXPAND_NORET_STRUCT(i) struct X##i { X##i(int); ~X##i() __attribute__((noreturn)); }; -EXPAND_BASIC_STRUCT(0000); EXPAND_NORET_STRUCT(0001); -EXPAND_BASIC_STRUCT(0010); EXPAND_BASIC_STRUCT(0011); -EXPAND_BASIC_STRUCT(0100); EXPAND_NORET_STRUCT(0101); -EXPAND_NORET_STRUCT(0110); EXPAND_BASIC_STRUCT(0111); -EXPAND_BASIC_STRUCT(1000); EXPAND_NORET_STRUCT(1001); -EXPAND_BASIC_STRUCT(1010); EXPAND_BASIC_STRUCT(1011); -EXPAND_NORET_STRUCT(1100); EXPAND_NORET_STRUCT(1101); -EXPAND_BASIC_STRUCT(1110); EXPAND_BASIC_STRUCT(1111); - -#define EXPAND_2_VARS(c, i, x) const X##i var_##c##_##i##0(x), &var_##c##_##i##1 = X##i(x) -#define EXPAND_4_VARS(c, i, x) EXPAND_2_VARS(c, i##0, x); EXPAND_2_VARS(c, i##1, x) -#define EXPAND_8_VARS(c, i, x) EXPAND_4_VARS(c, i##0, x); EXPAND_4_VARS(c, i##1, x) -#define EXPAND_16_VARS(c, i, x) EXPAND_8_VARS(c, i##0, x); EXPAND_8_VARS(c, i##1, x) -#define EXPAND_32_VARS(c, x) EXPAND_16_VARS(c, 0, x); EXPAND_16_VARS(c, 1, x) - -#define EXPAND_2_INNER_CASES(i, x, y) INNER_CASE(i, x, y); INNER_CASE(i + 1, x, y); -#define EXPAND_4_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i + 2, x, y) -#define EXPAND_8_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i + 4, x, y) -#define EXPAND_16_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i + 8, x, y) -#define EXPAND_32_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i + 16, x, y) - -#define EXPAND_2_OUTER_CASES(i, x, y) OUTER_CASE(i, x, y); OUTER_CASE(i + 1, x, y); -#define EXPAND_4_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i + 2, x, y) -#define EXPAND_8_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i + 4, x, y) -#define EXPAND_16_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i + 8, x, y) -#define EXPAND_32_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i + 16, x, y) - -unsigned cfg_nested_vars(int x) { - int y = 0; - while (x > 0) { - EXPAND_32_VARS(a, x); - switch (x) { -#define INNER_CASE(i, x, y) \ - case i: { \ - int case_var = 3*x + i; \ - EXPAND_32_VARS(c, case_var); \ - y += case_var - 1; \ - break; \ - } -#define OUTER_CASE(i, x, y) \ - case i: { \ - int case_var = y >> 8; \ - EXPAND_32_VARS(b, y); \ - switch (case_var) { \ - EXPAND_32_INNER_CASES(0, x, y); \ - } \ - break; \ - } -EXPAND_32_OUTER_CASES(0, x, y); - } - --x; - } - return y; -} diff --git a/gnu/llvm/clang/INPUTS/iostream.cc b/gnu/llvm/clang/INPUTS/iostream.cc deleted file mode 100644 index eb12fc9aaf4..00000000000 --- a/gnu/llvm/clang/INPUTS/iostream.cc +++ /dev/null @@ -1,5 +0,0 @@ -// clang -I/usr/include/c++/4.0.0 -I/usr/include/c++/4.0.0/powerpc-apple-darwin8 -I/usr/include/c++/4.0.0/backward INPUTS/iostream.cc -Eonly - -#include - -#include diff --git a/gnu/llvm/clang/INPUTS/macro_pounder_fn.c b/gnu/llvm/clang/INPUTS/macro_pounder_fn.c deleted file mode 100644 index 73f40a1d6db..00000000000 --- a/gnu/llvm/clang/INPUTS/macro_pounder_fn.c +++ /dev/null @@ -1,17 +0,0 @@ - -// This pounds on macro expansion for performance reasons. This is currently -// heavily constrained by darwin's malloc. - -// Function-like macros. -#define A0(A, B) A B -#define A1(A, B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) -#define A2(A, B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) -#define A3(A, B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) -#define A4(A, B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) -#define A5(A, B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) -#define A6(A, B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) -#define A7(A, B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) -#define A8(A, B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) - -A8(a, b) - diff --git a/gnu/llvm/clang/INPUTS/macro_pounder_obj.c b/gnu/llvm/clang/INPUTS/macro_pounder_obj.c deleted file mode 100644 index d2465f34edb..00000000000 --- a/gnu/llvm/clang/INPUTS/macro_pounder_obj.c +++ /dev/null @@ -1,16 +0,0 @@ - -// This pounds on macro expansion for performance reasons. This is currently -// heavily constrained by darwin's malloc. - -// Object-like expansions -#define A0 a b -#define A1 A0 A0 A0 A0 A0 A0 -#define A2 A1 A1 A1 A1 A1 A1 -#define A3 A2 A2 A2 A2 A2 A2 -#define A4 A3 A3 A3 A3 A3 A3 -#define A5 A4 A4 A4 A4 A4 A4 -#define A6 A5 A5 A5 A5 A5 A5 -#define A7 A6 A6 A6 A6 A6 A6 -#define A8 A7 A7 A7 A7 A7 A7 - -A8 diff --git a/gnu/llvm/clang/INPUTS/stpcpy-test.c b/gnu/llvm/clang/INPUTS/stpcpy-test.c deleted file mode 100644 index b96a8066e63..00000000000 --- a/gnu/llvm/clang/INPUTS/stpcpy-test.c +++ /dev/null @@ -1,47 +0,0 @@ -#define __extension__ - -#define __stpcpy(dest, src) (__extension__ (__builtin_constant_p (src) ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8 ? __stpcpy_small (dest, __stpcpy_args (src), strlen (src) + 1) : ((char *) __mempcpy (dest, src, strlen (src) + 1) - 1)) : __stpcpy (dest, src))) -#define stpcpy(dest, src) __stpcpy (dest, src) -#define __stpcpy_args(src) __extension__ __STRING2_SMALL_GET16 (src, 0), __extension__ __STRING2_SMALL_GET16 (src, 4), __extension__ __STRING2_SMALL_GET32 (src, 0), __extension__ __STRING2_SMALL_GET32 (src, 4) - -#define __mempcpy(dest, src, n) (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n) && __string2_1bptr_p (src) && n <= 8 ? __mempcpy_small (dest, __mempcpy_args (src), n) : __mempcpy (dest, src, n))) -#define mempcpy(dest, src, n) __mempcpy (dest, src, n) -#define __mempcpy_args(src) ((char *) (src))[0], ((char *) (src))[2], ((char *) (src))[4], ((char *) (src))[6], __extension__ __STRING2_SMALL_GET16 (src, 0), __extension__ __STRING2_SMALL_GET16 (src, 4), __extension__ __STRING2_SMALL_GET32 (src, 0), __extension__ __STRING2_SMALL_GET32 (src, 4) - -#define __STRING2_SMALL_GET16(src, idx) (((__const unsigned char *) (__const char *) (src))[idx + 1] << 8 | ((__const unsigned char *) (__const char *) (src))[idx]) - -#define __STRING2_SMALL_GET32(src, idx) (((((__const unsigned char *) (__const char *) (src))[idx + 3] << 8 | ((__const unsigned char *) (__const char *) (src))[idx + 2]) << 8 | ((__const unsigned char *) (__const char *) (src))[idx + 1]) << 8 | ((__const unsigned char *) (__const char *) (src))[idx]) - -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) -stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e) diff --git a/gnu/llvm/clang/docs/Block-ABI-Apple.txt b/gnu/llvm/clang/docs/Block-ABI-Apple.txt deleted file mode 100644 index 1b04cc9e133..00000000000 --- a/gnu/llvm/clang/docs/Block-ABI-Apple.txt +++ /dev/null @@ -1 +0,0 @@ -*NOTE* This document has moved to https://clang.llvm.org/docs/Block-ABI-Apple.html. diff --git a/gnu/llvm/clang/docs/ClangCommandLineReference.rst b/gnu/llvm/clang/docs/ClangCommandLineReference.rst deleted file mode 100644 index 74557c5bd58..00000000000 --- a/gnu/llvm/clang/docs/ClangCommandLineReference.rst +++ /dev/null @@ -1,4057 +0,0 @@ -.. - ------------------------------------------------------------------- - NOTE: This file is automatically generated by running clang-tblgen - -gen-opt-docs. Do not edit this file by hand!! - ------------------------------------------------------------------- - -===================================== -Clang command line argument reference -===================================== -.. contents:: - :local: - -Introduction -============ - -This page lists the command line arguments currently supported by the -GCC-compatible ``clang`` and ``clang++`` drivers. - - -.. program:: clang -.. option:: -B, --prefix , --prefix= - -Search $prefix/$triple-$file and $prefix$file for executables, libraries, includes, and data files used by the compiler. $prefix may or may not be a directory - -.. option:: -F - -Add directory to framework include search path - -.. option:: -ObjC - -Treat source input files as Objective-C inputs - -.. program:: clang1 -.. option:: -ObjC++ -.. program:: clang - -Treat source input files as Objective-C++ inputs - -.. option:: -Qn, -fno-ident - -Do not emit metadata containing compiler name and version - -.. option:: -Qunused-arguments - -Don't emit warning for unused driver arguments - -.. option:: -Qy, -fident - -Emit metadata containing compiler name and version - -.. option:: -Wa,,... - -Pass the comma separated arguments in to the assembler - -.. option:: -Wlarge-by-value-copy= - -.. option:: -Xarch\_ - -.. program:: clang1 -.. option:: -Xarch\_device -.. program:: clang - -Pass to the CUDA/HIP device compilation - -.. program:: clang2 -.. option:: -Xarch\_host -.. program:: clang - -Pass to the CUDA/HIP host compilation - -.. option:: -Xcuda-fatbinary - -Pass to fatbinary invocation - -.. option:: -Xcuda-ptxas - -Pass to the ptxas assembler - -.. option:: -Xopenmp-target - -Pass to the target offloading toolchain. - -.. program:: clang1 -.. option:: -Xopenmp-target= -.. program:: clang - -Pass to the target offloading toolchain identified by . - -.. option:: -Z - -.. option:: -a, --profile-blocks - -.. option:: -all\_load - -.. option:: -allowable\_client - -.. option:: --analyze - -Run the static analyzer - -.. option:: --analyzer-no-default-checks - -.. option:: --analyzer-output - -Static analyzer report output format (html\|plist\|plist-multi-file\|plist-html\|sarif\|sarif-html\|text). - -.. option:: -arch - -.. program:: clang1 -.. option:: -arch\_errors\_fatal -.. program:: clang - -.. program:: clang2 -.. option:: -arch\_only -.. program:: clang - -.. option:: -arcmt-migrate-emit-errors - -Emit ARC errors even if the migrator can fix them - -.. option:: -arcmt-migrate-report-output - -Output path for the plist report - -.. option:: --autocomplete= - -.. option:: -bind\_at\_load - -.. option:: -bundle - -.. program:: clang1 -.. option:: -bundle\_loader -.. program:: clang - -.. option:: -client\_name - -.. option:: -compatibility\_version - -.. option:: --config - -Specifies configuration file - -.. option:: --constant-cfstrings - -.. option:: --cuda-compile-host-device - -Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations. - -.. option:: --cuda-device-only - -Compile CUDA code for device only - -.. option:: --cuda-host-only - -Compile CUDA code for host only. Has no effect on non-CUDA compilations. - -.. option:: --cuda-include-ptx=, --no-cuda-include-ptx= - -Include PTX for the following GPU architecture (e.g. sm\_35) or 'all'. May be specified more than once. - -.. option:: --cuda-noopt-device-debug, --no-cuda-noopt-device-debug - -Enable device-side debug info generation. Disables ptxas optimizations. - -.. option:: -cuid= - -An ID for compilation unit, which should be the same for the same compilation unit but different for different compilation units. It is used to externalize device-side static variables for single source offloading languages CUDA and HIP so that they can be accessed by the host code of the same compilation unit. - -.. option:: -current\_version - -.. option:: -dead\_strip - -.. option:: -dependency-dot - -Filename to write DOT-formatted header dependencies to - -.. option:: -dependency-file - -Filename (or -) to write dependency output to - -.. option:: -dsym-dir - -Directory to output dSYM's (if any) to - -.. option:: -dumpmachine - -.. option:: -dumpversion - -.. option:: --dyld-prefix=, --dyld-prefix - -.. option:: -dylib\_file - -.. option:: -dylinker - -.. program:: clang1 -.. option:: -dylinker\_install\_name -.. program:: clang - -.. option:: -dynamic - -.. option:: -dynamiclib - -.. option:: -emit-ast - -Emit Clang AST files for source inputs - -.. option:: --emit-static-lib - -Enable linker job to emit a static library. - -.. option:: -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang - -Trivial automatic variable initialization to zero is only here for benchmarks, it'll eventually be removed, and I'm OK with that because I'm only using it to benchmark - -.. option:: -exported\_symbols\_list - -.. option:: -faligned-new= - -.. option:: -ffixed-r19 - -Reserve register r19 (Hexagon only) - -.. option:: -fgpu-flush-denormals-to-zero, -fcuda-flush-denormals-to-zero, -fno-gpu-flush-denormals-to-zero - -Flush denormal floating point values to zero in CUDA/HIP device mode. - -.. option:: -fheinous-gnu-extensions - -.. option:: -flat\_namespace - -.. option:: -fopenmp-targets=,... - -Specify comma-separated list of triples OpenMP offloading targets to be supported - -.. option:: -force\_cpusubtype\_ALL - -.. program:: clang1 -.. option:: -force\_flat\_namespace -.. program:: clang - -.. program:: clang2 -.. option:: -force\_load -.. program:: clang - -.. option:: -framework - -.. option:: -frtlib-add-rpath, -fno-rtlib-add-rpath - -Add -rpath with architecture-specific resource directory to the linker flags - -.. option:: -fsanitize-system-ignorelist=, -fsanitize-system-blacklist= - -Path to system ignorelist file for sanitizers - -.. option:: -fshow-skipped-includes - -#include files may be "skipped" due to include guard optimization - or #pragma once. This flag makes -H show also such includes. - -.. option:: -fsystem-module - -Build this module as a system module. Only used with -emit-module - -.. option:: -fuse-cuid= - -Method to generate ID's for compilation units for single source offloading languages CUDA and HIP: 'hash' (ID's generated by hashing file path and command line options) \| 'random' (ID's generated as random numbers) \| 'none' (disabled). Default is 'hash'. This option will be overriden by option '-cuid=\[ID\]' if it is specified. - -.. option:: --gcc-toolchain=, -gcc-toolchain - -Search for GCC installation in the specified directory on targets which commonly use GCC. The directory usually contains 'lib{,32,64}/gcc{,-cross}/$triple' and 'include'. If specified, sysroot is skipped for GCC detection. Note: executables (e.g. ld) used by the compiler are not overridden by the selected GCC installation - -.. option:: -gcodeview - -Generate CodeView debug information - -.. option:: -gcodeview-ghash, -gno-codeview-ghash - -Emit type record hashes in a .debug$H section - -.. option:: --gpu-instrument-lib= - -Instrument device library for HIP, which is a LLVM bitcode containing \_\_cyg\_profile\_func\_enter and \_\_cyg\_profile\_func\_exit - -.. option:: --gpu-max-threads-per-block= - -Default max threads per block for kernel launch bounds for HIP - -.. option:: -headerpad\_max\_install\_names - -.. option:: -help, --help - -Display available options - -.. option:: --help-hidden - -Display help for hidden options - -.. option:: --hip-link - -Link clang-offload-bundler bundles for HIP - -.. option:: --hip-version= - -HIP version in the format of major.minor.patch - -.. option:: -ibuiltininc - -Enable builtin #include directories even when -nostdinc is used before or after -ibuiltininc. Using -nobuiltininc after the option disables it - -.. option:: -image\_base - -.. option:: -index-header-map - -Make the next included directory (-I or -F) an indexer header map - -.. option:: -init - -.. option:: -install\_name - -.. option:: -interface-stub-version= - -.. option:: -keep\_private\_externs - -.. option:: -lazy\_framework - -.. program:: clang1 -.. option:: -lazy\_library -.. program:: clang - -.. option:: -mbig-endian, -EB - -.. option:: -mbranch-protection= - -Enforce targets of indirect branches and function returns - -.. option:: -menable-unsafe-fp-math - -Allow unsafe floating-point math optimizations which may decrease precision - -.. option:: -mharden-sls= - -Select straight-line speculation hardening scope - -.. option:: --migrate - -Run the migrator - -.. option:: -mios-simulator-version-min=, -miphonesimulator-version-min= - -.. option:: -mlinker-version= - -.. option:: -mlittle-endian, -EL - -.. option:: -mllvm - -Additional arguments to forward to LLVM's option processing - -.. option:: -module-dependency-dir - -Directory to dump module dependencies to - -.. option:: -mtvos-simulator-version-min=, -mappletvsimulator-version-min= - -.. option:: -multi\_module - -.. option:: -multiply\_defined - -.. program:: clang1 -.. option:: -multiply\_defined\_unused -.. program:: clang - -.. option:: -mwatchos-simulator-version-min=, -mwatchsimulator-version-min= - -.. option:: --no-cuda-version-check - -Don't error out if the detected version of the CUDA install is too low for the requested CUDA gpu architecture. - -.. option:: -no-integrated-cpp, --no-integrated-cpp - -.. option:: -no\_dead\_strip\_inits\_and\_terms - -.. option:: -nobuiltininc - -Disable builtin #include directories - -.. option:: -nodefaultlibs - -.. option:: -nofixprebinding - -.. option:: -nogpuinc, -nocudainc - -Do not add include paths for CUDA/HIP and do not include the default CUDA/HIP wrapper headers - -.. option:: -nogpulib, -nocudalib - -Do not link device library for CUDA/HIP device compilation - -.. option:: -nolibc - -.. option:: -nomultidefs - -.. option:: -nopie, -no-pie - -.. option:: -noprebind - -.. option:: -noprofilelib - -.. option:: -noseglinkedit - -.. option:: -nostdinc, --no-standard-includes - -.. program:: clang1 -.. option:: -nostdinc++ -.. program:: clang - -Disable standard #include directories for the C++ standard library - -.. option:: -nostdlib++ - -.. option:: -nostdlibinc - -.. option:: -o, --output , --output= - -Write output to - -.. option:: -objcmt-atomic-property - -Make migration to 'atomic' properties - -.. option:: -objcmt-migrate-all - -Enable migration to modern ObjC - -.. option:: -objcmt-migrate-annotation - -Enable migration to property and method annotations - -.. option:: -objcmt-migrate-designated-init - -Enable migration to infer NS\_DESIGNATED\_INITIALIZER for initializer methods - -.. option:: -objcmt-migrate-instancetype - -Enable migration to infer instancetype for method result type - -.. option:: -objcmt-migrate-literals - -Enable migration to modern ObjC literals - -.. option:: -objcmt-migrate-ns-macros - -Enable migration to NS\_ENUM/NS\_OPTIONS macros - -.. option:: -objcmt-migrate-property - -Enable migration to modern ObjC property - -.. option:: -objcmt-migrate-property-dot-syntax - -Enable migration of setter/getter messages to property-dot syntax - -.. option:: -objcmt-migrate-protocol-conformance - -Enable migration to add protocol conformance on classes - -.. option:: -objcmt-migrate-readonly-property - -Enable migration to modern ObjC readonly property - -.. option:: -objcmt-migrate-readwrite-property - -Enable migration to modern ObjC readwrite property - -.. option:: -objcmt-migrate-subscripting - -Enable migration to modern ObjC subscripting - -.. option:: -objcmt-ns-nonatomic-iosonly - -Enable migration to use NS\_NONATOMIC\_IOSONLY macro for setting property's 'atomic' attribute - -.. option:: -objcmt-returns-innerpointer-property - -Enable migration to annotate property with NS\_RETURNS\_INNER\_POINTER - -.. option:: -objcmt-whitelist-dir-path=, -objcmt-white-list-dir-path= - -Only modify files with a filename contained in the provided directory path - -.. option:: -object - -.. option:: --offload-arch=, --cuda-gpu-arch=, --no-offload-arch= - -CUDA offloading device architecture (e.g. sm\_35), or HIP offloading target ID in the form of a device architecture followed by target ID features delimited by a colon. Each target ID feature is a pre-defined string followed by a plus or minus sign (e.g. gfx908:xnack+:sramecc-). May be specified more than once. - -.. option:: -p, --profile - -.. option:: -pagezero\_size - -.. option:: -pg - -Enable mcount instrumentation - -.. option:: -pipe, --pipe - -Use pipes between commands, when possible - -.. option:: -prebind - -.. program:: clang1 -.. option:: -prebind\_all\_twolevel\_modules -.. program:: clang - -.. option:: -preload - -.. option:: --print-diagnostic-categories - -.. option:: -print-effective-triple, --print-effective-triple - -Print the effective target triple - -.. option:: -print-file-name=, --print-file-name=, --print-file-name - -Print the full library path of - -.. option:: -print-ivar-layout - -Enable Objective-C Ivar layout bitmap print trace - -.. option:: -print-libgcc-file-name, --print-libgcc-file-name - -Print the library path for the currently used compiler runtime library ("libgcc.a" or "libclang\_rt.builtins.\*.a") - -.. option:: -print-multi-directory, --print-multi-directory - -.. option:: -print-multi-lib, --print-multi-lib - -.. option:: -print-multiarch, --print-multiarch - -Print the multiarch target triple - -.. option:: -print-prog-name=, --print-prog-name=, --print-prog-name - -Print the full program path of - -.. option:: -print-resource-dir, --print-resource-dir - -Print the resource directory pathname - -.. option:: -print-rocm-search-dirs, --print-rocm-search-dirs - -Print the paths used for finding ROCm installation - -.. option:: -print-runtime-dir, --print-runtime-dir - -Print the directory pathname containing clangs runtime libraries - -.. option:: -print-search-dirs, --print-search-dirs - -Print the paths used for finding libraries and programs - -.. option:: -print-target-triple, --print-target-triple - -Print the normalized target triple - -.. option:: -print-targets, --print-targets - -Print the registered targets - -.. option:: -private\_bundle - -.. option:: -pthread, -no-pthread - -Support POSIX threads in generated code - -.. option:: -pthreads - -.. option:: -read\_only\_relocs - -.. option:: -relocatable-pch, --relocatable-pch - -Whether to build a relocatable precompiled header - -.. option:: -remap - -.. option:: -rewrite-legacy-objc - -Rewrite Legacy Objective-C source to C++ - -.. option:: -rtlib=, --rtlib=, --rtlib - -Compiler runtime library to use - -.. option:: -save-stats=, --save-stats=, -save-stats (equivalent to -save-stats=cwd), --save-stats (equivalent to -save-stats=cwd) - -Save llvm statistics. - -.. option:: -save-temps=, --save-temps=, -save-temps (equivalent to -save-temps=cwd), --save-temps (equivalent to -save-temps=cwd) - -Save intermediate compilation results. - -.. option:: -sectalign - -.. option:: -sectcreate - -.. option:: -sectobjectsymbols - -.. option:: -sectorder - -.. option:: -seg1addr - -.. option:: -seg\_addr\_table - -.. program:: clang1 -.. option:: -seg\_addr\_table\_filename -.. program:: clang - -.. option:: -segaddr - -.. option:: -segcreate - -.. option:: -seglinkedit - -.. option:: -segprot - -.. option:: -segs\_read\_ - -.. program:: clang1 -.. option:: -segs\_read\_only\_addr -.. program:: clang - -.. program:: clang2 -.. option:: -segs\_read\_write\_addr -.. program:: clang - -.. option:: -serialize-diagnostics , --serialize-diagnostics - -Serialize compiler diagnostics to a file - -.. option:: -shared-libgcc - -.. option:: -shared-libsan, -shared-libasan - -Dynamically link the sanitizer runtime - -.. option:: -single\_module - -.. option:: -static-libgcc - -.. option:: -static-libsan - -Statically link the sanitizer runtime - -.. option:: -static-libstdc++ - -.. option:: -static-openmp - -Use the static host OpenMP runtime while linking. - -.. option:: -std-default= - -.. option:: -stdlib=, --stdlib=, --stdlib - -C++ standard library to use - -.. option:: -sub\_library - -.. program:: clang1 -.. option:: -sub\_umbrella -.. program:: clang - -.. option:: --sysroot=, --sysroot - -.. option:: --target-help - -.. option:: --target=, -target - -Generate code for the given target - -.. option:: -time - -Time individual commands - -.. option:: -traditional, --traditional - -.. option:: -traditional-cpp, --traditional-cpp - -Enable some traditional CPP emulation - -.. option:: -twolevel\_namespace - -.. program:: clang1 -.. option:: -twolevel\_namespace\_hints -.. program:: clang - -.. option:: -umbrella - -.. option:: -unexported\_symbols\_list - -.. option:: -unwindlib=, --unwindlib= - -Unwind library to use - -.. option:: -v, --verbose - -Show commands to run and use verbose output - -.. option:: --verify-debug-info - -Verify the binary representation of debug output - -.. option:: --version - -Print version information - -.. option:: -w, --no-warnings - -Suppress all warnings - -.. option:: -weak-l - -.. option:: -weak\_framework - -.. program:: clang1 -.. option:: -weak\_library -.. program:: clang - -.. program:: clang2 -.. option:: -weak\_reference\_mismatches -.. program:: clang - -.. option:: -whatsloaded - -.. option:: -why\_load, -whyload - -.. option:: -working-directory, -working-directory= - -Resolve file paths relative to the specified directory - -.. option:: -x, --language , --language= - -Treat subsequent input files as having type - -.. option:: -y - -Actions -======= -The action to perform on the input. - -.. option:: -E, --preprocess - -Only run the preprocessor - -.. option:: -S, --assemble - -Only run preprocess and compilation steps - -.. option:: -c, --compile - -Only run preprocess, compile, and assemble steps - -.. option:: -emit-interface-stubs - -Generate Interface Stub Files. - -.. option:: -emit-llvm - -Use the LLVM representation for assembler and object files - -.. option:: -emit-merged-ifs - -Generate Interface Stub Files, emit merged text not binary. - -.. option:: -fsyntax-only - -.. option:: -module-file-info - -Provide information about a particular module file - -.. option:: --precompile - -Only precompile the input - -.. option:: -rewrite-objc - -Rewrite Objective-C source to C++ - -.. option:: -verify-pch - -Load and verify that a pre-compiled header file is not stale - -Compilation flags -================= - -Flags controlling the behavior of Clang during compilation. These flags have -no effect during actions that do not perform compilation. - -.. option:: -Xassembler - -Pass to the assembler - -.. option:: -Xclang - -Pass to the clang compiler - -.. option:: -ansi, --ansi - -.. option:: -fc++-abi= - -C++ ABI to use. This will override the target C++ ABI. - -.. option:: -fclang-abi-compat= - -Attempt to match the ABI of Clang - -.. option:: -fcomment-block-commands=,... - -Treat each comma separated argument in as a documentation comment block command - -.. option:: -fcomplete-member-pointers, -fno-complete-member-pointers - -Require member pointer base types to be complete if they would be significant under the Microsoft ABI - -.. option:: -fcrash-diagnostics-dir= - -Put crash-report files in - -.. option:: -fdeclspec, -fno-declspec - -Allow \_\_declspec as a keyword - -.. option:: -fdepfile-entry= - -.. option:: -fdiagnostics-fixit-info, -fno-diagnostics-fixit-info - -.. option:: -fdiagnostics-format= - -.. option:: -fdiagnostics-parseable-fixits - -Print fix-its in machine parseable form - -.. option:: -fdiagnostics-print-source-range-info - -Print source range spans in numeric form - -.. option:: -fdiagnostics-show-category= - -.. option:: -fdiscard-value-names, -fno-discard-value-names - -Discard value names in LLVM IR - -.. option:: -fexperimental-relative-c++-abi-vtables, -fno-experimental-relative-c++-abi-vtables - -Use the experimental C++ class ABI for classes with virtual tables - -.. option:: -fexperimental-strict-floating-point - -Enables experimental strict floating point in LLVM. - -.. option:: -ffine-grained-bitfield-accesses, -fno-fine-grained-bitfield-accesses - -Use separate accesses for consecutive bitfield runs with legal widths and alignments. - -.. option:: -fglobal-isel, -fexperimental-isel, -fno-global-isel - -Enables the global instruction selector - -.. option:: -finline-functions, -fno-inline-functions - -Inline suitable functions - -.. option:: -finline-hint-functions - -Inline functions which are (explicitly or implicitly) marked inline - -.. option:: -flegacy-pass-manager, -fno-experimental-new-pass-manager, -fno-legacy-pass-manager - -Use the legacy pass manager in LLVM - -.. option:: -fno-crash-diagnostics - -Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash - -.. option:: -fno-sanitize-ignorelist, -fno-sanitize-blacklist - -Don't use ignorelist file for sanitizers - -.. option:: -fparse-all-comments - -.. option:: -frecord-command-line, -fno-record-command-line, -frecord-gcc-switches - -.. option:: -fsanitize-address-destructor= - -Set destructor type used in ASan instrumentation - -.. option:: -fsanitize-address-field-padding= - -Level of field padding for AddressSanitizer - -.. option:: -fsanitize-address-globals-dead-stripping - -Enable linker dead stripping of globals in AddressSanitizer - -.. option:: -fsanitize-address-poison-custom-array-cookie, -fno-sanitize-address-poison-custom-array-cookie - -Enable poisoning array cookies when using custom operator new\[\] in AddressSanitizer - -.. option:: -fsanitize-address-use-after-return= - -Select the mode of detecting stack use-after-return in AddressSanitizer - -.. option:: -fsanitize-address-use-after-scope, -fno-sanitize-address-use-after-scope - -Enable use-after-scope detection in AddressSanitizer - -.. option:: -fsanitize-address-use-odr-indicator, -fno-sanitize-address-use-odr-indicator - -Enable ODR indicator globals to avoid false ODR violation reports in partially sanitized programs at the cost of an increase in binary size - -.. option:: -fsanitize-cfi-canonical-jump-tables, -fno-sanitize-cfi-canonical-jump-tables - -Make the jump table addresses canonical in the symbol table - -.. option:: -fsanitize-cfi-cross-dso, -fno-sanitize-cfi-cross-dso - -Enable control flow integrity (CFI) checks for cross-DSO calls. - -.. option:: -fsanitize-cfi-icall-generalize-pointers - -Generalize pointers in CFI indirect call type signature checks - -.. option:: -fsanitize-coverage-allowlist=, -fsanitize-coverage-whitelist= - -Restrict sanitizer coverage instrumentation exclusively to modules and functions that match the provided special case list, except the blocked ones - -.. option:: -fsanitize-coverage-ignorelist=, -fsanitize-coverage-blacklist= - -Disable sanitizer coverage instrumentation for modules and functions that match the provided special case list, even the allowed ones - -.. option:: -fsanitize-coverage=,..., -fno-sanitize-coverage=,... - -Specify the type of coverage instrumentation for Sanitizers - -.. option:: -fsanitize-hwaddress-abi= - -Select the HWAddressSanitizer ABI to target (interceptor or platform, default interceptor). This option is currently unused. - -.. option:: -fsanitize-hwaddress-experimental-aliasing, -fno-sanitize-hwaddress-experimental-aliasing - -Enable aliasing mode in HWAddressSanitizer - -.. option:: -fsanitize-ignorelist=, -fsanitize-blacklist= - -Path to ignorelist file for sanitizers - -.. option:: -fsanitize-link-c++-runtime, -fno-sanitize-link-c++-runtime - -.. option:: -fsanitize-link-runtime, -fno-sanitize-link-runtime - -.. option:: -fsanitize-memory-track-origins, -fno-sanitize-memory-track-origins - -Enable origins tracking in MemorySanitizer - -.. program:: clang1 -.. option:: -fsanitize-memory-track-origins= -.. program:: clang - -Enable origins tracking in MemorySanitizer - -.. option:: -fsanitize-memory-use-after-dtor, -fno-sanitize-memory-use-after-dtor - -Enable use-after-destroy detection in MemorySanitizer - -.. option:: -fsanitize-minimal-runtime, -fno-sanitize-minimal-runtime - -.. option:: -fsanitize-recover=,..., -fno-sanitize-recover=,..., -fsanitize-recover (equivalent to -fsanitize-recover=all) - -Enable recovery for specified sanitizers - -.. option:: -fsanitize-stats, -fno-sanitize-stats - -Enable sanitizer statistics gathering. - -.. option:: -fsanitize-thread-atomics, -fno-sanitize-thread-atomics - -Enable atomic operations instrumentation in ThreadSanitizer (default) - -.. option:: -fsanitize-thread-func-entry-exit, -fno-sanitize-thread-func-entry-exit - -Enable function entry/exit instrumentation in ThreadSanitizer (default) - -.. option:: -fsanitize-thread-memory-access, -fno-sanitize-thread-memory-access - -Enable memory access instrumentation in ThreadSanitizer (default) - -.. option:: -fsanitize-trap=,..., -fno-sanitize-trap=,..., -fsanitize-trap (equivalent to -fsanitize-trap=all), -fsanitize-undefined-trap-on-error (equivalent to -fsanitize-trap=undefined) - -Enable trapping for specified sanitizers - -.. option:: -fsanitize-undefined-strip-path-components= - -Strip (or keep only, if negative) a given number of path components when emitting check metadata. - -.. option:: -fsanitize=,..., -fno-sanitize=,... - -Turn on runtime checks for various forms of undefined or suspicious behavior. See user manual for available checks - -.. option:: -moutline, -mno-outline - -Enable function outlining (AArch64 only) - -.. option:: -moutline-atomics, -mno-outline-atomics - -Generate local calls to out-of-line atomic operations - -.. option:: --param , --param= - -.. option:: -print-supported-cpus, --print-supported-cpus, -mcpu=?, -mtune=? - -Print supported cpu models for the given target (if target is not specified, it will print the supported cpus for the default target) - -.. option:: -std=, --std=, --std - -Language standard to compile for - -Preprocessor flags -~~~~~~~~~~~~~~~~~~ - -Flags controlling the behavior of the Clang preprocessor. - -.. option:: -C, --comments - -Include comments in preprocessed output - -.. option:: -CC, --comments-in-macros - -Include comments from within macros in preprocessed output - -.. option:: -D=, --define-macro , --define-macro= - -Define to (or 1 if omitted) - -.. option:: -H, --trace-includes - -Show header includes and nesting depth - -.. option:: -P, --no-line-commands - -Disable linemarker output in -E mode - -.. option:: -U, --undefine-macro , --undefine-macro= - -Undefine macro - -.. option:: -Wp,,... - -Pass the comma separated arguments in to the preprocessor - -.. option:: -Xpreprocessor - -Pass to the preprocessor - -.. option:: -fmacro-prefix-map= - -remap file source paths in predefined preprocessor macros - -Include path management ------------------------ - -Flags controlling how ``#include``\s are resolved to files. - -.. option:: -I, --include-directory , --include-directory= - -Add directory to include search path. For C++ inputs, if -there are multiple -I options, these directories are searched -in the order they are given before the standard system directories -are searched. If the same directory is in the SYSTEM include search -paths, for example if also specified with -isystem, the -I option -will be ignored - -.. option:: -I-, --include-barrier - -Restrict all prior -I flags to double-quoted inclusion and remove current directory from include path - -.. option:: --amdgpu-arch-tool= - -Tool used for detecting AMD GPU arch in the system. - -.. option:: --cuda-path-ignore-env - -Ignore environment variables to detect CUDA installation - -.. option:: --cuda-path= - -CUDA installation path - -.. option:: -cxx-isystem - -Add directory to the C++ SYSTEM include search path - -.. option:: -fbuild-session-file= - -Use the last modification time of as the build session timestamp - -.. option:: -fbuild-session-timestamp=