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 645eb33979 Updating branches/google/stable to r298696 adds 456084416f [libclang] Bury dead TemporaryFiles adds 03276d3175 [analyzer] Add MisusedMovedObjectChecker for detecting use-a [...] adds 903855e8e9 [analyzer] MisusedMovedObject: Remove deprecated callback. NFC adds 77d9e02b33 [OpenCL][Bug 10573] Don't set CXXOperatorNames flag adds 91167dbab2 Fix MSVC 'not all control paths return a value' warning. adds e5ddc0b8ca Fix a test so that it actually checks the output. adds 3aa12da422 [ODRHash] Add error messages for mismatched parameters in methods. adds 29385a0c39 [ODRHash] Add support for array and decayed types. adds 949f2b188e Add preprocessor defines for a bare powerpc64le triple/cpu. [...] adds 6a69439a01 __BIGGEST_ALIGNMENT__ has always been 16 on all power platfo [...] adds 9950a2ccb2 Add the _CALL_LINUX preprocessor define for ppc linux platforms. adds d939951427 [AMDGPU] Switch address space mapping by triple environment amdgiz adds 7e7626a7ef Define __HAVE_BSWAP__ on ppc to match gcc since we support b [...] adds 3896b8c2cc Add the __LONGDOUBLE128 define for ppc targets that have 128 [...] adds ec06c1d2ef Update the comment on not yet generated preprocessor defines [...] adds c1eaf2a7e2 [AMDGPU] Make AMDGPUTargetInfo::AS private adds ff19b51066 _CALL_LINUX is only defined on 64-bit ppc linux platforms, n [...] adds bcaf7f2abe [coroutines] Add codegen for await and yield expressions adds 099af3a116 Revert 298754 and 298742. adds a5c67c5813 Revert r298742 "[ODRHash] Add error messages for mismatched [...] adds 268f12fecb [XRay][clang] Remove dependency on libatomic for XRay builds adds eebc932597 [OpenCL] Extended mapping of parcing CodeGen arguments adds 10d0b66f7c Publish one more parser RAII for external use. adds 35e89432a6 [ARM] Add a driver option for +no-neg-immediates adds 75f794b369 Look through CXXBindTemporaryExprs when checking CXXFunction [...] adds eec6cbfc8d Encapsulate FPOptions and use it consistently adds 8d45096ff7 Add [[clang::suppress(rule, ...)]] attribute adds 0bccfd904f [coroutines] Handle get_return_object_on_allocation_failure adds 0be968dcda Use BuildReturnStmt in SemaCoroutine to unbreak sanitizer tests. adds 0ba785f458 [libclang] Fix crash in member access code completion with i [...] adds 121956bde3 FileManager: mark virtual file entries as valid entries adds 54a8f5f00e [ASTMatchers] add typeAliasTemplateDecl matcher. adds ad6a872e1e Added `applyAtomicChanges` function. adds 9dcb677ec4 Try to unbreak buildbots after r298913. adds 45d8e8a911 clangToolingRefactor: Add libdeps upon clangFormat in r298913. adds 966ccc5a65 [analyzer] When creating a temporary object, properly copy t [...] adds 1a78b34e69 [analyzer] Fix symbolication for unknown unary increment/dec [...] adds d4fc66ef14 Default enable the rtm feature only on skylake and later for [...] adds c21e46900a Revert "clangToolingRefactor: Add libdeps upon clangFormat i [...] adds 254d7aee53 Revert "Try to unbreak buildbots after r298913." adds 83b923e707 Revert "Added `applyAtomicChanges` function." adds 51f8b6a982 [OpenCL] Added parsing for OpenCL vector types. adds d481ee522f Reverted r298976 [OpenCL] Added parsing for OpenCL vector types. adds 4c5e59fede Reapplied r298976 [OpenCL] Added parsing for OpenCL vector types. adds 1895a41ddd Test Commit adds b18f3efe98 [Objective-C] C++ Classes with __weak Members non-POD Types [...] adds f2760ac904 [PCH] Attach instance's dependency collectors to PCH externa [...] adds 16b7f511e8 [Objective-C] Fix __weak type traits with -fobjc-weak adds f884a84581 [Objective-C] Fix "repeated use of weak" warning with -fobjc-weak adds fa2e39d0da Unbreak windows bot. adds 1cd6beccb6 [Objective-C] Fix "weak-unavailable" warning with -fobjc-weak adds 02bf8398f0 [Objective-C] Miscellaneous -fobjc-weak Fixes adds 66c3ea0d3b Use FPContractModeKind universally adds 38e2463d97 Revert "Use FPContractModeKind universally" adds 922e16babe Use FPContractModeKind universally adds 6cecba61e4 Add the -grecord-gcc-switches option and pass the flags down [...] adds ca9fad67af [XRay] Add -fxray-{always,never}-instrument= flags to clang adds e281ba0caa [XRay][clang] Use llvm::to_string instead of std::string adds 84aae4674a Use 'unsigned' for enum bitfields adds b048bc86e8 [APInt] Remove references to integerPartWidth and integerPar [...] adds 4b446668ab Add `replace` interface with range in AtomicChange. adds 225e636cbc [Sema][ObjC] Avoid the "type of property does not match type [...] adds 0842d4121e Move NumRegParameters Module Flag. NFCI. adds 70b6167e97 [ARC][ObjC++] Use ObjC semantic rules for comparisons betwee [...] adds 1ddeae4808 Spelling mistakes in comments. NFCI. (PR27635) adds 7463d9e8e3 Correcting a typo; NFC. adds 70854ab835 Clang changes for alloc_align attribute adds cc271a0818 [XRay][clang] Fix the -fxray-instruction-threshold flag processing adds 7b9e8f0e19 fixup: use CHECK for non-atttribute sets adds b429dfb8fa Fix typo, defind -> defined. adds 1374706cc9 Update x86-64 ABI link with the one from linuxbase.org since [...] adds 462da6c855 [ThinLTO] Set up lto::Config properly for codegen in ThinLTO [...] adds d91adac64f Add triple to new test adds f4d6c2a6cc Fix new compile command in test adds 5442164add [asan] Turn -fsanitize-address-use-after-scope on by default [...] adds 396e1d2a9b Add more target triples to test adds a039adfbda Add target-cpu adds 96e80d67a8 Revert test added in r299152 adds dd30a590c2 [msan] Turn off lifetime markers even when use after scope c [...] adds 1c1154229a [OpenCL] Do not generate "kernel_arg_type_qual" metadata for [...] adds 33daf6c31d Strip trailing whitespace adds 74b9bfcb50 Spelling mistakes in comments. NFCI. adds 39309450ec clang-format: [JavaScript] Ignore QT keywords. adds c18296a66d clang-format vs plugin support for Visual Studio 2017 adds b8297df0f9 clang-format: Fix post-commit review comment of r299204, use [...] adds ef8a2a5303 Add back test for r299152 adds 40be91d5ff [Modules][PCH] Serialize #pragma pack adds 59ea2edf0b [mips][msa] Range adjustment for ldi_b builtin function operand adds 81c8c1c8c9 [Sema][X86] Update immediate check for gather/scatter prefet [...] adds c3deccbb4f Add/update PIE defaults for OpenBSD. adds 03c6593ecc [ThinLTO] Handle -emit-llvm* in ThinLTO backends adds 256dc09899 [coroutines] Add cleanup for compiler injected objects/alloc [...] adds 5285209f96 [ObjC++] Use the correct EH personality in GNU mode adds d11ae8abf6 [Driver] Don't crash on invalid values of -mrelocation-model=. adds 919ac41f65 [NFC, Scoped Enum] Convert Sema::ExpressionEvaluationContext [...] adds c6cc829ed2 [X86] Add __extension__ to f16c macro intrinsics to suppress [...] adds fbc9144963 [AVX-512] Fix some intrinsic macros that use the wrong macro [...] adds ed6c54cb64 [AVX-512] Fix a couple more intrinsic macros I missed in r299346. adds 420357ab68 [ASTImporter] Lookup SearchName instead of Name adds 1542986d54 [ASTImporter] Fix for importing unnamed structs adds f117b13222 Enhance -Wshadow to warn when shadowing typedefs or type aliases adds 31e00327a8 [TargetInfo] Use llvm::alignOf() instead of rewriting it. NFCI. adds e81416c533 [coroutines] Fix rebuilding of implicit and dependent corout [...] adds 34c48b484b Revert r299321 '[X86] Add __extension__ to f16c macro intrin [...] adds 955c08491c Revert r299355 "[ASTImporter] Fix for importing unnamed structs" adds 68424dd638 Recommit r299321 '[X86] Add __extension__ to f16c macro intr [...] adds 8d92476cc8 Modules/builtins.m requires shell. adds b90806f91c [X86] Remove some code that tries to disable HLE feature. Th [...] adds 4107780903 [X86][Clang] Converting __mm{|256|512}_movm_epi{8|16|32|64} [...] adds f775d2428c Fix problem with test. adds a463701ed2 Preserve vec3 type. adds fa3d6e13f6 [Bug 25404] Fix crash on typedef in OpenCL 2.0 adds 7ddca23839 [X86][inline-asm] Add support for MS 'EVEN' directive adds a64aac47da [fixup][X86][inline-asm] Add support for MS 'EVEN' directive adds fe95f3ca36 [analyzer] Add new Z3 constraint manager backend adds dad9866deb [clang-format] fix crash in NamespaceEndCommentsFixer (PR32438) adds a51d8c8b11 Set FMF for -ffp-contract=fast adds 6abfe5cfd2 Add #pragma clang fp adds 9ec7bba8d0 [Driver] Add option to print the resource directory adds 70b479cba6 Fix sphinx warning from r299470 adds 30febd14fd Another attempt to fix the sphinx warning from r299470 adds 69fb56c4e9 [coroutines] Add coro.end handling adds 2971257756 Don't issue a warning if the shadowing declaration is in a class adds b49003d6f8 [analyzer] alpha.core.Conversion - Fix false positive for 'U [...] adds 77f5ac2153 [OpenCL] Enables passing sampler initializer to function argument adds 9d30cffd63 clang-format: [JS] fix whitespace around "of" operator. adds 6dbc85b44b [OpenCL] Extended diagnostics for atomic initialization adds 2c1528e18a -Wunreachable-code: 'true' and 'false' should not be treated [...] adds 6b003c4c05 clang-format-vsix: Add "Format on Save" feature adds a61d7c54b0 [analyzer] Add a modular constraint system to the CloneDetector adds 727ea63e6e Revert "[analyzer] Add a modular constraint system to the Cl [...] adds bbbe98c73a clang-format: Support formatting utf-8 character literals in [...] adds 1c37f8139b [lit] Fix Analysis test format pickling error adds 677f5363b0 [Driver] Print a newline when invoking `-print-resource-dir` adds 3934d96fb9 Simplify. NFC. adds 11159915e6 [Sema] Update CheckOverload docs adds 81cea5f711 PR16106: Correct the docs to reflect the actual behavior of [...] adds ebceafb928 [Sema] Extend GetSignedVectorType to deal with non ExtVector types adds 4e4a3bcc07 [Sema] Retarget test to a specific platform for consistent d [...] adds 25d97408b5 Fix lambda to block conversion in C++17 by avoiding copy eli [...] adds 0974a6fc55 [ObjC++] Conversions from specialized to non-specialized Obj [...] adds 3a677b92ae Avoid the -Wdocumentation-unknown-command warning in Clang's [...] adds 59d4b1de1a [analyzer] Reland r299544 "Add a modular constraint system t [...] adds 926f659fc8 Fix unused lambda capture. Follow up to r299653. adds 4f684ad2b7 [AMDGPU] Translate reqd_work_group_size into amdgpu_flat_wor [...] adds a852e77ecc [Basic] getColumnNumber returns location of CR+LF on Windows adds e7bf9bd23e [AMDGPU] Temporarily change constant address space from 4 to [...] adds 26d41bffe2 Skip Unicode character expansion in assembly files adds accb521b7d [scan-build-py] merge runner module to analyzer adds 8567c2d9e7 CloneDetection.h: Fix warnings. [-Wdocumentation] adds 49c4c7d799 Sema: prevent __declspec(naked) use on x64 adds 7a351322b4 Implement _interlockedbittestandset as a builtin adds af734ef76c Attempt to fix ms-intrinsics.c test adds bab530ebdc Toolchains: remove crtbegin on xwindows adds c6c9975309 [cfi] Emit __cfi_check stub in the frontend. adds 11c4af2283 [cmake] Support Gentoo install for z3 adds b3ed1c7687 [OPENMP] Fix for PR32333: Crash in call of outlined Function. adds f63663acce Update for lifetime intrinsic signature change adds 0d684b104b Update for AllocaInst construction changes adds c84d5c0f2c Reland "[IR] Make AttributeSetNode public, avoid temporary A [...] adds f07ecb81a8 docs: Use the term "whole-program devirtualization" instead [...] adds c85b133f43 Add more examples to clang-format configuration adds c0d6de8d7d [lsan] Enable LSan on arm Linux, clang part adds e0be7bc05e [clang-format] Handle NSString literals by merging tokens. adds e13796b885 Warn about unused static file scope function template declarations. adds b257ac069f [Parser][ObjC++] Improve diagnostics and recovery when C++ k [...] adds eaaf906b85 Fix PR13910: Don't warn that __builtin_unreachable() is unreachable adds 09db059444 [clang-format] Recognize Java logical shift assignment operator adds 9f266a5e16 Revert temporarily D29877 "Warn about unused static file sco [...] adds 506a43a28e [ASTPrinter] Print nested name specifiers for out-of-line functions adds 44e7dd4bbb [OpenCL] Map default address space to alloca address space adds 3975e67148 [clang-import-test] Lookup inside contexts adds 384745c493 [ExternalASTMerger] Fix the MSVC build adds 8f1ece0456 Add const children() accessors to match the existing non-con [...] adds 94c1c6bb44 Modular Codegen: Add/use a bit in serialized function defini [...] adds fd6174d4ae [ExternalASTMerger] Removed a move constructor to address MS [...] adds a312d25909 Modular Codegen: Support homing debug info for types in modu [...] adds bd957b168a [ODRHash] Improve handling of hash values adds 9003af0a24 [Sema][ObjC] Check whether a variable has a definition, rath [...] adds c69d85ad64 Revert r298824 & r298816, recommit r298742 & r298754 adds e0f4a8bf0f Silence unused variable warning in release builds. adds 9cdcf26331 [IR] Add AttributeSet to hide AttributeSetNode* again, NFC adds 5e5be8ed35 Serialization: Skip check in WritePragmaDiagnosticMappings, NFC adds 91f051ff9b Serialization: Emit the final diagnostic state last, almost NFC adds d3992c554d Serialization: Simulate -Werror settings in implicit modules adds 7c10f25fc0 [Modules] Remove darwin specific code to check for SystemVer [...] adds d6b8079c9e Update Clang for an API change to LLVM's switch case iterato [...] adds debfe0ccd4 Remove Sema::addOverloadedOperatorToUnresolvedSet declaratio [...] adds 963516477b Rangify for loop, NFC. adds b3196fddb0 Add support for __builtin_available to __has_builtin adds e521e1616b [x86] fix AVX FP cmp intrinsic documentation (PR28110) adds a5aa7446dc Moving a C++ test out of Sema and into SemaCXX; NFC. adds 8ae674d121 Revert r300001 "Revert r298824 & r298816, recommit r298742 & [...] adds 88cdb963de Modular Codegen: Separate flags for function and debug info support adds 0f4fb48b66 Fix up test to handle the now split -fmodules-codegen and -f [...] adds 01692f0fd2 Modular Codegen: Include testing for inline asm as well as s [...] adds 5e8a35ff84 [Modules] Enable local submodule visibility for ObjC/C adds f2ee5f1a8e [Driver] Add compiler option to generate a reproducer adds 328c50cd2a [modules] Delay calling DeclMustBeEmitted until it's safe. adds 57860dbd4f [analyzer] Add a check for IvarRegion in getExtraInvalidatedValues adds d4025eed63 [Sema] Add __is_aggregate type-trait adds 87e869da7e [clang-cl] Make all sanitizer flags available in clang-cl adds b4bf2bab1d Update to match LLVM r300135. adds 855a7eedb9 ExternalASTMerger.cpp: Silence another warning. [-Wunused-la [...] adds adafaf3c5b Fix broken test. We can't assume that 2MB of args is enough [...] adds e65ba1f374 [IR] Take func, ret, and arg attrs separately in AttributeList::get adds ce3969a0d1 [analyzer] Simplify values in binary operations a bit more a [...] adds 9f6909a03f Revert "[clang-cl] Make all sanitizer flags available in clang-cl" adds 4dcbb11b6e [analyzer] Add numerous assertions to SVal, SymExpr, and Mem [...] adds dbf1b8007c [analyzer] Enforce super-region classes for various memory regions. adds 419ecbccd8 Re-land "[clang-cl] Make all sanitizer flags available in clang-cl" adds 8439838e05 Use the clang-cl recognized spelling of --target= adds f0d95e3b9d clang-format-vs: Use a separate license.txt copy adds 531e2994c6 Warning-free clang-format plugin install for VS 15.0 adds bb9e1d460c Follow-up to r300225: update ClangFormat.sln to VS2017 adds a60f3e68b9 Follow-up to r300225: update ClangFormat.csproj too adds add1a7ff15 clang-format-vs licence.txt: drop svn:executable adds 08a97a0d0b [CMake] Support building Fuchsia toolchain on Darwin adds 24a137ec64 PR32185: Revert r291512 and add a testcase for PR32185. adds 18974a9561 Diagnose attempt to take address of bitfield members in anon [...] adds 66bf2b03f8 Add test for anonymous struct containing an implicitly priva [...] adds 11a09b4698 [docs] Fix a couple of typos in command line flag help text [...] adds a9ba002f0c [docs] Regenerate diagnostics reference. adds 01734df776 [IR] Make getParamAttributes take argument numbers, not ArgNo+1 adds 07178d535b [Profile] PE binary coverage bug fix adds 3915a28878 Fix PR31934: forming refs to functions with enable_if attrs. adds 419bd7aef0 [ObjC] Fix lifetime markers of loop variable in EmitObjCForC [...] adds 9dca743a4e Revert r300287. adds 17b8d0365d [docs] UBSan: Mention that print_stacktrace=1 is unsupported [...] adds b88cce0504 Remove empty test directory for nonexistent standard clause. adds 88e07d05af Remove unused function /nfc adds 6d39127169 clang/test/CoverageMapping/unused_names.c: Relax an expressi [...] adds 5081217555 Fix use after free error adds 5325399c14 [AMDGPU][GFX9] Set +fp32-denormals for >=gfx900 unless -cl-d [...] adds ce7fdf6027 PR32280: Do not crash on nested initializers. adds 437675cc88 [X86][SSE] Update MOVNTDQA non-temporal loads to generic imp [...] adds 249076e75c Make Gentoo GNU GCC Config override whitespace tolerant adds c4587feee9 [ObjC] Fix lifetime markers of loop variable in EmitObjCForC [...] adds a2bfcbd876 Removing a redundant, but harmless, %s; NFC. adds 779dfcce1f [ubsan] Reduce alignment checking of C++ object pointers adds e18e320ef2 [ubsan] Don't check alignment if the alignment is 1 adds a3cc5f2c2d Modules: Do not serialize #pragma pack state adds 918a342711 [Coverage] Use the new getInstrProfSectionName API (NFC) adds f79091e91f [ObjC] Use empty Objective-C collection literal constants wh [...] adds f578022ce2 Revert "[ObjC] Use empty Objective-C collection literal cons [...] adds f246e7a54b Do not run tests for crash recovery if libstdc++ safe mode i [...] adds b57bc56b77 When we turn on vsx it should also turn on altivec explicitl [...] adds 6b1aefd5a6 [ObjC] Use empty Objective-C collection literal constants wh [...] adds 3c391737ae Add isStaticStorageClass to the dynamic matcher registry so [...] adds 1a58507245 [coroutines] Fix building of new/delete expressions when get [...] adds b7287ffab9 Revert r300420 - [coroutines] Fix building of new/delete exp [...] adds 380d805e6e Use setUsedForHeaderGuard() accessor function instead of dir [...] adds 7b2a25cbbd [clang] Register isConstexpr matcher adds eb26f1e4a8 Address http://bugs.llvm.org/pr30994 so that a non-friend ca [...] adds 9a22a287be [ObjC] Mark loads from __NSArray0 and __NSDictionary0 as inv [...] adds 661f8feccb Use default ref capture to simplify local lambdas, use a tem [...] adds b51118de43 CodeGen: Let lifetime intrinsic use alloca address space adds 9f2031f243 CodeGen: Let byval parameter use alloca address space adds 4b44baf46b Revert "Address http://bugs.llvm.org/pr30994 so that a non-f [...] adds 71f194f12d clang-cl: Support the /Zc:twoPhase[-] command-line option (PR32680) adds 1772bdb243 [coroutines] Fix rebuilding of implicit and dependent corout [...] adds ae2d1b7d8c [ubsan] Skip null checks on pointers to the start of an alloca adds ebaaf85a35 [ubsan] Skip null checks if they are constant-folded away adds bf2068e4b9 Revert r300504 - [coroutines] Fix rebuilding of implicit and [...] adds b151535448 Rename coroutine warning when unhandled_exception() is missing adds 9ea711133f Fix mishandling of escaped newlines followed by newlines or nuls. adds 7ee1354f05 Debug Info: Remove special-casing of indirect function argum [...] adds be42922df5 [coroutines] Fix building of new/delete expressions when get [...] adds c9c54dd9e8 Speculatively attempt to fix bot failures caused by recent c [...] adds a3307a12a1 Assert that a valid operator new/delete signature is always [...] adds c79938aaca Add #pragma clang attribute adds 4163ed68e2 [TableGen] Fix MSVC warning that occurs in TableGen generate [...] adds df381a38cf Fix one more 'not all control paths return a value' MSVC warning adds 7844d0af18 Revert r300539 - Add #pragma clang attribute adds 91aca438d2 [ARM,AArch64] Define __ELF__ for arm-none-eabihf and AArch64 adds ea363d3db2 [ARM] Add hardware build attributes in assembler adds 6730a5e41e Driver: Better detection of mingw-gcc adds 4bbde6cf2a Add #pragma clang attribute adds 76c33eb3db [ASTPrinter] Print template parameter lists for out-of-line [...] adds 007c596e63 mingw-w64: enable support for __declspec(selectany) adds 547e6dfaa8 Testing commit access. adds 7217e99fda [AArch64][clang] Pass cpu/arch information to assembler for [...] adds 902d446688 Remove unused varible adds 9a355a6a88 [DOXYGEN] Minor improvements in doxygen comments. adds 6e61377871 The SubjectMatchRule enum should not be used as a DenseMap k [...] adds 69c89b048e PR30508: Downgrade error to warning if the umbrella folder d [...] adds 961ed8002b Do not warn about whitespace between ??/ trigraph and newlin [...] adds 3c551f7dee [modules-ts] Fold together -x c++ and -x c++-module at -cc1 level. adds e4aaa7242e Use less temporary AttributeLists NFC adds 203678e980 [modules] Properly look up the owning module for an instanti [...] adds e8669326ae Fix member function call with null 'this' pointer. adds 1dca338024 [CodeGen] Use APInt::lshrInPlace instead of APInt::lshr. NFC adds 65b62ffd3f Revert r300653 and r300650. The underlying commit fixes one [...] adds ad25f8b712 clang-format: Properly match parens of macro parameter lists. adds aac41bcdb1 Add support for editor placeholders to Clang adds fac75c7aa7 Avoid assert when a non-static member function is qualified [...] adds a4bb855a17 [Driver] Unify linking of OpenMP runtime. NFCI. adds a8d0898b87 Remove unnecessary condition as suggested by clang-tidy. NFC adds 9192aede9d Add #pragma clang attribute support to the external_source_s [...] adds bfb79c8fec Prefer addAttr(Attribute::AttrKind) over the AttributeList overload adds 17081268e2 [Sema][ObjC] Disallow jumping into ObjC fast enumeration loops. adds bb9efcc8f8 [Coverage] Don't emit mappings for functions in dependent co [...] adds e550b0f49e [sanitizer-coverage] deprecate some of the stale coverage variants adds 3ff38ea696 Parse backend options during thinlto backend compile actions adds 665a836fa2 [sanitizer-coverage] deprecate -fsanitize-coverage=8bit-counters adds f8562bd6ce Fix a leak in tools/driver/cc1as_main.cpp adds 7769fb2cf3 [CodeGen] Use preincrement version of APInt::operator++ inst [...] adds e6df5fb102 Fix assertion failure in codegen on non-template deduction guide. adds 50cdd18bb1 Corrrect warn_unused_result attribute adds 64f8325632 [sanitizer-coverage] deprecate -fsanitize-coverage=trace-bb adds bcc0d62a93 [sanitizer-coverage] trim down the docs new 3084d0f690 Updating branches/google/stable to r300801
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: CMakeLists.txt | 25 +- cmake/caches/Fuchsia-stage2.cmake | 4 + cmake/caches/Fuchsia.cmake | 6 + cmake/modules/FindZ3.cmake | 28 + docs/ClangCommandLineReference.rst | 68 +- docs/ClangFormatStyleOptions.rst | 72 +- docs/DiagnosticsReference.rst | 121 +- docs/LTOVisibility.rst | 17 +- docs/LanguageExtensions.rst | 209 +++ docs/LibASTMatchersReference.html | 9 + docs/SanitizerCoverage.rst | 192 --- docs/UndefinedBehaviorSanitizer.rst | 2 + docs/UsersManual.rst | 10 + include/clang-c/Index.h | 10 +- include/clang/AST/ASTContext.h | 203 +-- include/clang/AST/Decl.h | 7 +- include/clang/AST/DeclCXX.h | 5 +- include/clang/AST/Expr.h | 175 ++- include/clang/AST/ExprCXX.h | 18 +- include/clang/AST/ExternalASTMerger.h | 51 + include/clang/AST/ExternalASTSource.h | 2 +- include/clang/AST/StmtCXX.h | 9 + include/clang/AST/StmtIterator.h | 16 + include/clang/AST/Type.h | 19 +- include/clang/ASTMatchers/ASTMatchers.h | 12 +- include/clang/ASTMatchers/Dynamic/VariantValue.h | 8 +- include/clang/Analysis/CloneDetection.h | 350 +++-- include/clang/Basic/AddressSpaces.h | 24 +- include/clang/Basic/Attr.td | 140 +- include/clang/Basic/AttrDocs.td | 56 + include/clang/Basic/AttrSubjectMatchRules.h | 32 + include/clang/Basic/Builtins.def | 1 + include/clang/Basic/BuiltinsX86.def | 3 - include/clang/Basic/CMakeLists.txt | 5 + include/clang/Basic/Diagnostic.h | 3 + include/clang/Basic/DiagnosticDriverKinds.td | 2 +- include/clang/Basic/DiagnosticGroups.td | 8 +- include/clang/Basic/DiagnosticIDs.h | 24 + include/clang/Basic/DiagnosticLexKinds.td | 6 +- include/clang/Basic/DiagnosticParseKinds.td | 54 + include/clang/Basic/DiagnosticSemaKinds.td | 54 +- include/clang/Basic/IdentifierTable.h | 19 +- include/clang/Basic/LangOptions.def | 10 +- include/clang/Basic/LangOptions.h | 52 +- include/clang/Basic/Module.h | 2 - include/clang/Basic/ObjCRuntime.h | 14 + include/clang/Basic/TargetInfo.h | 4 +- include/clang/Basic/TokenKinds.def | 6 + include/clang/Basic/TypeTraits.h | 1 + include/clang/Basic/XRayLists.h | 54 + include/clang/CodeGen/CodeGenABITypes.h | 2 +- include/clang/Config/config.h.cmake | 3 + include/clang/Driver/CC1Options.td | 8 +- include/clang/Driver/CLCompatOptions.td | 6 + include/clang/Driver/Driver.h | 5 + include/clang/Driver/Options.td | 96 +- include/clang/Driver/SanitizerArgs.h | 2 +- include/clang/Driver/Tool.h | 2 +- include/clang/Driver/ToolChain.h | 4 + include/clang/Driver/XRayArgs.h | 38 + include/clang/Format/Format.h | 73 +- include/clang/Frontend/CodeGenOptions.def | 5 +- include/clang/Frontend/CodeGenOptions.h | 8 +- include/clang/Frontend/CompilerInstance.h | 2 + include/clang/Lex/Lexer.h | 2 + include/clang/Lex/Token.h | 8 + include/clang/Parse/CMakeLists.txt | 6 + include/clang/Parse/Parser.h | 26 +- include/clang/Parse/RAIIObjectsForParser.h | 20 + include/clang/Sema/AttributeList.h | 8 + include/clang/Sema/Initialization.h | 11 +- include/clang/Sema/Lookup.h | 2 +- include/clang/Sema/MultiplexExternalSemaSource.h | 2 +- include/clang/Sema/Sema.h | 96 +- include/clang/Serialization/ASTBitCodes.h | 3 + include/clang/Serialization/ASTReader.h | 35 +- include/clang/Serialization/ASTWriter.h | 1 + include/clang/StaticAnalyzer/Checkers/Checkers.td | 5 + include/clang/StaticAnalyzer/Core/Analyses.def | 1 + .../Core/PathSensitive/BasicValueFactory.h | 10 +- .../Core/PathSensitive/ConstraintManager.h | 3 + .../StaticAnalyzer/Core/PathSensitive/ExprEngine.h | 16 +- .../StaticAnalyzer/Core/PathSensitive/MemRegion.h | 283 ++-- .../Core/PathSensitive/SValBuilder.h | 5 + .../StaticAnalyzer/Core/PathSensitive/SVals.h | 59 +- .../StaticAnalyzer/Core/PathSensitive/Store.h | 7 +- .../StaticAnalyzer/Core/PathSensitive/SubEngine.h | 2 +- .../StaticAnalyzer/Core/PathSensitive/SymExpr.h | 10 +- .../Core/PathSensitive/SymbolManager.h | 64 +- include/clang/Tooling/Refactoring/AtomicChange.h | 6 + lib/AST/ASTContext.cpp | 31 +- lib/AST/ASTImporter.cpp | 8 +- lib/AST/CMakeLists.txt | 1 + lib/AST/Decl.cpp | 4 +- lib/AST/DeclCXX.cpp | 28 +- lib/AST/DeclPrinter.cpp | 20 +- lib/AST/DeclarationName.cpp | 4 +- lib/AST/Expr.cpp | 18 +- lib/AST/ExprClassification.cpp | 3 +- lib/AST/ExternalASTMerger.cpp | 180 +++ lib/AST/ExternalASTSource.cpp | 2 +- lib/AST/ItaniumMangle.cpp | 9 +- lib/AST/Stmt.cpp | 2 +- lib/AST/StmtCXX.cpp | 4 +- lib/AST/Type.cpp | 74 +- lib/AST/TypePrinter.cpp | 10 +- lib/ASTMatchers/Dynamic/Registry.cpp | 3 + lib/Analysis/BodyFarm.cpp | 4 +- lib/Analysis/CloneDetection.cpp | 887 +++++------ lib/Analysis/ReachableCode.cpp | 19 +- lib/Analysis/ThreadSafetyTIL.cpp | 4 +- lib/Basic/Attributes.cpp | 11 + lib/Basic/CMakeLists.txt | 1 + lib/Basic/Diagnostic.cpp | 6 +- lib/Basic/FileManager.cpp | 1 + lib/Basic/IdentifierTable.cpp | 15 +- lib/Basic/LangOptions.cpp | 2 + lib/Basic/Module.cpp | 2 +- lib/Basic/SourceManager.cpp | 13 +- lib/Basic/Targets.cpp | 307 ++-- lib/Basic/XRayLists.cpp | 53 + lib/CodeGen/BackendUtil.cpp | 311 ++-- lib/CodeGen/CGBlocks.cpp | 2 +- lib/CodeGen/CGBuiltin.cpp | 46 +- lib/CodeGen/CGCXXABI.h | 2 +- lib/CodeGen/CGCall.cpp | 93 +- lib/CodeGen/CGCall.h | 1 - lib/CodeGen/CGCleanup.cpp | 2 +- lib/CodeGen/CGCoroutine.cpp | 269 +++- lib/CodeGen/CGDebugInfo.cpp | 53 +- lib/CodeGen/CGDebugInfo.h | 1 + lib/CodeGen/CGDecl.cpp | 27 +- lib/CodeGen/CGException.cpp | 4 +- lib/CodeGen/CGExpr.cpp | 158 +- lib/CodeGen/CGExprAgg.cpp | 9 +- lib/CodeGen/CGExprCXX.cpp | 9 +- lib/CodeGen/CGExprComplex.cpp | 10 + lib/CodeGen/CGExprConstant.cpp | 6 +- lib/CodeGen/CGExprScalar.cpp | 71 +- lib/CodeGen/CGObjC.cpp | 34 +- lib/CodeGen/CGOpenMPRuntime.cpp | 4 +- lib/CodeGen/CGOpenMPRuntime.h | 2 +- lib/CodeGen/CGStmt.cpp | 2 +- lib/CodeGen/CGStmtOpenMP.cpp | 21 +- lib/CodeGen/CGVTables.cpp | 7 +- lib/CodeGen/CodeGenFunction.cpp | 29 +- lib/CodeGen/CodeGenFunction.h | 22 +- lib/CodeGen/CodeGenModule.cpp | 83 +- lib/CodeGen/CodeGenModule.h | 16 +- lib/CodeGen/CodeGenTypeCache.h | 6 + lib/CodeGen/CoverageMappingGen.cpp | 10 +- lib/CodeGen/EHScopeStack.h | 2 +- lib/CodeGen/MicrosoftCXXABI.cpp | 2 +- lib/CodeGen/ModuleBuilder.cpp | 2 +- lib/CodeGen/TargetInfo.cpp | 15 +- lib/Driver/CMakeLists.txt | 1 + lib/Driver/Driver.cpp | 10 +- lib/Driver/SanitizerArgs.cpp | 46 +- lib/Driver/ToolChain.cpp | 7 + lib/Driver/ToolChains/Arch/AArch64.cpp | 3 + lib/Driver/ToolChains/Arch/ARM.cpp | 3 + lib/Driver/ToolChains/Arch/X86.cpp | 1 - lib/Driver/ToolChains/Clang.cpp | 81 +- lib/Driver/ToolChains/CommonArgs.cpp | 21 +- lib/Driver/ToolChains/CommonArgs.h | 6 +- lib/Driver/ToolChains/CrossWindows.cpp | 9 - lib/Driver/ToolChains/Darwin.cpp | 3 +- lib/Driver/ToolChains/Gnu.cpp | 40 +- lib/Driver/ToolChains/Linux.cpp | 5 +- lib/Driver/ToolChains/MinGW.cpp | 24 +- lib/Driver/ToolChains/MinGW.h | 1 + lib/Driver/XRayArgs.cpp | 114 ++ lib/Format/BreakableToken.cpp | 11 +- lib/Format/ContinuationIndenter.cpp | 20 +- lib/Format/Format.cpp | 5 +- lib/Format/FormatTokenLexer.cpp | 36 +- lib/Format/FormatTokenLexer.h | 1 + lib/Format/NamespaceEndCommentsFixer.cpp | 2 +- lib/Format/TokenAnnotator.cpp | 56 +- lib/Format/UnwrappedLineParser.cpp | 9 +- lib/Frontend/CompilerInstance.cpp | 10 + lib/Frontend/CompilerInvocation.cpp | 105 +- lib/Frontend/Rewrite/RewriteMacros.cpp | 2 +- lib/Frontend/Rewrite/RewriteModernObjC.cpp | 4 +- lib/Frontend/Rewrite/RewriteObjC.cpp | 4 +- lib/Headers/avx2intrin.h | 2 +- lib/Headers/avx512fintrin.h | 14 +- lib/Headers/avxintrin.h | 266 +++- lib/Headers/f16cintrin.h | 10 +- lib/Headers/intrin.h | 6 - lib/Headers/smmintrin.h | 241 ++- lib/Headers/xmmintrin.h | 2 +- lib/Index/IndexingContext.cpp | 1 + lib/Lex/Lexer.cpp | 87 +- lib/Lex/ModuleMap.cpp | 4 +- lib/Lex/PPLexerChange.cpp | 5 +- lib/Lex/PPMacroExpansion.cpp | 1 + lib/Parse/ParseCXXInlineMethods.cpp | 6 +- lib/Parse/ParseDecl.cpp | 39 +- lib/Parse/ParseDeclCXX.cpp | 11 +- lib/Parse/ParseExpr.cpp | 78 +- lib/Parse/ParseExprCXX.cpp | 12 +- lib/Parse/ParseObjc.cpp | 75 +- lib/Parse/ParsePragma.cpp | 685 ++++++++- lib/Parse/ParseStmt.cpp | 19 +- lib/Parse/ParseStmtAsm.cpp | 2 +- lib/Parse/ParseTemplate.cpp | 7 +- lib/Parse/Parser.cpp | 48 +- lib/Sema/AttributeList.cpp | 21 + lib/Sema/CoroutineStmtBuilder.h | 70 + lib/Sema/JumpDiagnostics.cpp | 9 + lib/Sema/MultiplexExternalSemaSource.cpp | 4 +- lib/Sema/Sema.cpp | 72 +- lib/Sema/SemaAttr.cpp | 230 ++- lib/Sema/SemaCXXScopeSpec.cpp | 2 + lib/Sema/SemaCast.cpp | 30 +- lib/Sema/SemaChecking.cpp | 12 +- lib/Sema/SemaCodeComplete.cpp | 5 +- lib/Sema/SemaCoroutine.cpp | 258 +++- lib/Sema/SemaDecl.cpp | 124 +- lib/Sema/SemaDeclAttr.cpp | 205 ++- lib/Sema/SemaDeclCXX.cpp | 29 +- lib/Sema/SemaDeclObjC.cpp | 13 +- lib/Sema/SemaExpr.cpp | 176 ++- lib/Sema/SemaExprCXX.cpp | 87 +- lib/Sema/SemaExprMember.cpp | 24 +- lib/Sema/SemaExprObjC.cpp | 20 +- lib/Sema/SemaInit.cpp | 76 +- lib/Sema/SemaLambda.cpp | 26 +- lib/Sema/SemaLookup.cpp | 4 +- lib/Sema/SemaObjCProperty.cpp | 9 +- lib/Sema/SemaOpenMP.cpp | 9 +- lib/Sema/SemaOverload.cpp | 165 +- lib/Sema/SemaPseudoObject.cpp | 33 +- lib/Sema/SemaStmt.cpp | 26 +- lib/Sema/SemaStmtAsm.cpp | 5 +- lib/Sema/SemaStmtAttr.cpp | 27 + lib/Sema/SemaTemplate.cpp | 48 +- lib/Sema/SemaTemplateDeduction.cpp | 24 +- lib/Sema/SemaTemplateInstantiate.cpp | 12 +- lib/Sema/SemaTemplateInstantiateDecl.cpp | 57 +- lib/Sema/SemaType.cpp | 6 +- lib/Sema/TreeTransform.h | 172 ++- lib/Serialization/ASTReader.cpp | 187 ++- lib/Serialization/ASTReaderDecl.cpp | 62 +- lib/Serialization/ASTReaderStmt.cpp | 4 +- lib/Serialization/ASTWriter.cpp | 64 +- lib/Serialization/ASTWriterDecl.cpp | 14 +- lib/Serialization/ASTWriterStmt.cpp | 4 +- lib/Serialization/ModuleManager.cpp | 2 +- .../Checkers/AnalysisOrderChecker.cpp | 49 +- lib/StaticAnalyzer/Checkers/CMakeLists.txt | 1 + lib/StaticAnalyzer/Checkers/CloneChecker.cpp | 100 +- lib/StaticAnalyzer/Checkers/ConversionChecker.cpp | 42 +- .../Checkers/MPI-Checker/MPIChecker.cpp | 4 +- .../Checkers/MisusedMovedObjectChecker.cpp | 481 ++++++ .../Checkers/NonNullParamChecker.cpp | 2 +- lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp | 4 +- lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 8 +- lib/StaticAnalyzer/Core/CMakeLists.txt | 16 + lib/StaticAnalyzer/Core/CallEvent.cpp | 12 +- lib/StaticAnalyzer/Core/DynamicTypeMap.cpp | 2 +- lib/StaticAnalyzer/Core/ExprEngine.cpp | 64 +- lib/StaticAnalyzer/Core/ExprEngineC.cpp | 2 +- lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 3 +- lib/StaticAnalyzer/Core/MemRegion.cpp | 62 +- lib/StaticAnalyzer/Core/RegionStore.cpp | 5 +- lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp | 102 +- lib/StaticAnalyzer/Core/Store.cpp | 35 +- lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp | 1618 ++++++++++++++++++++ lib/Tooling/Refactoring/AtomicChange.cpp | 6 + test/ASTMerge/struct/Inputs/struct1.c | 16 + test/ASTMerge/struct/Inputs/struct2.c | 16 + test/ASTMerge/struct/test.c | 7 +- test/Analysis/MisusedMovedObject.cpp | 619 ++++++++ test/Analysis/additive-folding.cpp | 9 + test/Analysis/analyzer_test.py | 28 + test/Analysis/casts.c | 5 + test/Analysis/conversion.c | 68 +- test/Analysis/expr-inspection.c | 2 +- test/Analysis/lit.local.cfg | 33 +- test/Analysis/properties.m | 16 + test/Analysis/simple-stream-checks.c | 2 +- test/Analysis/temporaries-callback-order.cpp | 36 + test/Analysis/temporaries.cpp | 27 + test/Analysis/unsupported-types.c | 31 + test/CodeCompletion/member-access.cpp | 14 + test/CodeGen/2006-05-19-SingleEltReturn.c | 11 +- test/CodeGen/address-space.c | 13 +- test/CodeGen/alloc-align-attr.c | 101 ++ test/CodeGen/avx2-builtins.c | 2 +- test/CodeGen/avx512bw-builtins.c | 6 +- test/CodeGen/avx512dq-builtins.c | 6 +- test/CodeGen/avx512f-builtins.c | 2 +- test/CodeGen/avx512pf-builtins.c | 32 +- test/CodeGen/avx512vlbw-builtins.c | 12 +- test/CodeGen/avx512vldq-builtins.c | 15 +- test/CodeGen/builtins-mips-msa-error.c | 4 +- test/CodeGen/builtins-mips-msa.c | 2 + test/CodeGen/cfi-check-fail.c | 5 + test/CodeGen/cleanup-destslot-simple.c | 8 +- test/CodeGen/debug-info-vla.c | 4 +- test/CodeGen/default-address-space.c | 58 + test/CodeGen/ffp-contract-fast-option.cpp | 29 + test/CodeGen/fp-contract-fast-pragma.cpp | 69 + test/CodeGen/fp-contract-on-pragma.cpp | 76 + test/CodeGen/function-sections.c | 8 +- test/CodeGen/lifetime-asan.c | 8 +- test/CodeGen/lifetime2.c | 24 +- test/CodeGen/ms-inline-asm-EVEN.c | 16 + test/CodeGen/ms-intrinsics.c | 11 + test/CodeGen/sse41-builtins.c | 2 +- test/CodeGen/temporary-lifetime-exceptions.cpp | 12 +- test/CodeGen/temporary-lifetime.cpp | 48 +- test/CodeGen/thinlto-backend-option.ll | 13 + test/CodeGen/thinlto-emit-llvm.c | 10 + test/CodeGen/xray-always-instrument.cpp | 15 + test/CodeGen/xray-instruction-threshold.cpp | 14 + test/CodeGenCUDA/fp-contract.cu | 4 +- test/CodeGenCXX/cxx1z-class-deduction.cpp | 21 + test/CodeGenCXX/debug-info.cpp | 2 +- test/CodeGenCXX/destructors.cpp | 14 +- test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp | 6 +- test/CodeGenCXX/nrvo.cpp | 4 +- test/CodeGenCXX/ubsan-global-alignment.cpp | 29 + test/CodeGenCXX/ubsan-suppress-checks.cpp | 235 +++ test/CodeGenCXX/ubsan-suppress-null-checks.cpp | 188 --- test/CodeGenCXX/ubsan-type-checks.cpp | 18 +- .../unaligned-duplicated-mangle-name.cpp | 20 + test/CodeGenCoroutines/coro-alloc.cpp | 52 +- test/CodeGenCoroutines/coro-await.cpp | 230 +++ test/CodeGenCoroutines/coro-cleanup.cpp | 74 + test/CodeGenCoroutines/coro-eh-cleanup.cpp | 74 + test/CodeGenCoroutines/coro-return.cpp | 20 +- test/CodeGenObjC/arc-blocks.m | 22 +- test/CodeGenObjC/arc-precise-lifetime.m | 68 +- test/CodeGenObjC/arc-ternary-op.m | 12 +- test/CodeGenObjC/arc.m | 94 +- test/CodeGenObjC/empty-collection-literals.m | 51 + test/CodeGenObjC/exceptions.m | 4 +- test/CodeGenObjCXX/arc-move.mm | 8 +- test/CodeGenObjCXX/arc-references.mm | 10 +- test/CodeGenObjCXX/arc.mm | 6 +- test/CodeGenObjCXX/lambda-to-block.mm | 18 + test/CodeGenObjCXX/literals.mm | 8 +- test/CodeGenObjCXX/objc-weak.mm | 69 + test/CodeGenObjCXX/objfw-exceptions.mm | 17 + .../address-space-constant-initializers.cl | 2 + test/CodeGenOpenCL/address-spaces.cl | 31 +- test/CodeGenOpenCL/amdgpu-attrs.cl | 12 + .../amdgpu-debug-info-variable-expression.cl | 3 +- test/CodeGenOpenCL/amdgpu-env-amdgiz.cl | 9 + test/CodeGenOpenCL/byval.cl | 18 + test/CodeGenOpenCL/gfx9-fp32-denorms.cl | 13 + test/CodeGenOpenCL/kernel-arg-info.cl | 13 +- test/CodeGenOpenCL/lifetime.cl | 15 + test/CodeGenOpenCL/preserve_vec3.cl | 24 + test/CodeGenOpenCL/relaxed-fpmath.cl | 29 +- test/CodeGenOpenCL/sampler.cl | 4 + test/CodeGenOpenCL/vla.cl | 12 +- test/CoverageMapping/pr32679.cpp | 32 + test/CoverageMapping/unused_names.c | 2 +- test/Driver/arm-default-build-attributes.s | 20 + test/Driver/arm-no-neg-immediates.c | 8 + test/Driver/cl-options.c | 3 + test/Driver/clang_f_opts.c | 5 + test/Driver/crash-report-crashfile.m | 33 +- test/Driver/debug-options.c | 25 +- test/Driver/fopenmp.c | 16 +- test/Driver/fsanitize-coverage.c | 21 +- test/Driver/fsanitize.c | 29 +- test/Driver/immediate-options.c | 5 + test/Driver/linux-as.c | 27 + test/Driver/modules-ts.cpp | 2 +- test/Driver/pic.c | 4 + test/Driver/reloc-model.c | 4 + test/Driver/response-file.c | 9 +- test/Driver/windows-cross.c | 10 +- test/FixIt/fixit-pragma-attribute.c | 6 + test/FixIt/fixit-pragma-attribute.cpp | 83 + test/Import/forward-declared-struct/Inputs/S1.c | 1 + test/Import/forward-declared-struct/Inputs/S2.c | 3 + test/Import/forward-declared-struct/test.c | 5 + test/Import/member-in-struct/Inputs/S.c | 3 + test/Import/member-in-struct/test.c | 5 + .../multiple-forward-declarations/Inputs/S1.c | 1 + .../multiple-forward-declarations/Inputs/S2.c | 1 + test/Import/multiple-forward-declarations/test.c | 4 + test/Import/overloaded-function/Inputs/F1.c | 1 + test/Import/overloaded-function/Inputs/F2.c | 4 + test/Import/overloaded-function/test.c | 7 + test/Import/struct-in-namespace/Inputs/N1.cpp | 11 + test/Import/struct-in-namespace/Inputs/N2.cpp | 5 + test/Import/struct-in-namespace/Inputs/N3.cpp | 5 + test/Import/struct-in-namespace/test.cpp | 7 + test/Import/template-specialization/Inputs/T.cpp | 14 + test/Import/template-specialization/test.cpp | 7 + test/Index/comment-cplus-decls.cpp | 8 +- test/Index/crash-recovery-code-complete.c | 1 + test/Index/crash-recovery-modules.m | 3 +- test/Index/crash-recovery-reparse.c | 1 + test/Index/crash-recovery.c | 1 + test/Index/overriding-method-comments.mm | 2 +- test/Lexer/asm-preproc-no-unicode.s | 8 + test/Lexer/cxx1z-trigraphs.cpp | 7 +- test/Lexer/newline-nul.c | Bin 0 -> 332 bytes test/Misc/ast-dump-attr.cpp | 22 + test/Misc/ast-print-out-of-line-func.cpp | 95 ++ .../pragma-attribute-cxx-subject-match-rules.cpp | 169 ++ test/Misc/pragma-attribute-cxx.cpp | 106 ++ .../pragma-attribute-objc-subject-match-rules.m | 113 ++ test/Misc/pragma-attribute-objc.m | 164 ++ test/Misc/pragma-attribute-strict-subjects.c | 222 +++ ...pragma-attribute-supported-attributes-list.test | 63 + test/Modules/ExtDebugInfo.cpp | 2 +- test/Modules/Inputs/codegen-flags/foo.h | 4 + .../{codegen-opt => codegen-flags}/foo.modulemap | 0 test/Modules/Inputs/codegen-flags/use.cpp | 5 + test/Modules/Inputs/codegen-nodep/foo.h | 11 + .../{codegen-opt => codegen-nodep}/foo.modulemap | 0 test/Modules/Inputs/codegen/foo.h | 28 + test/Modules/Inputs/codegen/use.cpp | 8 + .../Inputs/implicit-built-Werror-using-W/convert.h | 8 + .../implicit-built-Werror-using-W/module.modulemap | 3 + test/Modules/Inputs/module.map | 5 + test/Modules/Inputs/pragma_pack_set.h | 3 + test/Modules/builtins.m | 1 + test/Modules/codegen-flags.test | 25 + test/Modules/codegen-nodep.test | 13 + test/Modules/codegen.test | 49 +- test/Modules/cxx-templates.cpp | 10 +- test/Modules/implicit-built-Werror-using-W.cpp | 42 + test/Modules/localsubmodulevis.m | 8 + test/Modules/module-impl-with-link.c | 2 +- test/Modules/pragma-pack.cpp | 25 + test/Modules/system_version.m | 31 - test/Modules/umbrella-header-include-builtin.mm | 8 + test/OpenMP/vla_crash.c | 22 + test/PCH/cxx-traits.cpp | 1 + test/PCH/cxx-traits.h | 1 + test/PCH/emit-dependencies.c | 9 + test/PCH/pragma-pack.c | 90 ++ test/Parser/cxx11-stmt-attributes.cpp | 1 + test/Parser/editor-placeholder-recovery.cpp | 71 + test/Parser/objc-available.m | 5 + test/Parser/objc-cxx-keyword-identifiers.mm | 62 + test/Parser/opencl-atomics-cl20.cl | 2 +- test/Parser/placeholder-recovery.m | 13 +- test/Parser/pragma-attribute-declspec.cpp | 13 + test/Parser/pragma-attribute.cpp | 181 +++ test/Parser/pragma-fp.cpp | 64 + test/Parser/vector-cast-define.cl | 10 + test/Preprocessor/init.c | 41 +- test/Preprocessor/predefined-arch-macros.c | 12 +- test/Sema/address_spaces.c | 2 +- test/Sema/alloc-align-attr.c | 19 + test/Sema/attr-selectany.c | 3 +- test/Sema/builtins-x86.c | 2 +- test/Sema/declspec-naked.c | 11 + test/Sema/designated-initializers.c | 17 + test/Sema/expr-address-of.c | 3 +- test/Sema/ms-inline-asm.c | 2 +- test/Sema/pragma-attribute-strict-subjects.c | 153 ++ test/Sema/pragma-attribute.c | 47 + test/Sema/vector-ops.c | 114 +- test/Sema/warn-unreachable.c | 47 + test/SemaCXX/alloc-align-attr.cpp | 40 + test/SemaCXX/anonymous-struct.cpp | 3 + test/SemaCXX/attr-selectany.cpp | 2 +- .../coroutine-unhandled_exception-warning.cpp | 15 +- test/SemaCXX/coroutines.cpp | 118 +- .../cxx1z-class-template-argument-deduction.cpp | 18 +- test/SemaCXX/enable_if.cpp | 27 + test/SemaCXX/ptrtomember.cpp | 4 + test/SemaCXX/suppress.cpp | 25 + test/{Sema => SemaCXX}/template-specialization.cpp | 0 test/SemaCXX/type-traits.cpp | 130 +- test/SemaCXX/warn-shadow.cpp | 107 +- test/SemaCXX/warn-unused-result.cpp | 46 + test/SemaCXX/warn-unused-value.cpp | 6 + test/SemaObjC/arc-repeated-weak.mm | 10 +- test/SemaObjC/arc-unavailable-for-weakref.m | 1 + test/SemaObjC/foreach.m | 24 + test/SemaObjC/property-typecheck-1.m | 5 + test/SemaObjCXX/arc-bridged-cast.mm | 16 + test/SemaObjCXX/arc-ptr-comparison.mm | 24 + test/SemaObjCXX/arc-unavailable-for-weakref.mm | 1 + test/SemaObjCXX/objc-weak-type-traits.mm | 210 +++ test/SemaObjCXX/objc-weak.mm | 28 + test/SemaObjCXX/overload.mm | 27 + test/SemaOpenCL/atomic-init.cl | 12 + .../invalid-assignment-constant-address-space.cl} | 3 +- test/SemaOpenCL/sampler_t.cl | 5 +- test/SemaOpenCL/types.cl | 6 + test/SemaTemplate/deduction.cpp | 7 +- test/SemaTemplate/temp_arg_template.cpp | 41 +- test/SemaTemplate/temp_arg_template_cxx1z.cpp | 18 +- test/lit.cfg | 14 +- test/lit.site.cfg.in | 2 + tools/clang-format-vs/.gitignore | 1 - tools/clang-format-vs/CMakeLists.txt | 7 +- tools/clang-format-vs/ClangFormat.sln | 4 +- .../clang-format-vs/ClangFormat/ClangFormat.csproj | 56 +- .../ClangFormat/ClangFormatPackage.cs | 192 +-- .../ClangFormat/RunningDocTableEventsDispatcher.cs | 79 + tools/clang-format-vs/ClangFormat/Vsix.cs | 96 ++ tools/clang-format-vs/ClangFormat/license.txt | 39 + tools/clang-format-vs/ClangFormat/packages.config | 1 - .../source.extension.vsixmanifest.in | 49 +- tools/clang-import-test/clang-import-test.cpp | 64 +- .../clang-offload-bundler/ClangOffloadBundler.cpp | 2 +- tools/driver/cc1as_main.cpp | 4 +- tools/driver/driver.cpp | 5 +- tools/libclang/CIndexCodeCompletion.cpp | 6 - tools/scan-build-py/libscanbuild/analyze.py | 293 +++- tools/scan-build-py/libscanbuild/runner.py | 294 ---- tools/scan-build-py/tests/unit/__init__.py | 2 - tools/scan-build-py/tests/unit/test_analyze.py | 313 ++++ tools/scan-build-py/tests/unit/test_report.py | 2 +- tools/scan-build-py/tests/unit/test_runner.py | 321 ---- unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 16 + unittests/Analysis/CMakeLists.txt | 5 +- unittests/Analysis/CloneDetectionTest.cpp | 110 ++ unittests/Basic/FileManagerTest.cpp | 52 +- unittests/Driver/ToolChainTest.cpp | 2 +- unittests/Format/FormatTest.cpp | 29 +- unittests/Format/FormatTestComments.cpp | 2 +- unittests/Format/FormatTestJS.cpp | 4 + unittests/Format/FormatTestJava.cpp | 12 + unittests/Format/NamespaceEndCommentsFixerTest.cpp | 15 + unittests/Tooling/RefactoringTest.cpp | 23 +- utils/TableGen/ClangAttrEmitter.cpp | 540 ++++++- utils/TableGen/TableGen.cpp | 31 +- utils/TableGen/TableGenBackends.h | 6 + 534 files changed, 18051 insertions(+), 5001 deletions(-) create mode 100644 cmake/modules/FindZ3.cmake create mode 100644 include/clang/AST/ExternalASTMerger.h create mode 100644 include/clang/Basic/AttrSubjectMatchRules.h create mode 100644 include/clang/Basic/XRayLists.h create mode 100644 include/clang/Driver/XRayArgs.h create mode 100644 lib/AST/ExternalASTMerger.cpp create mode 100644 lib/Basic/XRayLists.cpp create mode 100644 lib/Driver/XRayArgs.cpp create mode 100644 lib/Sema/CoroutineStmtBuilder.h create mode 100644 lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp create mode 100644 lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp create mode 100644 test/Analysis/MisusedMovedObject.cpp create mode 100644 test/Analysis/analyzer_test.py create mode 100644 test/Analysis/temporaries-callback-order.cpp create mode 100644 test/Analysis/unsupported-types.c create mode 100644 test/CodeGen/alloc-align-attr.c create mode 100644 test/CodeGen/default-address-space.c create mode 100644 test/CodeGen/ffp-contract-fast-option.cpp create mode 100644 test/CodeGen/fp-contract-fast-pragma.cpp create mode 100644 test/CodeGen/fp-contract-on-pragma.cpp create mode 100644 test/CodeGen/ms-inline-asm-EVEN.c create mode 100644 test/CodeGen/thinlto-backend-option.ll create mode 100644 test/CodeGen/thinlto-emit-llvm.c create mode 100644 test/CodeGen/xray-always-instrument.cpp create mode 100644 test/CodeGen/xray-instruction-threshold.cpp create mode 100644 test/CodeGenCXX/cxx1z-class-deduction.cpp create mode 100644 test/CodeGenCXX/ubsan-global-alignment.cpp create mode 100644 test/CodeGenCXX/ubsan-suppress-checks.cpp delete mode 100644 test/CodeGenCXX/ubsan-suppress-null-checks.cpp create mode 100644 test/CodeGenCXX/unaligned-duplicated-mangle-name.cpp create mode 100644 test/CodeGenCoroutines/coro-await.cpp create mode 100644 test/CodeGenCoroutines/coro-cleanup.cpp create mode 100644 test/CodeGenCoroutines/coro-eh-cleanup.cpp create mode 100644 test/CodeGenObjC/empty-collection-literals.m create mode 100644 test/CodeGenObjCXX/lambda-to-block.mm create mode 100644 test/CodeGenObjCXX/objc-weak.mm create mode 100644 test/CodeGenObjCXX/objfw-exceptions.mm create mode 100644 test/CodeGenOpenCL/amdgpu-env-amdgiz.cl create mode 100644 test/CodeGenOpenCL/byval.cl create mode 100644 test/CodeGenOpenCL/gfx9-fp32-denorms.cl create mode 100644 test/CodeGenOpenCL/lifetime.cl create mode 100644 test/CodeGenOpenCL/preserve_vec3.cl create mode 100644 test/CoverageMapping/pr32679.cpp create mode 100644 test/Driver/arm-default-build-attributes.s create mode 100644 test/Driver/arm-no-neg-immediates.c create mode 100644 test/Driver/reloc-model.c create mode 100644 test/FixIt/fixit-pragma-attribute.c create mode 100644 test/FixIt/fixit-pragma-attribute.cpp create mode 100644 test/Import/forward-declared-struct/Inputs/S1.c create mode 100644 test/Import/forward-declared-struct/Inputs/S2.c create mode 100644 test/Import/forward-declared-struct/test.c create mode 100644 test/Import/member-in-struct/Inputs/S.c create mode 100644 test/Import/member-in-struct/test.c create mode 100644 test/Import/multiple-forward-declarations/Inputs/S1.c create mode 100644 test/Import/multiple-forward-declarations/Inputs/S2.c create mode 100644 test/Import/multiple-forward-declarations/test.c create mode 100644 test/Import/overloaded-function/Inputs/F1.c create mode 100644 test/Import/overloaded-function/Inputs/F2.c create mode 100644 test/Import/overloaded-function/test.c create mode 100644 test/Import/struct-in-namespace/Inputs/N1.cpp create mode 100644 test/Import/struct-in-namespace/Inputs/N2.cpp create mode 100644 test/Import/struct-in-namespace/Inputs/N3.cpp create mode 100644 test/Import/struct-in-namespace/test.cpp create mode 100644 test/Import/template-specialization/Inputs/T.cpp create mode 100644 test/Import/template-specialization/test.cpp create mode 100644 test/Lexer/asm-preproc-no-unicode.s create mode 100644 test/Lexer/newline-nul.c create mode 100644 test/Misc/ast-print-out-of-line-func.cpp create mode 100644 test/Misc/pragma-attribute-cxx-subject-match-rules.cpp create mode 100644 test/Misc/pragma-attribute-cxx.cpp create mode 100644 test/Misc/pragma-attribute-objc-subject-match-rules.m create mode 100644 test/Misc/pragma-attribute-objc.m create mode 100644 test/Misc/pragma-attribute-strict-subjects.c create mode 100644 test/Misc/pragma-attribute-supported-attributes-list.test create mode 100644 test/Modules/Inputs/codegen-flags/foo.h copy test/Modules/Inputs/{codegen-opt => codegen-flags}/foo.modulemap (100%) create mode 100644 test/Modules/Inputs/codegen-flags/use.cpp create mode 100644 test/Modules/Inputs/codegen-nodep/foo.h copy test/Modules/Inputs/{codegen-opt => codegen-nodep}/foo.modulemap (100%) create mode 100644 test/Modules/Inputs/codegen/use.cpp create mode 100644 test/Modules/Inputs/implicit-built-Werror-using-W/convert.h create mode 100644 test/Modules/Inputs/implicit-built-Werror-using-W/module.modulemap create mode 100644 test/Modules/Inputs/pragma_pack_set.h create mode 100644 test/Modules/codegen-flags.test create mode 100644 test/Modules/codegen-nodep.test create mode 100644 test/Modules/implicit-built-Werror-using-W.cpp create mode 100644 test/Modules/localsubmodulevis.m create mode 100644 test/Modules/pragma-pack.cpp delete mode 100644 test/Modules/system_version.m create mode 100644 test/OpenMP/vla_crash.c create mode 100644 test/PCH/emit-dependencies.c create mode 100644 test/PCH/pragma-pack.c create mode 100644 test/Parser/editor-placeholder-recovery.cpp create mode 100644 test/Parser/objc-cxx-keyword-identifiers.mm create mode 100644 test/Parser/pragma-attribute-declspec.cpp create mode 100644 test/Parser/pragma-attribute.cpp create mode 100644 test/Parser/pragma-fp.cpp create mode 100644 test/Parser/vector-cast-define.cl create mode 100644 test/Sema/alloc-align-attr.c create mode 100644 test/Sema/declspec-naked.c create mode 100644 test/Sema/pragma-attribute-strict-subjects.c create mode 100644 test/Sema/pragma-attribute.c create mode 100644 test/SemaCXX/alloc-align-attr.cpp create mode 100644 test/SemaCXX/suppress.cpp rename test/{Sema => SemaCXX}/template-specialization.cpp (100%) create mode 100644 test/SemaObjCXX/arc-ptr-comparison.mm create mode 100644 test/SemaObjCXX/objc-weak-type-traits.mm create mode 100644 test/SemaObjCXX/objc-weak.mm create mode 100644 test/SemaOpenCL/atomic-init.cl rename test/{Sema/invalid-assignment-constant-address-space.c => SemaOpenCL/invali [...] create mode 100644 test/SemaOpenCL/types.cl create mode 100644 tools/clang-format-vs/ClangFormat/RunningDocTableEventsDispatcher.cs create mode 100644 tools/clang-format-vs/ClangFormat/Vsix.cs create mode 100644 tools/clang-format-vs/ClangFormat/license.txt delete mode 100644 tools/scan-build-py/libscanbuild/runner.py delete mode 100644 tools/scan-build-py/tests/unit/test_runner.py create mode 100644 unittests/Analysis/CloneDetectionTest.cpp