This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/stable in repository clang.
from 3084d0f690 Updating branches/google/stable to r300801 adds 66273610fe [OpenMP] Prepare sema to support combined constructs with om [...] adds 21173cb65e Add a triple to codegen test. adds 98641f2232 [Sema] Use MSVC inner class behavior on Itanium adds 6a8a5b4154 PR32673: Don't wrap parameter packs in SubstTemplateTypeParm [...] adds a822641c66 [ODRHash] clean up test and add new examples. NFC adds 072d1afbf0 [AVR] Add -mmcu option to the driver adds bd6a4f4ea7 PR19260: Teach doxygen to spell correctly the include paths. adds ba88279757 Add #pragma clang attribute support to the availability attribute adds 4a1e65760d Add Python 3 support to clang.cindex adds 59a0c5ecb8 [index] Record class template specializations using a new 'S [...] adds 3e6188d584 Delete unused IncompleteFormat variable, NFCi. adds c4727f2079 Don't pass FPOpFusion::Strict to the backend adds 5df03525b7 [Driver] Add a missing -no-canonical-prefixes to test. adds 63cd813278 Begin making git-clang-format python3 compatible. adds bc65dd754b Enable leak sanitizer builds for darwin adds c85fce8583 Fix Python 2 vs 3 incompatability with dict.items() vs iteritems() adds 0229ffa91b Parse: cleanup some bleeding whitespace adds b8a9d6cf3b Sema: protect against ObjC++ typo-correction failure adds 1580946759 Add __CLANG_ATOMIC_<TYPE>_LOCK_FREE macros for use in MSVC c [...] adds 9185c07cca [CMake] Enable ARM target in Fuchsia toolchain adds 7a3629bc28 Use __CLANG_ATOMIC_TYPE_LOCK_FREE macros in `stdatomic.h` adds 6ae3e4a2fb [analyzer] Fix assert in ExprEngine::processSwitch adds 12b885c4ee [modules] Properly look up the owning module for an instanti [...] adds 4802bbed82 [index] For 'transparent' tag typedefs, ignore their tag reference adds efab042a8b [index] Take advantage of 'external_source_symbol' attribute [...] adds 9aa2af1d21 Add support for openSUSE ARM Triples adds b7ae3c02a7 [PR32667] -Wdocumentation should allow @param/@returns for f [...] adds 72e2426799 [clang-format] Clang-tidy cleanup of CleanupTest.cpp, NFC adds 9152c27ed9 [clang-format] Clang-tidy cleanup of NamespaceEndCommentFixe [...] adds f47413706b [clang-format] Replace IncompleteFormat by a struct with Line adds d10c298f0f [OpenCL] Fix semantic check of ndrange_t for device_side_enqueue. adds 0832a0080c [ms] Give -Wmicrosoft-enum-forward-reference a chance to fir [...] adds 161f2d6624 Add comments to the diagnostic kinds in Diagnostic.td. adds 54fef63e22 [index] Take into account the category's external_symbol att [...] adds 73b19c609f P0629R0: Switch to latest proposal for distinguishing module [...] adds ea2cb09d2a Move Split DWARF handling to an MC option/command line argum [...] adds f633301559 Rearrange some Modules TS testcases into test/CXX/modules-ts. adds 1f766384f2 Fix typo in comment. adds a55881cab3 [Devirtualization] Emit invariant.group loads with empty group md adds 6d3ec86383 [index] The relation between the declarations in template sp [...] adds 089f73f859 clang-format: Fix bad corner case in formatting of function types. adds 8f2ae42562 [index] If the 'external_source_symbol' attribute indicates [...] adds 463b4729ac [Docs] Correct the path to the clang-format-diff.py script t [...] adds 3efd04e480 Flag -fsanitize=fuzzer to enable libfuzzer adds c350a659a4 Remove erroneous driver test for -fsanitize=fuzzer flag adds 2987ebbf30 Pragma: Fix DebugOverflowStack() resulting in endless loop. adds 43864bcdf2 [OpenMP] Initial implementation of code generation for pragm [...] adds 28cbd0c0d3 [analyzer] Improve suppression for inlined defensive checks [...] adds afa3384a4e [asan] Disable ASan global-GC depending on the target and co [...] adds 033a0e463c Revert r301223 adds 4316aeccae Specify a target explicitly in libfuzzer driver flag test adds 29f0cdc96e [Coverage] Avoid null deref in skipRegionMappingForDecl (fix [...] adds 1e969193c2 Remove a dead field. NFC. adds 51381410d4 [analyzer] Improve subscripting null arrays for catching nul [...] adds f20a8fd960 [Modules] Fix test to wipe out the cache before using it adds c2ca61f3d0 [modules ts] Diagnose 'export' declarations outside of a mod [...] adds 3c0d35600d Placate MSVC's narrowing conversion unhappiness. adds 499f1664f8 Fix fuzzer.c test on platforms where CLANG_DEFAULT_CXX_STDLI [...] adds bc371f9ed3 [index] Record the 'SpecializationOf' relation for function [...] adds 9a24d62d45 [index] Index type source info for class specializations adds 4eaf83fa60 [libclang] Check for a record declaration before a template [...] adds 9964f5200e [PGO] Update test now that we don't call IndirectCallPromotion. adds 62a81dfaec Recommit of [OpenMP] Initial implementation of code generati [...] adds 3d4b66d7bf [PGO/tests] Update comment to reflect reality. adds cfad1e881a Minor fix for distribute_parallel_for_num_threads_codegen on [...] adds 50388debf0 [Hexagon] Set -ffp-contract=fast at -O3 unless explicitly specified adds 1b73841a41 [Hexagon] Handle -O4 when checking optimization level adds b7fb17a3b4 [asan] Unconditionally enable GC of globals on COFF. adds fb77f03977 [ubsan] Skip alignment checks on allocas with known alignment adds f826bb46d9 [Modules][ObjC] Check definition from canonical decl on desi [...] adds a530e823ed [analyzer] Teach the MallocChecker about Glib API for two arguments adds 2731f95836 clang-format: [JS] prevent wraps before class members. adds 730d18e321 formatting adds 90d2a69824 clang-format: [JS/Java] ignore Objective-C constructs in JS & Java. adds 86ab1dc77f [AST] Look through attribute type locs when searching for fu [...] adds 140708f7fd -Wdocumentation should not check the @returns command for Ob [...] adds 7ca1900874 -Wunguarded-availability should support if (@available) chec [...] adds 9bdffb9899 [OPENMP] Move handling of threadprivate vars from the stack, NFC. adds ed38176964 [OPENMP] Fix handling of OpenMP code during template instantiation. adds 0fa4d70ea8 [OPENMP] Fix failing test. adds 9c580d21f6 [Sema] Avoid using a null type pointer (fixes PR32750) adds 2dfb9da1cc Update to LLVM's use of WeakTrackingVH; NFC adds 808ced1c4d Revert "Update to LLVM's use of WeakTrackingVH; NFC" adds 92c5967c32 Refactor frontend InputKind to prepare for treating module m [...] adds 9bc5210653 PPCallbacks::MacroUndefined, change signature and add test. adds cfe08f4f90 [Modules] Fix a crash-on-invalid with overloaded functions adds 313bd3bb2c Revert "PPCallbacks::MacroUndefined, change signature and ad [...] adds f7f7dde1a3 Fix API breaks adds e05b249e25 Revert "Revert "PPCallbacks::MacroUndefined, change signatur [...] adds 1e2ea9a764 [ubsan] nullability-assign: Check assignments into C++ structs adds bf6842052a Fix comment. NFC adds 3670d2ef78 Replace HashString algorithm with xxHash64 adds 4deadfaaec Revert r301487: Replace HashString algorithm with xxHash64 adds e069a713ea Don't accept -std= values that would switch us to a differen [...] adds deb6b7eae7 Remove unnecessary and somewhat inaccurate "C89" flag from l [...] adds 57e55d927a clang/Lex/PPCallbacks.h: Fix a warning in r301472. [-Wdocume [...] adds 59456511f4 Improve diagnostics for bad -std= flag. adds 6b7fb45df3 Darwin: Define __STDC_NO_THREADS__ on Darwin targets adds 74bc51fffa In the expression evaluator, descend into both the true and [...] adds c1cea58321 In the expression evaluator, visit the index of an ArraySubs [...] adds b290ab5f92 Don't hard-code "modules-cache-path" in the test. adds 46755a96f6 Constify SourceManager input to MacroInfo::getDefinitionLeng [...] adds 0b6b713771 [ObjC] Disallow vector parameters and return values in Objec [...] adds d31f7cc84c [X86] Support of no_caller_saved_registers attribute adds 9ba92e2ece Fix asan failures on OpenMP. adds ef06b8a5db clang-format: [JS] parse async function declarations. adds 60162ecf3d clang/test/Modules/malformed-overload.m: Make sure module ca [...] adds 7b3b5244b4 [libclang] Pass in the -fallow-editor-placeholders option adds b6ac2f9d15 [OPENMP] Improve performance of the hasDSA() function, NFC. adds bf5a77287b [index] Mark the ObjC implicit accessor method definitions a [...] adds bafe90b057 [OPENMP] Add a check for iterator not reached the end of sta [...] adds d39ba1050a Remove leaking UnknownPragmaHandlers right after we are done [...] adds 2e69ccccc8 Fix -Wpedantic about extra semicolons in CGStmtOpenMP.cpp adds 5411d2255c clang-cl: Alias /d1reportAllClassLayout to -fdump-record-lay [...] adds 41e19f971f [libclang] Enhance clang_Cursor_isDynamicCall and clang_Curs [...] adds 50c344f092 [Profile] Add off-by-default -Wprofile-instr-missing warning adds 1fda799384 Added an Importer test for in-class member initializers. adds dff815aaab libclang: remove unused variable. adds fc4c78381a Preprocessor: Suppress -Wnonportable-include-path for header maps adds 7af3afd004 Headers: Make the type of SIZE_MAX the same as size_t adds c5a1b98af4 [Modules] Refactor logic for incomplete umbrella warnings. NFC adds 4ef94de349 [Modules] Improve diagnostics for incomplete umbrella adds 118b5946cf Use a consistent style. NFC adds 232bf3f19a [ARCMigrate] When applying changes from remap files, disable [...] adds ecd30bdd01 [ASTImporter] Move structural equivalence context to its own [...] adds 463eb6ab52 Move functionality for handling module maps as inputs from t [...] adds 0be61ba436 clang/test/Index/index-module.m: Relax expressions to satisf [...] adds 3e7a9b8ead clang/test/ARCMT/remap-applying.c: Use %/s on the command li [...] adds c4d3e60b62 [index] Handle vector types in USR generator adds 68ff0b4966 [X86][SSE] Add _mm_set_pd1 (PR32827) adds ad2cd105c1 [Sema] Avoid an invalid redefinition error that was presente [...] adds de4f6266fa Use the -Wunknown-warning-option group for the "unknown warn [...] adds 1b98417fe9 [libclang] Expose some target information via the C API. adds b3dc14e340 [DOXYGEN] Minor improvements in doxygen comments. adds 9a231fff5c [CodeGen][ObjC] Don't retain captured Objective-C pointers a [...] adds 880ae6be95 Enable -fno-split-dwarf-inlining even when -gsplit-dwarf isn [...] adds b1406c5223 [ODRHash] Add testcase with different paramter names. NFC adds acf47c79de Adapt to LLVM API change (DINamespace no longer takes line/f [...] adds 538445b124 ObjCBoxedExpr can't be evaluated by the constant expression [...] adds ee60c74826 Add pragma to perform module import and use it in -E output. adds 8e878be54a Remove unused, empty test directories. adds b4a8efab3e PR26771: don't forget the " 2" (returning from #included fil [...] adds 2e4e26b795 Fix "REQUIRES: system-darwin" failing tests after r301725. adds d3e565bab0 Remove some apparently-unnecessary 'REQUIRES: system-darwin' [...] adds 299583cf50 Fix PR32831: 'this capture while instantiating generic lambd [...] adds f83586caa9 Remove Sema::CheckForIntOverflow, and instead check all full [...] adds 1f0a1b46cb [X86][AVX] Added support for _mm256_zext* helper intrinsics [...] adds 088659bc77 utils: Silence -Wpedantic warning adds 02552ffef5 Handle expressions with non-literal types like ignored expre [...] adds 4e960cc849 Fix line endings (dos -> unix) and clang-format while I'm here adds c6deeaad91 Fix test that was incorrected merged between patches. adds 050aef3902 Remove unneeded struct; NFC adds 63b23f80d3 The -coverage-file flag was removed in r280306, and this pie [...] adds 4d9511f25e Relax testcase to fix a PS4 buildbot failure. adds e3c69705dc Adapt to LLVM's rename of WeakVH to WeakTrackingVH; NFC adds 58733dee03 Improve handling of arrays of unknown bound in constant expr [...] adds a6fd4ede6b [sanitizer-coverage] add a deprecation note to coverage_direct=1 adds 5d6d690dae Silence unused variable warning. NFC. adds 52cc5a2a3d Object: Remove ModuleSummaryIndexObjectFile class. adds 3aa549e82b Put back REQUIRES: system-darwin to fix asan bot. adds 0574880145 Fix initial diagnostic state setup for an explicit module wi [...] adds fb2ffebf7d New file missed from r301846. adds 51b642c482 [sanitizer-coverage] update the SanitizerCoverage docs to re [...] adds 5ae2db8f76 Revert r301785 (and r301787) because they caused PR32864. adds 08c94e4bd7 clang/test/Modules/diag-flags.cpp: Appease targeting *-win32 [...] adds eb56e4e44e [libclang] Revert rL301328 and add tests for the regressions [...] adds 5c23dd5604 Remove leftover test expectation from rL301902. adds 14c91c7c5b [analyzer] Detect bad free of function pointers adds c665a65767 Revert r301735 (and subsequent r301786). adds 51cbbdf858 [CodeGen] remove/fix checks that will fail when r301923 is r [...] adds 7f6984326f Revert "[docs] UBSan: Mention that print_stacktrace=1 is uns [...] adds c2b24078da Revert r301822 (and dependent r301825), which tried to impro [...] adds d4c7d56bc1 Simplify some va_start checking logic adds 0abbc389e0 [Sema] Update function doc; NFC adds 3c98739502 Fix PR32831 (Try Again): 'this' capture while instantiating [...] adds 5b6abca3d0 [NFC] Add original test that triggered crash post r301735 - [...] adds e28cd553dd Re-land r301697 "[IR] Make add/remove Attributes use AttrBui [...] adds 424867959d [ubsan] Skip overflow checks on safe arithmetic (fixes PR32874) adds 386800d3a0 [ODRHash] Add support for array and decayed types, and param [...] adds 56f548bbbb [modules] Round-trip -Werror flag through explicit module build. adds 720166745e [sanitizer-coverage] add a deprecation warning to the old sa [...] adds a776077f6e Fix tests after speculatable intrinsics patch adds 7e51ecfa56 Fix a bug that -isysroot is completely ignored on Unix adds d47d19ceb9 Revert rL301998: "Fix a bug that -isysroot is completely ign [...] adds 7992b2b91e Silences gcc's -Wnarrowing. adds 0574843db6 Fix tests after speculatable intrinsics patch adds 5e7b77cefc Undo turning ExtBehavior into a bitfield. new 64deea195f Updating branches/google/stable to r302012
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: bindings/python/clang/__init__.py | 8 - bindings/python/clang/cindex.py | 112 +- .../python/tests/cindex/test_translation_unit.py | 7 +- cmake/caches/Fuchsia-stage2.cmake | 4 +- docs/ClangFormat.rst | 5 +- docs/SanitizerCoverage.rst | 400 ++-- docs/UndefinedBehaviorSanitizer.rst | 2 - docs/doxygen.cfg.in | 8 +- include/clang-c/Index.h | 45 +- include/clang/AST/ASTStructuralEquivalence.h | 101 + include/clang/AST/CommentSema.h | 4 + include/clang/AST/DeclBase.h | 8 + include/clang/AST/StmtOpenMP.h | 193 +- include/clang/AST/Type.h | 38 +- include/clang/AST/TypeLoc.h | 6 +- include/clang/ASTMatchers/ASTMatchers.h | 2 +- include/clang/Basic/Attr.td | 8 +- include/clang/Basic/AttrDocs.td | 34 + include/clang/Basic/Diagnostic.h | 75 +- include/clang/Basic/Diagnostic.td | 12 + include/clang/Basic/DiagnosticDriverKinds.td | 4 +- include/clang/Basic/DiagnosticGroups.td | 1 + include/clang/Basic/DiagnosticIDs.h | 22 +- include/clang/Basic/DiagnosticLexKinds.td | 4 +- include/clang/Basic/DiagnosticParseKinds.td | 10 +- include/clang/Basic/DiagnosticSemaKinds.td | 27 +- .../clang/Basic/DiagnosticSerializationKinds.td | 10 +- include/clang/Basic/LangOptions.def | 3 +- include/clang/Basic/Module.h | 12 + include/clang/Basic/Sanitizers.def | 3 + include/clang/CodeGen/CGFunctionInfo.h | 17 +- include/clang/Driver/CC1Options.td | 2 + include/clang/Driver/CLCompatOptions.td | 2 + include/clang/Driver/Options.td | 1 + include/clang/Driver/SanitizerArgs.h | 1 + include/clang/Edit/EditedSource.h | 2 +- include/clang/Format/Format.h | 27 +- include/clang/Frontend/CodeGenOptions.def | 1 + include/clang/Frontend/FrontendActions.h | 11 - include/clang/Frontend/FrontendOptions.h | 97 +- include/clang/Frontend/LangStandard.h | 33 +- include/clang/Frontend/LangStandards.def | 141 +- include/clang/Index/IndexSymbol.h | 4 +- include/clang/Index/USRGeneration.h | 18 +- include/clang/Lex/HeaderSearch.h | 5 +- include/clang/Lex/MacroInfo.h | 4 +- include/clang/Lex/PPCallbacks.h | 16 +- include/clang/Lex/PreprocessingRecord.h | 3 +- include/clang/Lex/Preprocessor.h | 8 +- include/clang/Sema/Sema.h | 23 +- lib/ARCMigrate/ObjCMT.cpp | 2 +- lib/AST/ASTContext.cpp | 2 + lib/AST/ASTImporter.cpp | 1444 +------------ lib/AST/ASTStructuralEquivalence.cpp | 1318 ++++++++++++ lib/AST/CMakeLists.txt | 1 + lib/AST/Comment.cpp | 20 + lib/AST/CommentSema.cpp | 34 +- lib/AST/Decl.cpp | 55 +- lib/AST/DeclBase.cpp | 38 +- lib/AST/DeclCXX.cpp | 13 +- lib/AST/DeclObjC.cpp | 11 +- lib/AST/ExprConstant.cpp | 39 +- lib/AST/ODRHash.cpp | 82 + lib/AST/StmtOpenMP.cpp | 98 +- lib/AST/TypePrinter.cpp | 2 + lib/Basic/Diagnostic.cpp | 12 +- lib/Basic/DiagnosticIDs.cpp | 22 +- lib/Basic/OpenMPKinds.cpp | 6 +- lib/Basic/Targets.cpp | 1 + lib/CodeGen/BackendUtil.cpp | 42 +- lib/CodeGen/CGBlocks.cpp | 14 +- lib/CodeGen/CGCall.cpp | 7 +- lib/CodeGen/CGDebugInfo.cpp | 18 +- lib/CodeGen/CGDeclCXX.cpp | 7 +- lib/CodeGen/CGExpr.cpp | 23 +- lib/CodeGen/CGExprScalar.cpp | 86 +- lib/CodeGen/CGObjC.cpp | 6 + lib/CodeGen/CGObjCMac.cpp | 2 +- lib/CodeGen/CGOpenMPRuntime.cpp | 22 +- lib/CodeGen/CGOpenMPRuntime.h | 40 +- lib/CodeGen/CGStmtOpenMP.cpp | 436 +++- lib/CodeGen/CodeGenAction.cpp | 2 +- lib/CodeGen/CodeGenFunction.h | 104 +- lib/CodeGen/CodeGenModule.cpp | 54 +- lib/CodeGen/CodeGenModule.h | 19 +- lib/CodeGen/CodeGenPGO.cpp | 2 +- lib/CodeGen/CodeGenPGO.h | 7 +- lib/CodeGen/MacroPPCallbacks.cpp | 3 +- lib/CodeGen/MacroPPCallbacks.h | 4 +- lib/CodeGen/TargetInfo.cpp | 10 +- lib/Driver/Job.cpp | 2 +- lib/Driver/SanitizerArgs.cpp | 16 +- lib/Driver/ToolChains/Clang.cpp | 11 +- lib/Driver/ToolChains/CommonArgs.cpp | 22 + lib/Driver/ToolChains/Darwin.cpp | 18 + lib/Driver/ToolChains/Darwin.h | 2 + lib/Driver/ToolChains/Gnu.cpp | 4 +- lib/Driver/ToolChains/Hexagon.cpp | 34 + lib/Driver/ToolChains/Hexagon.h | 4 + lib/Driver/ToolChains/Linux.cpp | 1 + lib/Edit/EditedSource.cpp | 14 +- lib/Format/ContinuationIndenter.cpp | 3 +- lib/Format/Format.cpp | 27 +- lib/Format/FormatToken.h | 4 + lib/Format/TokenAnnotator.cpp | 14 +- lib/Format/UnwrappedLineFormatter.cpp | 7 +- lib/Format/UnwrappedLineFormatter.h | 9 +- lib/Format/UnwrappedLineParser.cpp | 14 +- lib/Frontend/ASTUnit.cpp | 27 +- lib/Frontend/CompilerInstance.cpp | 36 +- lib/Frontend/CompilerInvocation.cpp | 265 ++- lib/Frontend/FrontendAction.cpp | 271 ++- lib/Frontend/FrontendActions.cpp | 274 +-- lib/Frontend/FrontendOptions.cpp | 36 +- lib/Frontend/InitPreprocessor.cpp | 21 +- lib/Frontend/LangStandards.cpp | 8 +- lib/Frontend/PrintPreprocessedOutput.cpp | 113 +- lib/Frontend/Rewrite/InclusionRewriter.cpp | 31 +- lib/Frontend/VerifyDiagnosticConsumer.cpp | 2 +- lib/Headers/avx512fintrin.h | 110 + lib/Headers/avxintrin.h | 55 + lib/Headers/bmiintrin.h | 166 -- lib/Headers/emmintrin.h | 18 + lib/Headers/stdatomic.h | 20 +- lib/Headers/stdint.h | 29 +- lib/Index/CommentToXML.cpp | 4 +- lib/Index/IndexDecl.cpp | 144 +- lib/Index/IndexSymbol.cpp | 17 + lib/Index/IndexTypeSourceInfo.cpp | 7 +- lib/Index/IndexingContext.cpp | 16 + lib/Index/IndexingContext.h | 7 +- lib/Index/USRGeneration.cpp | 123 +- lib/Lex/HeaderSearch.cpp | 14 +- lib/Lex/MacroInfo.cpp | 2 +- lib/Lex/ModuleMap.cpp | 1 + lib/Lex/PPDirectives.cpp | 73 +- lib/Lex/PPLexerChange.cpp | 86 +- lib/Lex/PPMacroExpansion.cpp | 2 +- lib/Lex/Pragma.cpp | 67 +- lib/Lex/PreprocessingRecord.cpp | 3 +- lib/Parse/ParseExpr.cpp | 5 +- lib/Parse/Parser.cpp | 67 +- lib/Sema/Sema.cpp | 7 + lib/Sema/SemaChecking.cpp | 190 +- lib/Sema/SemaDecl.cpp | 79 +- lib/Sema/SemaDeclAttr.cpp | 44 +- lib/Sema/SemaDeclObjC.cpp | 49 + lib/Sema/SemaExpr.cpp | 26 +- lib/Sema/SemaExprCXX.cpp | 53 +- lib/Sema/SemaExprObjC.cpp | 1 - lib/Sema/SemaLookup.cpp | 15 +- lib/Sema/SemaOpenMP.cpp | 412 ++-- lib/Sema/SemaOverload.cpp | 4 + lib/Sema/SemaTemplate.cpp | 21 +- lib/Sema/SemaTemplateInstantiate.cpp | 7 +- lib/Sema/SemaType.cpp | 19 +- lib/Sema/TreeTransform.h | 3 + lib/Serialization/ASTReader.cpp | 149 +- lib/Serialization/ASTReaderStmt.cpp | 7 + lib/Serialization/ASTWriter.cpp | 30 +- lib/Serialization/ASTWriterStmt.cpp | 7 + lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 145 +- lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 27 +- lib/StaticAnalyzer/Core/ExprEngine.cpp | 4 +- lib/StaticAnalyzer/Core/RegionStore.cpp | 3 + lib/StaticAnalyzer/Core/Store.cpp | 12 +- lib/StaticAnalyzer/Frontend/ModelInjector.cpp | 2 +- test/ARCMT/remap-applying.c | 4 + test/ARCMT/remap-applying.c.result | 4 + test/Analysis/enum.cpp | 13 + test/Analysis/gmalloc.c | 110 + test/Analysis/inlining/inline-defensive-checks.c | 41 +- test/Analysis/inlining/inline-defensive-checks.cpp | 15 +- test/Analysis/malloc.c | 10 + test/Analysis/null-deref-offsets.c | 37 + test/Analysis/uninit-const.cpp | 2 +- .../basic/basic.link/module-declaration.cpp | 55 + .../modules-ts/codegen-basics.cppm} | 2 +- .../dcl.dcl/dcl.module/dcl.module.import/p1.cpp | 41 + .../dcl.dcl/dcl.module/dcl.module.interface/p1.cpp | 27 + test/CodeGen/PR32874.c | 61 + test/CodeGen/aarch64-neon-2velem.c | 552 ++--- test/CodeGen/aarch64-neon-intrinsics.c | 1134 +++++----- test/CodeGen/aarch64-neon-misc.c | 330 +-- test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c | 42 +- test/CodeGen/arm_neon_intrinsics.c | 1082 +++++----- test/CodeGen/asan-globals-gc.cpp | 7 + test/CodeGen/atomic-ops-libcall.c | 8 +- test/CodeGen/avx-builtins.c | 21 + test/CodeGen/avx512f-builtins.c | 41 + test/CodeGen/catch-undef-behavior.c | 8 +- test/CodeGen/fp-contract-on-asm.c | 18 + test/CodeGen/libcalls.c | 4 +- test/CodeGen/pgo-sample-thinlto-summary.c | 4 +- test/CodeGen/sanitize-recover.c | 10 +- test/CodeGen/split-debug-filename.c | 5 + test/CodeGen/sse2-builtins.c | 7 + .../attr-x86-no_caller_saved_registers.cpp | 31 + test/CodeGenCXX/cxx1z-class-deduction.cpp | 2 +- test/CodeGenCXX/debug-info-namespace.cpp | 22 +- test/CodeGenCXX/invariant.group-for-vptrs.cpp | 23 +- test/CodeGenCXX/ubsan-nullability-assign.cpp | 35 + test/CodeGenCXX/ubsan-suppress-checks.cpp | 5 +- test/CodeGenCXX/windows-itanium-dllexport.cpp | 25 + test/CodeGenObjC/arc-blocks.m | 36 +- test/CodeGenObjC/arc-foreach.m | 19 +- test/CodeGenObjC/ubsan-nullability.m | 44 +- test/CodeGenObjCXX/boxing.mm | 12 + test/CoverageMapping/empty-destructor.cpp | 11 + .../usr/lib/crt1.o | 0 .../usr/lib/crti.o | 0 .../usr/lib/crtn.o | 0 .../gcc/armv6hl-suse-linux-gnueabi/5}/crtbegin.o | 0 .../lib/gcc/armv6hl-suse-linux-gnueabi/5}/crtend.o | 0 .../usr/lib/crt1.o | 0 .../usr/lib/crti.o | 0 .../usr/lib/crtn.o | 0 .../gcc/armv7hl-suse-linux-gnueabi/5}/crtbegin.o | 0 .../lib/gcc/armv7hl-suse-linux-gnueabi/5}/crtend.o | 0 test/Driver/avr-mmcu.c | 5 + test/Driver/cl-options.c | 3 + test/Driver/fsanitize-coverage.c | 26 +- test/Driver/fsanitize.c | 21 + test/Driver/fuzzer.c | 20 + test/Driver/hexagon-toolchain-elf.c | 16 + test/Driver/linux-ld.c | 40 + test/Driver/modules-ts.cpp | 12 +- test/Driver/sanitizer-ld.c | 9 + test/Driver/split-debug.c | 23 +- test/Driver/unknown-std.c | 28 +- test/Driver/unknown-std.cl | 2 +- test/Driver/unknown-std.cpp | 16 +- test/Format/incomplete.cpp | 2 +- .../__init__.py => test/Frontend/Inputs/empty.h | 0 test/Frontend/gnu-inline.c | 4 +- test/Frontend/rewrite-includes-line-markers.c | 8 + test/Frontend/rewrite-includes-modules.c | 27 +- test/Headers/stdatomic.c | 1 + test/Headers/stdint-typeof-MINMAX.cpp | 32 + test/Import/in-class-initializer/Inputs/S.cpp | 3 + test/Import/in-class-initializer/test.cpp | 5 + test/Index/Core/external-source-symbol-attr.m | 100 + test/Index/Core/index-source.cpp | 197 ++ test/Index/Core/index-source.m | 27 +- test/Index/allow-editor-placeholders.cpp | 5 + test/Index/cursor-dynamic-call.mm | 12 +- test/Index/index-module.m | 2 +- test/Index/index-refs.cpp | 1 + test/Index/keep-going.cpp | 4 +- test/Index/print-type.cpp | 5 + test/Index/target-info.c | 6 + test/Index/usrs.cpp | 11 + ...pragma-attribute-supported-attributes-list.test | 3 +- test/Modules/ExtDebugInfo.cpp | 2 +- test/Modules/Inputs/diag_flags.h | 1 + .../Foo.framework/Headers/Bar.h | 1 + .../Foo.framework/Headers/FooPublic.h | 1 + .../Foo.framework/Modules/module.modulemap | 5 + .../Foo.framework/Modules/module.private.modulemap | 5 + .../Foo.framework/PrivateHeaders/Baz.h | 1 + .../Foo.framework/PrivateHeaders/Foo.h | 1 + test/Modules/Inputs/malformed-overload/X.h | 2 + .../module.modulemap} | 0 test/Modules/Inputs/module.map | 4 + test/Modules/Inputs/objc-desig-init/A.h | 1 + test/Modules/Inputs/objc-desig-init/A2.h | 4 + test/Modules/Inputs/objc-desig-init/Base.h | 4 + test/Modules/Inputs/objc-desig-init/X.h | 4 + .../Inputs/objc-desig-init/module.modulemap | 9 + test/Modules/Inputs/template-default-args/a.h | 13 + test/Modules/Inputs/template-default-args/d.h | 7 + test/Modules/crash-vfs-path-emptydir-entries.m | 2 +- test/Modules/crash-vfs-path-symlink-component.m | 4 +- test/Modules/crash-vfs-path-symlink-topheader.m | 2 +- test/Modules/crash-vfs-path-traversal.m | 4 +- test/Modules/crash-vfs-relative-incdir.m | 2 +- test/Modules/crash-vfs-relative-overlay.m | 4 +- test/Modules/crash-vfs-run-reproducer.m | 2 +- test/Modules/diag-flags.cpp | 44 + test/Modules/import-syntax.c | 35 + test/Modules/incomplete-umbrella.m | 15 + test/Modules/localsubmodulevis.m | 2 +- test/Modules/malformed-overload.m | 9 + test/Modules/objc-designated-init-mod.m | 17 + test/Modules/odr_hash.cpp | 383 ++-- test/Modules/preprocess-module.cpp | 12 + test/Modules/preprocess.cpp | 32 +- test/Modules/preprocess.m | 8 +- test/Modules/template-default-args.cpp | 17 + test/OpenMP/capturing_in_templates.cpp | 30 + test/OpenMP/distribute_parallel_for_ast_print.cpp | 37 +- test/OpenMP/distribute_parallel_for_codegen.cpp | 2260 ++++++++++++++++++++ ...istribute_parallel_for_firstprivate_codegen.cpp | 619 ++++++ test/OpenMP/distribute_parallel_for_if_codegen.cpp | 192 ++ ...distribute_parallel_for_lastprivate_codegen.cpp | 653 ++++++ test/OpenMP/distribute_parallel_for_messages.cpp | 118 + ...distribute_parallel_for_num_threads_codegen.cpp | 121 ++ .../distribute_parallel_for_private_codegen.cpp | 297 +++ .../distribute_parallel_for_proc_bind_codegen.cpp | 93 + ...stribute_parallel_for_simd_aligned_messages.cpp | 5 +- test/OpenMP/distribute_simd_aligned_messages.cpp | 5 +- test/OpenMP/for_simd_aligned_messages.cpp | 5 +- test/OpenMP/parallel_for_simd_aligned_messages.cpp | 5 +- test/OpenMP/simd_aligned_messages.cpp | 5 +- .../target_parallel_for_simd_aligned_messages.cpp | 5 +- test/OpenMP/target_simd_aligned_messages.cpp | 5 +- ...stribute_parallel_for_simd_aligned_messages.cpp | 5 +- ...rget_teams_distribute_simd_aligned_messages.cpp | 5 +- test/OpenMP/taskloop_simd_aligned_messages.cpp | 5 +- ...stribute_parallel_for_simd_aligned_messages.cpp | 5 +- .../teams_distribute_simd_aligned_messages.cpp | 5 +- test/Parser/cxx-modules-import.cpp | 58 - test/Parser/cxx-modules-interface.cppm | 7 +- test/Parser/pragma-attribute.cpp | 6 +- .../Preprocessor/Inputs/nonportable-hmaps/foo.hmap | Bin 0 -> 102 bytes .../Inputs/nonportable-hmaps/headers/foo/Foo.h | 0 test/Preprocessor/init.c | 62 + test/Preprocessor/nonportable-include-with-hmap.c | 16 + test/Preprocessor/pp-modules.c | 6 +- test/Preprocessor/pragma_diagnostic.c | 7 +- test/Preprocessor/pragma_module.c | 11 + test/Preprocessor/stdint.c | 105 +- test/Profile/c-outdated-data.c | 16 +- test/Sema/atomic-ops.c | 10 + test/Sema/attr-availability.c | 2 +- test/Sema/integer-overflow.c | 13 + test/Sema/varargs.c | 2 +- test/Sema/warn-documentation.cpp | 72 + test/Sema/warn-documentation.m | 70 + test/SemaCXX/MicrosoftCompatibility-cxx98.cpp | 23 - test/SemaCXX/MicrosoftCompatibility.cpp | 24 + test/SemaCXX/MicrosoftExtensions.cpp | 8 + .../attr-non-x86-no_caller_saved_registers.cpp | 29 + .../SemaCXX/attr-x86-no_caller_saved_registers.cpp | 33 + .../cxx1z-class-template-argument-deduction.cpp | 35 + test/SemaCXX/cxx1z-lambda-star-this.cpp | 531 +++-- test/SemaCXX/modules-ts.cppm | 15 +- test/SemaCXX/typo-correction.cpp | 27 + test/SemaCXX/warn-thread-safety-parsing.cpp | 14 +- test/SemaObjC/unguarded-availability.m | 18 +- test/SemaObjC/x86-method-vector-values.m | 132 ++ test/SemaObjCXX/pr32725.mm | 9 + test/SemaOpenCL/cl20-device-side-enqueue.cl | 8 +- tools/c-index-test/c-index-test.c | 64 +- tools/clang-format/ClangFormat.cpp | 17 +- tools/clang-format/git-clang-format | 51 +- tools/libclang/CIndex.cpp | 52 +- tools/libclang/CXCursor.cpp | 26 +- tools/libclang/CXIndexDataConsumer.cpp | 1 + tools/libclang/CXTranslationUnit.h | 4 + tools/libclang/Indexing.cpp | 3 +- tools/libclang/libclang.exports | 4 + unittests/Basic/DiagnosticTest.cpp | 37 +- unittests/Basic/SourceManagerTest.cpp | 74 +- unittests/Format/CleanupTest.cpp | 5 +- unittests/Format/FormatTest.cpp | 33 +- unittests/Format/FormatTestComments.cpp | 23 +- unittests/Format/FormatTestJS.cpp | 45 +- unittests/Format/FormatTestObjC.cpp | 23 +- unittests/Format/FormatTestSelective.cpp | 6 +- unittests/Format/NamespaceEndCommentsFixerTest.cpp | 2 +- unittests/Frontend/CodeGenActionTest.cpp | 2 +- unittests/Frontend/FrontendActionTest.cpp | 16 +- utils/TableGen/ClangAttrEmitter.cpp | 4 +- 364 files changed, 14881 insertions(+), 6089 deletions(-) create mode 100644 include/clang/AST/ASTStructuralEquivalence.h create mode 100644 lib/AST/ASTStructuralEquivalence.cpp create mode 100644 test/ARCMT/remap-applying.c create mode 100644 test/ARCMT/remap-applying.c.result create mode 100644 test/Analysis/null-deref-offsets.c create mode 100644 test/CXX/modules-ts/basic/basic.link/module-declaration.cpp rename test/{CodeGenCXX/modules-ts.cppm => CXX/modules-ts/codegen-basics.cppm} (97%) create mode 100644 test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.import/p1.cpp create mode 100644 test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.interface/p1.cpp create mode 100644 test/CodeGen/PR32874.c create mode 100644 test/CodeGen/asan-globals-gc.cpp create mode 100644 test/CodeGen/fp-contract-on-asm.c create mode 100644 test/CodeGenCXX/attr-x86-no_caller_saved_registers.cpp create mode 100644 test/CodeGenCXX/ubsan-nullability-assign.cpp create mode 100644 test/CodeGenObjCXX/boxing.mm create mode 100644 test/CoverageMapping/empty-destructor.cpp copy bindings/python/tests/__init__.py => test/Driver/Inputs/opensuse_tumbleweed_a [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/opensuse_tumbleweed_a [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/opensuse_tumbleweed_a [...] copy test/Driver/Inputs/{basic_android_ndk_tree/lib/gcc/aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/{basic_android_ndk_tree/lib/gcc/aarch64-linux-android/4.9 [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/opensuse_tumbleweed_a [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/opensuse_tumbleweed_a [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/opensuse_tumbleweed_a [...] copy test/Driver/Inputs/{basic_android_ndk_tree/lib/gcc/aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/{basic_android_ndk_tree/lib/gcc/aarch64-linux-android/4.9 [...] create mode 100644 test/Driver/avr-mmcu.c create mode 100644 test/Driver/fuzzer.c copy bindings/python/tests/__init__.py => test/Frontend/Inputs/empty.h (100%) create mode 100644 test/Headers/stdint-typeof-MINMAX.cpp create mode 100644 test/Import/in-class-initializer/Inputs/S.cpp create mode 100644 test/Import/in-class-initializer/test.cpp create mode 100644 test/Index/Core/external-source-symbol-attr.m create mode 100644 test/Index/allow-editor-placeholders.cpp create mode 100644 test/Index/target-info.c create mode 100644 test/Modules/Inputs/diag_flags.h create mode 100644 test/Modules/Inputs/incomplete-umbrella/Foo.framework/Headers/Bar.h create mode 100644 test/Modules/Inputs/incomplete-umbrella/Foo.framework/Headers/F [...] create mode 100644 test/Modules/Inputs/incomplete-umbrella/Foo.framework/Modules/m [...] create mode 100644 test/Modules/Inputs/incomplete-umbrella/Foo.framework/Modules/m [...] create mode 100644 test/Modules/Inputs/incomplete-umbrella/Foo.framework/PrivateHe [...] create mode 100644 test/Modules/Inputs/incomplete-umbrella/Foo.framework/PrivateHe [...] create mode 100644 test/Modules/Inputs/malformed-overload/X.h copy test/Modules/Inputs/{objc-hidden/System/module.map => malformed-overload/modu [...] create mode 100644 test/Modules/Inputs/objc-desig-init/A.h create mode 100644 test/Modules/Inputs/objc-desig-init/A2.h create mode 100644 test/Modules/Inputs/objc-desig-init/Base.h create mode 100644 test/Modules/Inputs/objc-desig-init/X.h create mode 100644 test/Modules/Inputs/objc-desig-init/module.modulemap create mode 100644 test/Modules/diag-flags.cpp create mode 100644 test/Modules/import-syntax.c create mode 100644 test/Modules/incomplete-umbrella.m create mode 100644 test/Modules/malformed-overload.m create mode 100644 test/Modules/objc-designated-init-mod.m create mode 100644 test/Modules/preprocess-module.cpp create mode 100644 test/OpenMP/capturing_in_templates.cpp create mode 100644 test/OpenMP/distribute_parallel_for_codegen.cpp create mode 100644 test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp create mode 100644 test/OpenMP/distribute_parallel_for_if_codegen.cpp create mode 100644 test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp create mode 100644 test/OpenMP/distribute_parallel_for_messages.cpp create mode 100644 test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp create mode 100644 test/OpenMP/distribute_parallel_for_private_codegen.cpp create mode 100644 test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp delete mode 100644 test/Parser/cxx-modules-import.cpp create mode 100644 test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap copy bindings/python/tests/__init__.py => test/Preprocessor/Inputs/nonportable-hma [...] create mode 100644 test/Preprocessor/nonportable-include-with-hmap.c create mode 100644 test/Preprocessor/pragma_module.c delete mode 100644 test/SemaCXX/MicrosoftCompatibility-cxx98.cpp create mode 100644 test/SemaCXX/attr-non-x86-no_caller_saved_registers.cpp create mode 100644 test/SemaCXX/attr-x86-no_caller_saved_registers.cpp create mode 100644 test/SemaObjC/x86-method-vector-values.m create mode 100644 test/SemaObjCXX/pr32725.mm