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 b144f77166 Updating branches/google/stable to r309660 adds 16a0981ecc [ASTMatchers] Allow forField to match indirect fields. adds 076d1be85c [x86][inline-asm]Allow a pack of Control Debug to be properl [...] adds 3f5d3a1f08 [OpenCL] Add missing subgroup builtins adds 6d92431e6c [Tooling] Add LLVM_NODISCARD to Replacements::merge adds e09d41e3a1 clang-format: [JS] handle object types in extends positions. adds e751234b0a clang-format: [JS] support default imports. adds 8a15b0c594 clang-format: [JS] consistenly format enums. adds 3823d469d5 clang-format: [JS] handle union types in arrow functions. adds ace45285eb clang-format: [JS] whitespace between keywords and parenthes [...] adds b42a4ce357 clang-format: [JS] prefer wrapping chains over empty literals. adds 7e4d8e9789 clang-format: [JS] no whitespace between typeof operator and [...] adds b13db10f9e [Sema] Fix lax conversion between non ext vectors adds b6749408f2 [CMake] Include sancov tool in Fuchsia toolchain adds 1e94034bfc Thread Safety Analysis: fix assert_capability. adds 64d9fef921 Revert "Thread Safety Analysis: fix assert_capability." adds 2982256387 [clang-diff] Move data declarations to the public header adds 6a453c4b1e [clang-diff] Renames, NFC adds b3d4dafef1 Fix creating bitcasts with wrong address space adds d93a902201 [clang] Change the condition of unnecessary packed warning adds af1df2901b [Headers][Darwin] Allow #include_next<float.h> to work on Da [...] adds bbc1a64188 [Driver] Disable static C++ library support on Fuchsia adds 67df222713 [CMake] Include llvm-objcopy tool in Fuchsia toolchain adds b24e937565 [Bash-autocompletion] Add comment to test so that it is easi [...] adds d7be359ae9 Use VFS operations in FileManager::makeAbsolutePath. adds 5ef8aefaba [StaticAnalyzer] Fix false positives for unreachable code in [...] adds 81937d827d Unify and simplify the behavior of the hasDeclaration matcher. adds 759527faf6 [rename] NFC, extract symbol canonicalization logic into function adds d9009e558a Define _GNU_SOURCE for RTEMS c++ adds 63a4e48486 [ubsan] Have -fsanitize=vptr emit a null check if -fsanitize [...] adds f4fc708562 [docs] Remove accidental unindent to appease the sphinx bot adds 82fcdc620f [UBSan] Provide default blacklist filename for UBSan adds 49dbbee5de Update for llvm change. adds 9e9e15f181 Remove unused diagnostic. NFC. adds 2f1c6854c2 [coverage] Make smaller regions for the first case of a switch. adds 11184d0faa [Sema] Add a comment on an identified bug on default arguments. adds 9c710be28d Update for llvm change. adds cf4c953d2c [mips] Add support -m(no-)embedded-data option adds 77c8d2a783 [clang-format] Fix parsing of <>-style proto options adds 1557c7772f [mips] Implement -muninit-const-in-rodata adds d18955d320 [clang-format] Fix indent of 'key <...>' and 'key {...}' in [...] adds cbee4e5f53 [mips] Fixup r309940. adds 71ca9f8a52 Fix some typos in the documentation. adds baa7f4296b [diagtool] Add ability to pass in the id and return the name [...] adds fc39168c30 Revert r304836. adds 896feaf77b [Analyzer] Add support for displaying cross-file diagnostic [...] adds 03a03a463f Don't emit undefined-internal warnings for CXXDeductionGuideDecls. adds 0fe60aaada Revert accidentally-committed files. adds cd890be4bd [mips] Revert r309942 & r309940 adds 764e1d8251 Use "foo-12345.o" instead of "foo.o-12345" as temporary file name. adds 54657e3db7 [coverage] Special-case calls to noreturn functions. adds a00fc3d03e Enable AddressSanitizer for Fuchsia targets adds 469977f45c [Driver][Darwin] Pass -munwind-table when !UseSjLjExceptions. adds aa72e29f10 [Coverage] Precise region termination with deferred regions adds 7a3bb94f5b [Driver][Fuchsia] Pass --hash-style=gnu to the linker adds 7989554fd7 Revert "[coverage] Special-case calls to noreturn functions." adds 08ca17598d Revert r309984, "Use "foo-12345.o" instead of "foo.o-12345" [...] adds af02779250 [mips] Code formatting fix. NFC adds 225dff51ae [mips] Fix typo (missed space) in the warning message adds b376dd59b0 Fix typo and update documentation. adds c4f2a80fd3 [Driver] Error if ARM mode was selected explicitly for M-pro [...] adds 5e564d35f9 Revert r304953 for release 5.0.0 adds 7777ca006a clang-format: [JS] support fields with case/switch/default labels. adds 84162ace30 Add OpenCL 2.0 atomic builtin functions as Clang builtin adds 46512077fc [ASTMatcher] Add handling for DeducedType to HasDeclarationMatcher adds 09737a9680 CFI: blacklist STL allocate() from unrelated-casts adds 06e5f9a555 [OPENMP] Unify generation of outlined function calls. adds f4697f37f5 Revert "CFI: blacklist STL allocate() from unrelated-casts" adds cf45efc918 [OPENMP][DEBUG] Set proper address space info if required by [...] adds 59eb1f7e64 Reland "CFI: blacklist STL allocate() from unrelated-casts" adds b80084e670 [OPENMP] Fix for pacify buildbots, NFC. adds 04faf09089 Revert "Reland "CFI: blacklist STL allocate() from unrelated [...] adds 0980666466 Reland "CFI: blacklist STL allocate() from unrelated-casts" adds 3ae5f4e75b Revert "[OPENMP] Fix for pacify buildbots, NFC." adds 91be796f6d Revert "[OPENMP][DEBUG] Set proper address space info if req [...] adds 1889f1d2b9 [libFuzzer] add -fsanitize-coverage-pc-table to -fsanitize=fuzzer adds 4ae50e81b9 [Support] Use FILE_SHARE_DELETE to fix RemoveFileOnSignal on [...] adds 0bebb0619b [libclang] Determinize order of platform availability attrs adds 9ceccf9787 Clean up some lambda conversion operator code, NFC adds e6ae7627de Debug Info: Set the DICompileUnit's isOptimized flag when co [...] adds 4b98df85ac Revert "[Coverage] Precise region termination with deferred [...] adds 7ee7a5652f [ODRHash] Treat some non-templated classes as templated. adds b9952538c1 [OpenCL] Remove extra select functions from opencl-c.h adds c5d8b4291b [X86] Enable isel to use the PAUSE instruction even when SSE [...] adds 017fd0bd21 [test] Remove an unintentional -x cl flag in an aarch64-wind [...] adds f9faef8fd4 Enable LLVM asan support for NetBSD/i386 adds 931925b513 [OpenMP] Add flag for specifying the target device architect [...] adds d706ad5f51 Add some missing -no-canonical-prefixes. adds 1f3fedc01c Non-functional change. Fix previous patch D34784. adds e617862d31 [OpenMP] Integrate OpenMP target region cubin into host binary adds d3e3cbe1a7 [OpenMP] Pass -v to PTXAS if it was passed to the driver. adds d73b9aac80 Mark static variables static; NFC. adds 0ba6400caf [OpenMP] Make OpenMP generated code for the NVIDIA device re [...] adds ef2aa4f145 [AArch64] Ignore stdcall and similar on aarch64/windows adds 8d6e5d9647 [OpenMP] Prevent emission of exception handling code when us [...] adds 82579b76c6 [OpenMP] Error when trying to offload to an unsupported arch [...] adds 6dad790d8f This adds the argument --dump-ir to clang-import-test, which [...] adds 1da06c3dc3 [codeview] Fix class name formatting adds e21edc4d3c Fix openmp-offload.c test on Windows new 0a83cff2d3 Updating branches/google/stable to r310337
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: cmake/caches/Fuchsia-stage2.cmake | 6 + docs/InternalsManual.rst | 12 +- docs/LanguageExtensions.rst | 8 +- docs/LibASTMatchersReference.html | 27 ++ docs/ReleaseNotes.rst | 31 +- docs/UndefinedBehaviorSanitizer.rst | 6 +- include/clang/AST/Expr.h | 23 +- include/clang/ASTMatchers/ASTMatchers.h | 53 ++- include/clang/ASTMatchers/ASTMatchersInternal.h | 127 +++++--- include/clang/Basic/Builtins.def | 21 +- include/clang/Basic/BuiltinsX86.def | 4 +- include/clang/Basic/DiagnosticDriverKinds.td | 13 +- include/clang/Basic/DiagnosticParseKinds.td | 2 - include/clang/Basic/DiagnosticSemaKinds.td | 8 +- include/clang/Basic/SyncScope.h | 39 +++ include/clang/Driver/Options.td | 14 +- include/clang/Driver/ToolChain.h | 13 +- include/clang/StaticAnalyzer/Core/Analyses.def | 5 +- include/clang/Tooling/ASTDiff/ASTDiff.h | 58 +++- include/clang/Tooling/ASTDiff/ASTDiffInternal.h | 148 +-------- include/clang/Tooling/Core/Replacement.h | 2 +- .../Tooling/Refactoring/Rename/USRFindingAction.h | 9 + lib/AST/ASTContext.cpp | 9 +- lib/AST/Decl.cpp | 4 +- lib/AST/Expr.cpp | 31 +- lib/AST/ODRHash.cpp | 8 +- lib/AST/RecordLayoutBuilder.cpp | 26 +- lib/AST/StmtPrinter.cpp | 6 +- lib/Basic/FileManager.cpp | 2 +- lib/Basic/Targets/AArch64.cpp | 17 + lib/Basic/Targets/AArch64.h | 2 + lib/Basic/Targets/AMDGPU.cpp | 2 + lib/Basic/Targets/Mips.cpp | 3 - lib/Basic/Targets/Mips.h | 5 +- lib/Basic/Targets/OSTargets.h | 2 + lib/Basic/Targets/X86.cpp | 1 + lib/CodeGen/BackendUtil.cpp | 22 +- lib/CodeGen/CGAtomic.cpp | 186 ++++++++--- lib/CodeGen/CGBuiltin.cpp | 19 ++ lib/CodeGen/CGCall.cpp | 6 +- lib/CodeGen/CGClass.cpp | 24 +- lib/CodeGen/CGDebugInfo.cpp | 37 ++- lib/CodeGen/CGDebugInfo.h | 3 + lib/CodeGen/CGExpr.cpp | 10 +- lib/CodeGen/CGOpenMPRuntime.cpp | 20 +- lib/CodeGen/CGOpenMPRuntime.h | 6 + lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 10 +- lib/CodeGen/CGStmtOpenMP.cpp | 7 +- lib/CodeGen/CodeGenFunction.cpp | 39 ++- lib/CodeGen/CodeGenFunction.h | 3 +- lib/CodeGen/CoverageMappingGen.cpp | 19 +- lib/CodeGen/TargetInfo.cpp | 27 ++ lib/CodeGen/TargetInfo.h | 5 + lib/Driver/Compilation.cpp | 11 +- lib/Driver/Driver.cpp | 8 +- lib/Driver/SanitizerArgs.cpp | 21 +- lib/Driver/ToolChain.cpp | 76 ++++- lib/Driver/ToolChains/Arch/Mips.cpp | 4 +- lib/Driver/ToolChains/Clang.cpp | 25 +- lib/Driver/ToolChains/CommonArgs.cpp | 125 +++++++ lib/Driver/ToolChains/CommonArgs.h | 7 + lib/Driver/ToolChains/CrossWindows.cpp | 2 +- lib/Driver/ToolChains/CrossWindows.h | 2 +- lib/Driver/ToolChains/Cuda.cpp | 120 ++++++- lib/Driver/ToolChains/Cuda.h | 20 +- lib/Driver/ToolChains/Darwin.cpp | 4 +- lib/Driver/ToolChains/Darwin.h | 2 +- lib/Driver/ToolChains/Fuchsia.cpp | 38 ++- lib/Driver/ToolChains/Gnu.cpp | 127 +------- lib/Driver/ToolChains/Gnu.h | 2 +- lib/Driver/ToolChains/MSVC.cpp | 2 +- lib/Driver/ToolChains/MSVC.h | 2 +- lib/Driver/ToolChains/MinGW.cpp | 2 +- lib/Driver/ToolChains/MinGW.h | 2 +- lib/Driver/ToolChains/NetBSD.cpp | 3 +- lib/Driver/ToolChains/NetBSD.h | 5 +- lib/Format/ContinuationIndenter.cpp | 5 +- lib/Format/FormatToken.h | 4 +- lib/Format/SortJavaScriptImports.cpp | 4 +- lib/Format/TokenAnnotator.cpp | 14 +- lib/Format/UnwrappedLineParser.cpp | 34 ++ lib/Frontend/CompilerInvocation.cpp | 16 +- lib/Frontend/InitPreprocessor.cpp | 13 + lib/Headers/float.h | 9 + lib/Headers/opencl-c.h | 359 ++------------------- lib/Parse/ParseStmtAsm.cpp | 3 +- lib/Rewrite/HTMLRewrite.cpp | 5 + lib/Sema/Sema.cpp | 3 + lib/Sema/SemaChecking.cpp | 126 +++++++- lib/Sema/SemaExpr.cpp | 18 +- .../Checkers/UnreachableCodeChecker.cpp | 2 +- lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp | 314 ++++++++++++------ lib/Tooling/ASTDiff/ASTDiff.cpp | 268 ++++++++++----- .../Refactoring/Rename/USRFindingAction.cpp | 23 +- .../diagnostics/diag-cross-file-boundaries.c | 12 - test/Analysis/html-diag-singlefile.c | 14 + ...ss-file-boundaries.h => html-diag-singlefile.h} | 0 test/Analysis/html-diags-analyze-headers.c | 10 + test/Analysis/html-diags-analyze-headers.h | 5 + test/Analysis/html-diags-multifile.c | 5 +- test/Analysis/html-diags.c | 6 + test/Analysis/unreachable-code-path.c | 10 + test/CodeGen/cfi-unrelated-cast.cpp | 37 +++ test/CodeGen/debug-info-lto.c | 4 + test/CodeGen/mips-madd4.c | 87 ----- test/CodeGen/ms-inline-asm.c | 13 + test/CodeGen/pause.c | 11 + test/CodeGenCXX/catch-undef-behavior.cpp | 4 +- .../debug-info-codeview-display-name.cpp | 7 +- test/CodeGenCXX/ubsan-type-checks.cpp | 15 +- test/CodeGenCXX/warn-padded-packed.cpp | 93 +++++- test/CodeGenOpenCL/atomic-ops-libcall.cl | 37 +++ test/CodeGenOpenCL/atomic-ops.cl | 176 ++++++++++ test/CodeGenOpenCL/cl20-device-side-enqueue.cl | 5 + test/Coverage/html-diagnostics.c | 7 + ...-diagnostics.c => html-multifile-diagnostics.c} | 17 +- test/Coverage/html-multifile-diagnostics.h | 3 + test/CoverageMapping/switch.cpp | 22 +- test/Driver/arm-thumb-only-cores.c | 12 + test/Driver/autocomplete.c | 4 + test/Driver/clang-translation.c | 8 + test/Driver/cuda-external-tools.cu | 6 + test/Driver/fsanitize.c | 8 +- test/Driver/fuchsia.c | 27 ++ test/Driver/fuchsia.cpp | 4 +- test/Driver/fuzzer.c | 1 + test/Driver/mips-features.c | 15 + test/Driver/mips-gpopt-warning.c | 2 +- test/Driver/openmp-offload.c | 80 +++++ test/Driver/rtti-options.cpp | 12 +- test/Frontend/remove-file-on-signal.c | 7 + test/Import/local-struct/Inputs/Callee.cpp | 12 + test/Import/local-struct/test.cpp | 8 + test/Import/struct-layout/Inputs/Callee.cpp | 9 + test/Import/struct-layout/test.cpp | 6 + test/Misc/find-diagnostic-id.c | 4 +- test/OpenMP/ordered_codegen.cpp | 4 +- test/OpenMP/target_messages.cpp | 2 + test/OpenMP/target_parallel_no_exceptions.cpp | 18 ++ .../arm-windows-calling-convention-handling.c | 1 + test/Preprocessor/init.c | 21 +- test/Preprocessor/predefined-macros.c | 10 +- test/Sema/vector-cast.c | 8 + .../cxx1z-class-template-argument-deduction.cpp | 25 +- test/SemaOpenCL/atomic-ops.cl | 161 +++++++++ test/SemaOpenCL/cl20-device-side-enqueue.cl | 32 ++ tools/clang-import-test/clang-import-test.cpp | 14 +- tools/diagtool/FindDiagnosticID.cpp | 18 +- tools/driver/cc1as_main.cpp | 2 +- tools/libclang/CIndex.cpp | 3 +- unittests/AST/ASTImporterTest.cpp | 42 +-- unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 4 + unittests/ASTMatchers/ASTMatchersTraversalTest.cpp | 43 ++- unittests/Basic/FileManagerTest.cpp | 27 ++ unittests/Format/FormatTestJS.cpp | 47 +++ unittests/Format/FormatTestProto.cpp | 18 ++ unittests/Format/FormatTestTextProto.cpp | 44 +++ unittests/Format/SortImportsTestJS.cpp | 8 + www/analyzer/open_projects.html | 7 - 159 files changed, 3070 insertions(+), 1334 deletions(-) create mode 100644 include/clang/Basic/SyncScope.h delete mode 100644 test/Analysis/diagnostics/diag-cross-file-boundaries.c create mode 100644 test/Analysis/html-diag-singlefile.c rename test/Analysis/{diagnostics/diag-cross-file-boundaries.h => html-diag-single [...] create mode 100644 test/Analysis/html-diags-analyze-headers.c create mode 100644 test/Analysis/html-diags-analyze-headers.h create mode 100644 test/CodeGen/cfi-unrelated-cast.cpp create mode 100644 test/CodeGen/debug-info-lto.c delete mode 100644 test/CodeGen/mips-madd4.c create mode 100644 test/CodeGen/pause.c create mode 100644 test/CodeGenOpenCL/atomic-ops-libcall.cl create mode 100644 test/CodeGenOpenCL/atomic-ops.cl copy test/Coverage/{html-diagnostics.c => html-multifile-diagnostics.c} (59%) create mode 100644 test/Coverage/html-multifile-diagnostics.h create mode 100644 test/Driver/arm-thumb-only-cores.c create mode 100644 test/Frontend/remove-file-on-signal.c create mode 100644 test/Import/local-struct/Inputs/Callee.cpp create mode 100644 test/Import/local-struct/test.cpp create mode 100644 test/Import/struct-layout/Inputs/Callee.cpp create mode 100644 test/Import/struct-layout/test.cpp create mode 100644 test/OpenMP/target_parallel_no_exceptions.cpp create mode 100644 test/SemaOpenCL/atomic-ops.cl