This is an automated email from the git hooks/post-receive script.
git pushed a change to branch master in repository clang.
from 4e3dd793d7 Prevent unreachable when checking invalid multiversion decls. new bf91d084ae Refactor the way we handle diagnosing unused expression results. new 4bc17f2c87 Add two new pragmas for controlling software pipelining opti [...] new 1188822bbc [OPENMP][NVPTX]Use new functions from the runtime library. new 6d306af573 [ObjCARC] Add an new attribute, objc_externally_retained new 1229779346 [ThinLTO] Clang changes to utilize new pass to handle chains [...] new 5aa017b125 [HIP][DRIVER][OFFLOAD] Do not unbundle unsupported file types new 5f9f674fea [HIP][DRIVER][OFFLOAD] Do not unbundle unsupported file types new b4ac732910 hwasan: Implement lazy thread initialization for the interce [...] new a615149ee4 Fix default-function-attr.c so that it works on Windows. new f21e621908 [OpenMP] Replace predetermined shared for const variable new 5b0be04e49 [OpenMP] Refactor const restriction for reductions new 3bd81ff222 [OpenMP] Refactor const restriction for linear new 6cb22f178c Move -add-plugin validation after -load was executed. new 938b369b75 Let new test from r350340 still pass even after r350451. new 0cdb85449b [CMake][Fuchsia] Enable --build-id linker flag by default new 264e7d838a [CMake][Fuchsia] Enable x86 relaxation by default new 0da4016aca [CMake][Fuchsia] Enable experimental new pass manager by default new f098e40248 [python] Make the collections import future-proof new 310a23fc9a Improve MSVC type visualizations new 270a792402 CodeGen: switch iteration to range based for loop (NFC) new 4159746b2c CodeGen: fix autolink emission on ELF new 98c2cb159c Fix MSVC Visualization for TemplateTypeParmType and Template [...] new 53e3c74f8e Revert "[CMake][Fuchsia] Enable experimental new pass manage [...] new ace6bcb7b9 [CMake][Fuchsia] Enable build ID, relaxations for first stage new 6d5c059076 Have MSVC Visualizer for DeducedTemplateSpecializationType s [...] new 9474014cc9 [CMake] Use hidden visibility for static libc++ in Fuchsia new 4b88e5a18e Fix bug in test found by the diagnostic added in r350340. new 1a1eb1e55e [SemaCXX] Fix ICE for unexpanded parameter pack new 02db2fa1a9 DR674, PR38883, PR40238: Qualified friend lookup should look [...] new ebdd117a23 [X86] Update VBMI2 vshld/vshrd tests to use an immediate tha [...] new 84ee269c66 clang-format: [JS] support goog.requireType. new 550f5b0975 [AST][NFC] Pack OpaqueValueExpr
The 32 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/cindex.py | 11 +- cmake/caches/Fuchsia-stage2.cmake | 4 + cmake/caches/Fuchsia.cmake | 3 + docs/AutomaticReferenceCounting.rst | 87 +++++++-- include/clang/AST/Decl.h | 30 ++-- include/clang/AST/DeclObjC.h | 8 + include/clang/AST/Expr.h | 15 +- include/clang/AST/Stmt.h | 5 +- include/clang/Basic/Attr.td | 18 +- include/clang/Basic/AttrDocs.td | 86 ++++++++- include/clang/Basic/CodeGenOptions.h | 2 + include/clang/Basic/DiagnosticParseKinds.td | 5 +- include/clang/Basic/DiagnosticSemaKinds.td | 18 +- include/clang/Driver/CC1Options.td | 2 + include/clang/Driver/Options.td | 4 + include/clang/Driver/SanitizerArgs.h | 1 + include/clang/Parse/Parser.h | 5 + include/clang/Sema/Sema.h | 25 +-- lib/AST/DeclBase.cpp | 6 + lib/CodeGen/BackendUtil.cpp | 9 +- lib/CodeGen/CGCall.cpp | 6 + lib/CodeGen/CGDecl.cpp | 28 +-- lib/CodeGen/CGExpr.cpp | 8 +- lib/CodeGen/CGLoopInfo.cpp | 38 +++- lib/CodeGen/CGLoopInfo.h | 14 ++ lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 73 ++++---- lib/CodeGen/CodeGenModule.cpp | 30 ++-- lib/Driver/Driver.cpp | 12 ++ lib/Driver/SanitizerArgs.cpp | 17 ++ lib/Format/TokenAnnotator.cpp | 1 + lib/Frontend/CompilerInvocation.cpp | 17 +- lib/Frontend/FrontendAction.cpp | 18 ++ lib/Parse/ParseObjc.cpp | 2 +- lib/Parse/ParseOpenMP.cpp | 14 +- lib/Parse/ParsePragma.cpp | 36 ++-- lib/Parse/ParseStmt.cpp | 26 ++- lib/Sema/SemaCoroutine.cpp | 17 +- lib/Sema/SemaDecl.cpp | 23 +-- lib/Sema/SemaDeclAttr.cpp | 96 +++++++++- lib/Sema/SemaDeclCXX.cpp | 37 ++-- lib/Sema/SemaExpr.cpp | 17 +- lib/Sema/SemaExprCXX.cpp | 2 + lib/Sema/SemaLambda.cpp | 2 +- lib/Sema/SemaLookup.cpp | 43 ++--- lib/Sema/SemaOpenMP.cpp | 200 +++++++++++++-------- lib/Sema/SemaOverload.cpp | 29 +++ lib/Sema/SemaStmt.cpp | 65 +++---- lib/Sema/SemaStmtAttr.cpp | 36 ++-- lib/Sema/SemaTemplate.cpp | 25 ++- lib/Sema/SemaTemplateVariadic.cpp | 2 +- lib/Sema/TreeTransform.h | 15 +- lib/Serialization/ASTReaderDecl.cpp | 2 +- lib/Serialization/ASTReaderStmt.cpp | 2 +- lib/Serialization/ASTWriterDecl.cpp | 5 +- test/CXX/class.access/class.friend/p1.cpp | 5 +- test/CXX/class.access/class.friend/p11.cpp | 11 +- test/CXX/class/class.friend/p1.cpp | 4 +- test/CXX/drs/dr1xx.cpp | 5 +- test/CXX/drs/dr5xx.cpp | 8 +- test/CXX/drs/dr6xx.cpp | 42 ++++- test/CXX/stmt.stmt/stmt.select/p3.cpp | 9 +- test/CodeCompletion/pragma-macro-token-caching.c | 2 +- test/CodeGen/avx512vbmi2-builtins.c | 22 +-- test/CodeGen/avx512vlvbmi2-builtins.c | 40 ++--- test/CodeGen/default-function-attr.c | 6 + test/CodeGen/lto-newpm-pipeline.c | 3 + .../debug-info-class-limited-plugin.test | 2 +- test/CodeGenCXX/pragma-pipeline.cpp | 47 +++++ test/CodeGenObjC/externally-retained.m | 115 ++++++++++++ test/Driver/fsanitize.c | 8 + ...hip-binding.hip => hip-link-shared-library.hip} | 11 +- ...pragma-attribute-supported-attributes-list.test | 1 + test/Modules/autolink.m | 4 +- ...istribute_parallel_for_lastprivate_messages.cpp | 20 +-- .../distribute_parallel_for_reduction_messages.cpp | 28 +-- ...bute_parallel_for_simd_lastprivate_messages.cpp | 20 +-- ...istribute_parallel_for_simd_linear_messages.cpp | 4 +- ...ribute_parallel_for_simd_reduction_messages.cpp | 28 +-- test/OpenMP/distribute_private_messages.cpp | 16 +- .../distribute_simd_lastprivate_messages.cpp | 20 +-- test/OpenMP/distribute_simd_linear_messages.cpp | 4 +- test/OpenMP/distribute_simd_reduction_messages.cpp | 28 +-- test/OpenMP/for_lastprivate_messages.cpp | 20 +-- test/OpenMP/for_linear_messages.cpp | 4 +- test/OpenMP/for_reduction_messages.cpp | 28 +-- test/OpenMP/for_simd_lastprivate_messages.cpp | 20 +-- test/OpenMP/for_simd_linear_messages.cpp | 4 +- test/OpenMP/for_simd_reduction_messages.cpp | 28 +-- test/OpenMP/nvptx_data_sharing.cpp | 4 +- ...tx_distribute_parallel_generic_mode_codegen.cpp | 4 +- test/OpenMP/nvptx_parallel_codegen.cpp | 4 +- test/OpenMP/nvptx_parallel_for_codegen.cpp | 4 +- test/OpenMP/nvptx_target_codegen.cpp | 2 +- .../nvptx_target_parallel_reduction_codegen.cpp | 6 +- .../nvptx_target_teams_distribute_codegen.cpp | 2 +- ...arget_teams_distribute_parallel_for_codegen.cpp | 4 +- ..._teams_distribute_parallel_for_simd_codegen.cpp | 4 +- test/OpenMP/nvptx_teams_codegen.cpp | 8 +- test/OpenMP/nvptx_teams_reduction_codegen.cpp | 6 +- test/OpenMP/parallel_default_messages.cpp | 12 +- test/OpenMP/parallel_for_lastprivate_messages.cpp | 20 +-- test/OpenMP/parallel_for_linear_messages.cpp | 4 +- test/OpenMP/parallel_for_reduction_messages.cpp | 28 +-- .../parallel_for_simd_lastprivate_messages.cpp | 20 +-- test/OpenMP/parallel_for_simd_linear_messages.cpp | 4 +- .../parallel_for_simd_reduction_messages.cpp | 28 +-- test/OpenMP/parallel_private_messages.cpp | 16 +- test/OpenMP/parallel_reduction_messages.cpp | 28 +-- .../parallel_sections_lastprivate_messages.cpp | 20 +-- .../parallel_sections_reduction_messages.cpp | 28 +-- test/OpenMP/sections_lastprivate_messages.cpp | 20 +-- test/OpenMP/sections_reduction_messages.cpp | 28 +-- test/OpenMP/simd_lastprivate_messages.cpp | 20 +-- test/OpenMP/simd_linear_messages.cpp | 4 +- test/OpenMP/simd_reduction_messages.cpp | 28 +-- .../target_parallel_for_lastprivate_messages.cpp | 20 +-- .../OpenMP/target_parallel_for_linear_messages.cpp | 4 +- .../target_parallel_for_reduction_messages.cpp | 28 +-- ...rget_parallel_for_simd_lastprivate_messages.cpp | 20 +-- .../target_parallel_for_simd_linear_messages.cpp | 4 +- ...target_parallel_for_simd_reduction_messages.cpp | 28 +-- test/OpenMP/target_parallel_private_messages.cpp | 26 +-- test/OpenMP/target_parallel_reduction_messages.cpp | 28 +-- test/OpenMP/target_reduction_messages.cpp | 28 +-- test/OpenMP/target_simd_lastprivate_messages.cpp | 20 +-- test/OpenMP/target_simd_linear_messages.cpp | 4 +- test/OpenMP/target_simd_reduction_messages.cpp | 28 +-- ...arget_teams_distribute_lastprivate_messages.cpp | 20 +-- ...istribute_parallel_for_lastprivate_messages.cpp | 20 +-- ...ms_distribute_parallel_for_private_messages.cpp | 16 +- ..._distribute_parallel_for_reduction_messages.cpp | 28 +-- ...bute_parallel_for_simd_lastprivate_messages.cpp | 20 +-- ...istribute_parallel_for_simd_linear_messages.cpp | 4 +- ...stribute_parallel_for_simd_private_messages.cpp | 16 +- ...ribute_parallel_for_simd_reduction_messages.cpp | 28 +-- .../target_teams_distribute_private_messages.cpp | 16 +- .../target_teams_distribute_reduction_messages.cpp | 28 +-- ..._teams_distribute_simd_lastprivate_messages.cpp | 20 +-- ...arget_teams_distribute_simd_linear_messages.cpp | 4 +- ...rget_teams_distribute_simd_private_messages.cpp | 16 +- ...et_teams_distribute_simd_reduction_messages.cpp | 28 +-- test/OpenMP/target_teams_private_messages.cpp | 16 +- test/OpenMP/target_teams_reduction_messages.cpp | 28 +-- test/OpenMP/task_in_reduction_message.cpp | 28 +-- test/OpenMP/task_private_messages.cpp | 16 +- test/OpenMP/taskgroup_task_reduction_messages.cpp | 28 +-- test/OpenMP/taskloop_in_reduction_messages.cpp | 28 +-- test/OpenMP/taskloop_lastprivate_messages.cpp | 20 +-- test/OpenMP/taskloop_reduction_messages.cpp | 28 +-- .../OpenMP/taskloop_simd_in_reduction_messages.cpp | 28 +-- test/OpenMP/taskloop_simd_lastprivate_messages.cpp | 20 +-- test/OpenMP/taskloop_simd_linear_messages.cpp | 4 +- test/OpenMP/taskloop_simd_reduction_messages.cpp | 28 +-- .../teams_distribute_lastprivate_messages.cpp | 20 +-- ...istribute_parallel_for_lastprivate_messages.cpp | 20 +-- ...ms_distribute_parallel_for_private_messages.cpp | 16 +- ..._distribute_parallel_for_reduction_messages.cpp | 28 +-- ...bute_parallel_for_simd_lastprivate_messages.cpp | 20 +-- ...istribute_parallel_for_simd_linear_messages.cpp | 4 +- ...stribute_parallel_for_simd_private_messages.cpp | 16 +- ...ribute_parallel_for_simd_reduction_messages.cpp | 28 +-- test/OpenMP/teams_distribute_private_messages.cpp | 16 +- .../OpenMP/teams_distribute_reduction_messages.cpp | 28 +-- .../teams_distribute_simd_lastprivate_messages.cpp | 20 +-- .../teams_distribute_simd_linear_messages.cpp | 4 +- .../teams_distribute_simd_private_messages.cpp | 16 +- .../teams_distribute_simd_reduction_messages.cpp | 28 +-- test/OpenMP/teams_private_messages.cpp | 16 +- test/OpenMP/teams_reduction_messages.cpp | 28 +-- test/Parser/cxx1z-init-statement.cpp | 8 +- test/Parser/pragma-loop.cpp | 2 +- test/Parser/pragma-pipeline.cpp | 33 ++++ test/Parser/pragma-unroll-and-jam.cpp | 2 +- test/Parser/switch-recovery.cpp | 2 +- test/Sema/pragma-pipeline.cpp | 34 ++++ test/SemaCXX/alias-template.cpp | 6 +- test/SemaCXX/cxx1y-deduced-return-type.cpp | 8 +- test/SemaCXX/cxx1z-init-statement.cpp | 8 +- test/SemaCXX/for-range-examples.cpp | 2 +- test/SemaCXX/friend.cpp | 38 ++-- test/SemaCXX/warn-unused-result.cpp | 40 +++++ test/SemaObjC/externally-retained-no-arc.m | 7 + test/SemaObjC/externally-retained.m | 114 ++++++++++++ unittests/Format/FormatTestJS.cpp | 2 + utils/ClangVisualizers/clang.natvis | 82 +++++++-- www/cxx_dr_status.html | 2 +- 186 files changed, 2397 insertions(+), 1350 deletions(-) create mode 100644 test/CodeGen/default-function-attr.c create mode 100644 test/CodeGenCXX/pragma-pipeline.cpp create mode 100644 test/CodeGenObjC/externally-retained.m copy test/Driver/{hip-binding.hip => hip-link-shared-library.hip} (71%) create mode 100644 test/Parser/pragma-pipeline.cpp create mode 100644 test/Sema/pragma-pipeline.cpp create mode 100644 test/SemaObjC/externally-retained-no-arc.m create mode 100644 test/SemaObjC/externally-retained.m