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 9455aa09cb Updating branches/google/stable to r313876 adds 23ae32d5ad [OPENMP] Use canonical declarations for redeclarations checks. adds 2fec54da55 [lit] Rename lld and clang lit configs to end in .py adds 3069e68753 [fixup][Sema] Allow in C to define tags inside enumerations. adds b46bc42555 [Sema] Fix using old initializer during switch statement tra [...] adds 0974536c5b [NVPTX] Implemented bar.warp.sync, barrier.sync, and vote{.s [...] adds dd800450c2 [CUDA] Fixed order of words in the names of shfl builtins. adds dab9c6a032 [Sema] Prevent InstantiateClass from checking unrelated exce [...] adds 2727f57d8c Suppress Wsign-conversion for enums with matching underlying type adds d6a417d479 Add testcase I forgot to add in R313907. adds 3a1d0b688c Remove svn-properties for file added in 313909 (NFC) adds c64b5a7bdc [libclang] Keep track of TranslationUnit instance when annot [...] adds 8e6d03d083 [lit] Refactor out some more common lit configuration code. adds 145691eb21 Revert "[lit] Refactor out some more common lit configuratio [...] adds b937f758ff [Analyzer] Remove dead code from CmpRuns.py. adds 2f6a914998 [Analyzer] Add simple help to SATestAdd.py adds 551a3cb90e [Analyzer] Use CC environment variable to select analyzer pa [...] adds 7eb7e99e4d Resubmit "[lit] Refactor out some more common lit configurat [...] adds 0b5ac08821 Extend -ast-dump for CXXRecordDecl to dump the flags from th [...] adds 0702d2e7fe [Analyzer] Log when auto-synthesized body is used. adds d6b1e9271c Add support for attribute 'noescape'. adds 1bdee855b5 Fix tracking of whether a destructor would be deleted. adds d578df7f78 [Analyzer] Refactor analyzer testing scripts. adds 392a9db851 [Analyzer] Static analyzer script for updating reference results adds ca99adda4e Add test cases that weren't committed in r313945. adds eb4d985968 Clean up some mistreatment of enumerations. adds 32a7bc13e3 Driver: remove support for libstdc++ from CrossWindows adds 7c0a112564 Give external linkage and mangling to lambdas inside inline [...] adds 2a1900ae5f Closure types have no name (and can't have a typedef name fo [...] adds f87d7f14d4 [clang-format] Ignore case and stable sort using-declarations adds d2eb6ef69c [analyzer] Add new delete with non-virtual destructor check adds 6254bf4ade Add Cross Translation Unit support library adds 9687f1d501 Fix unused variable warning. NFCI. adds 5c5aea8028 [Atomic][X8664] set max atomic inline width according to the target adds 78409ae639 [OPENMP] Handle re-declaration of captured variables in CodeGen. adds d454549fce [index] Generate class & metaclass manglings for objc adds 74d4b6706e [Coverage] Add an option to emit limited coverage info adds da4e89c847 bindings: expose Linkage to the python bindings adds cc76a8176e [clang] Fix printf fixit for objc specific types adds 44655e1e70 [lit.cfg] Avoid concatenating which(clang-func-mapping) if i [...] adds 4cdbc9913b Set completion priority of destructors and operators to CCP_ [...] adds b20ea24998 [clang] Fix isExternC matcher docs adds a3394c6dfe [CodeGen][ObjC] Build the global block structure before emit [...] adds f87b529510 clang-format plugin: Add missing NL (new line) at EOF (end of file) adds 764378e424 Fix unused variable warning in non-debug builds. adds 945869ef7b [test] Enable clang-func-mapping as a test dep with the analyzer adds dd94e045be DR1113: anonymous namespaces formally give their contents in [...] adds 56635e1e5f [Analyzer] Fix minor errors in python scripts. adds 72f704f4e9 [Support] Rename tool_output_file to ToolOutputFile, NFC adds 38808933e4 Commit missing fixes for tool_file_rename adds 2e4086bb2d Correctly compute linkage for members of internal linkage classes. adds d0d150d713 Promote storage-only __fp16 vector operands to float vectors. adds c2f06e5f1a [docs] Fix typos in Clang's User's Manual. adds 1de6f9cae3 Silence unused variable warning in Release builds. adds eaedd47dbd Don't warn about runtime behavior problems in variable initi [...] adds ce93d4af38 Fix implicit-fallthrough warning by adding missing break adds 0f4b296674 fixing a bug in mask[z]_set1 intrinsic adds 1d3c5c3304 [Clang] Adding missing feature to goldmont adds 51797d878f [Sema] Null check in BuildDeclarationNameExpr adds b204dc0e07 [CUDA] Fix names of __nvvm_vote* intrinsics. adds b46c968b1c [NVPTX] added match.{any,all}.sync instructions, intrinsics [...] adds 7c4fc66ad6 [MinGW] Don't link -lmsvcrt if a different msvcrt version is [...] adds 31d5daeb5c [analyzer] Fix crash on modeling of pointer arithmetic adds 0e312680f1 Revert "[NVPTX] added match.{any,all}.sync instructions, int [...] adds 2d4bdbc5f5 [x86] remove RUNs that were checking fully optimized IR adds 5572f1b64d Reinstall the patch "Use EmitPointerWithAlignment to get ali [...] adds ef0495fb69 [OpenMP] Don't throw cudalib not found error if only front-e [...] adds 3e8aa1c503 Revert commit with wrong message. adds 3283b6fcfe [OpenMP] Bugfix: output file name drops the absolute path wh [...] adds c5aa20fc2a [x86] make assertions less strict in avx512f test file adds 40e667da90 [x86] make assertions less strict in avx512f test file adds 4f45cc6913 [OpenMP] Enable the existing nocudalib flag for OpenMP offlo [...] adds 156b679450 Allow specifying sanitizers in blacklists adds 92ed6b0f91 clang-format/java: Always put space after `assert` keyword. adds 44519c262a [XRay][Driver] Do not link in XRay runtime in shared libs adds 436afdb285 Revert "[XRay][Driver] Do not link in XRay runtime in shared libs" adds d0c074c761 CodeGenModule: Adapt to LLVM TargetLibraryInfo changes adds 3d6b342fee [XRay][Driver] Do not link in XRay runtime in shared libs adds 25665b1d60 [XRay] Stop running tests for 'amd64', and remove -fPIE from tests. adds e5c8f5f684 [XRay] Remove -fPIC from shared build test. adds fa7ecf920a [XRay] Only run shared tests when 'enable_shared' is true adds d0f887b4cd [XRay] Run command once without piping to FileCheck adds 4df21e70e6 [XRay] Avoid actual linking when testing the driver adds bd9a973c97 [OPENMP] Generate implicit map|firstprivate clauses for targ [...] adds 597065b960 Fix TBAA information for reference accesses adds 9d282e4059 [OpenMP] Add an additional test for D34888 adds a65a2a03a8 [clang-format] Add ext/ to google include categories adds 1a2e48066b [mips] Accept but ignore -m(no-)branch-likely adds 5578391943 Revert commit 314210. adds ad8b98899b [OpenMP] Don't throw cudalib not found error if only front-e [...] adds 75512aa56d [analyzer] Keep track of design discusions as part of analyz [...] adds 1cb203aa36 [OPENMP] Fix handling of implicit mapping of array sections. adds e0623132fe [NVPTX] added match.{any,all}.sync instructions, intrinsics [...] adds aa8167de48 Sema: Windows/ARM __va_start is not const correct adds 95e3389155 [OpenMP] Add an additional test for D34888 adds 5d8103ae7d [Sema] Corrected the warn-on-throw-from-noexcept behavior to [...] adds 4d9b1ce096 Resolve a defect in C++17 copy omission. adds 07667dbf1f Delete trailing whitespace. adds dcf0996993 Allow IUnknown/IInterface types to come from extern C++ adds 423e48f4da Basic: support Preserve{Most,All} CC on Windows adds f26db7ad84 Revert commmit 314228. adds 2f6c71ff67 Sema: rename SemaBuiltinVAStart to SemaBuiltinVAStartMicrosoft adds 13d3da8127 Fix uninitialized member found by msan build bot. adds 2dab9ecc4a Emit section information for extern variables. adds e372125815 [clang-format] Adjust space around &/&& of structured bindings adds a6b278dc4b Fix capitalization of a bunch of parameters in SemaDeclAttr [NFC] adds b7eb46b39c Add test forgotten in r314262. adds 87f8a624e7 [clang-format] Fix FixNamespaceComments when BraceWrapping A [...] adds 0da7dda4ea [analyzer] Fix and refactor bugreporter::getDerefExpr() API. adds 3e1d04a92b [analyzer] Match more patterns in bugreporter::getDerefExpr() API. adds a0d7ea7ad1 [analyzer] Fix an outdated comment in a test. NFC. adds f475b581cc [X86][MS-InlineAsm] Extended support for variables / identif [...] adds b8e5f9486c revert rL314300 accidently added only tests w/o the respecti [...] adds cf6309caa0 [OpenMP] Add an additional test for D34888 adds ea39f03c83 [OpenCL] Handle address space conversion while setting type [...] adds dac8182904 [OpenCL] Fixed CL version in failing test. adds d80dab7c45 clang-format/java: Unbreak genenrics formatting after r299952. adds 365f2311ca [OpenMP] Fix memory leak when translating arguments adds 52ab14f423 [OpenMP] Fix passing of -m arguments to device toolchain adds a591cfdc78 [OpenMP] Fix translation of target args adds 31a16c4f5b [CUDA] Work around conflicting function definitions in CUDA- [...] adds 87d985aec9 Add support for remembering origins to ExternalASTMerger adds 619b7697b9 [AVR] Update data layout to match current LLVM trunk adds ce3b2b06b6 [Preprocessor] Preserve #pragma clang assume_nonnull in prep [...] adds 99c674688d [Targets/X86] Remove unneded `return` in setMaxAtomicWidth(). NFCI. adds 36c5bf71e4 Look through parentheses. adds 35b54a9ed7 [NFC] Modernize MacroArgs using TrailingObjects adds 29487927c0 [NFC] Don't use C++17 standard lib variable template helper [...] adds 7f9a0349ab Add the new -Wnull-pointer-arithmetic warnings to the release notes adds 0e1f5c3820 Use std::is_trivial instead of is_trivially_copyable. adds 34f8ea458e Fix -Wcast-qual warning after r314336. adds 9ecb2a6660 Consolidate std::move() detection code. No behavior change. adds f0ae815a5f [DWARF] Allow forward declarations of a class template insta [...] adds 2fbd83aec3 [AMDGPU] Allow flexible register names in inline asm constraints adds 84d048779f Add Documentation to attribute-nothrow. Additionally, limit [...] adds 112bfcc844 Fix test change missed in r314456 adds de3f99f1ef [Sema] Warn on attribute nothrow conflicting with language s [...] adds 0c1559eed6 [Sema] Correct nothrow inherited by noexcept adds c8b5789913 Properly parse a postfix expression following a Boolean lite [...] adds d5fedf9772 [clang] Add getUnsignedPointerDiffType method adds 3adb8ef46e [Sema] Put nullability fix-it after the end of the pointer. adds cd3ff5f109 [NFC] Rename variable 'Arguments' to 'Parameters' when lexin [...] adds 8c6abdf1ba [NFC] Replace 'arguments' with 'parameters' in comments rela [...] adds 2fb39644fd [X86][MS-InlineAsm] Extended support for variables / identif [...] adds 94efed908a [Sema] Suppress warnings for C's zero initializer adds cb0496ffd7 [docs][refactor] Add refactoring engine design documentation adds b732bfe1d0 Fix Modules/{builtin-import.mm,umbrella-header-include-built [...] adds be6736288b [test] Disable leak checking on a clang crash test on Darwin adds dfca37075e fixup, post rL314493 'InlineAsmIdentifierInfo' is now a stru [...] adds 06fad44fa9 [Sema] Correct IUnknown to support Unknwnbase.h Header. adds 3b862f6745 [PS4] Tidy up some debug-tuning v. triple decision-making. adds ecad4de87b Add a "vexing parse" warning for ambiguity between a variabl [...] adds 63536671fa [Analyzer] Synthesize function body for std::call_once adds 1d37cb4e87 [Analyzer] Add nullability to the list of tested checkers in [...] adds e926c1e89b [Analyzer] Document a gotcha: for C++ -analyze-function requ [...] adds 92f75f57f4 [Analyzer] Add dummy implementation to call_once to avoid li [...] adds 632796131d [ODRHash] Add base classes to hashing CXXRecordDecl. adds 05083095a0 clang/test/SemaCXX/ms-iunknown-template-function.cpp: Appeas [...] adds 51cc2d2916 [NFC] Remove superfluous parameter - MacroArgs already know [...] adds 744bd75982 [NFC] Add assertion that we assume a valid macro argument index. adds 965b68e557 [Analysis] Remove unused makeLvalueToRValue variant. adds 783c3526ad Test Commit. adds d27ee8f21e Dependent Address Space Support adds 1b6da5f2b8 Dependent Address Space Support Test File adds c6e3259e70 [CodeGen] Do not refer to complete TBAA info where we actual [...] adds 80dc32ec8b [CodeGen] Have a special function to get TBAA info for may-a [...] adds d0d495fe2b Dependent Address Space Support Test Fix adds c88baf9cbd [OPENMP] Simplify codegen for non-offloading code. adds 316ebefb7f [OPENMP] Fix test, NFC. adds 4e0b56c202 [clang-format] Fix regression about short functions after #else adds 3ac9cc2040 [OPENMP] Capture argument of `device` clause for target-base [...] adds 6046d0c42a Update IUnknown lit test to pass on Win32 adds 3a1ab56d81 Revert "[Sema] Warn on attribute nothrow conflicting with la [...] adds 3ee23996d9 [CUDA] Fix name of __activemask() adds 86395f102e [Analyzer] Make testing scripts flake8 compliant adds c6d74ce7e8 Revert "Add /System/Library/PrivateFrameworks as a header se [...] adds c97363b2c1 Add a testcase to check that debug info is upgraded when com [...] adds 7b93fc9054 [refactor] Simplify the refactoring interface adds 0e22b1b529 Add support for Myriad ma2x8x series of CPUs adds c2fcd62274 Add std::move in RefactoringActionRulesTest.cpp adds 3c43204d0b [Analyzer] Avoid copy and modifying passed reference in Body [...] adds 7fc0a33d44 PR33839: Fix -Wunused handling for structured binding declarations. adds c996942a00 [clang-cl] Claim ignored /O[12xd] arguments adds 6d25f92413 [NFC] Refactor PasteTokens so that it can be passed the Toke [...] adds 1d05c89b9e Remove an assertion I added from the refactoring of pasteTok [...] adds 5cf80880ea [ubsan] Save a ptrtoint when emitting alignment checks adds ce333a53b1 [ubsan] Add helpers to decide when null/vptr checks are requ [...] adds 9ce2dd4d7e [ubsan] Save the result of getLLVMContext. NFC. adds 3f7b4f37be [ubsan] Skip alignment checks which are folded away adds 6a419e7edf Add parens around the boolean condition of one of the added [...] adds 36f680edfd R34811: Allow visibilities other than 'default' for VisibleN [...] adds 582ed924e5 [CodeGen] Introduce generic TBAA access descriptors adds 6292fe071a [CodeGen] Fix propagation of TBAA info for atomic accesses adds 36cfc21c6e [OpenCL] Fix checking of vector type casting adds be0345e472 [Analyzer] More granular special casing in RetainCountChecker adds edf4483622 Revert r314820 "[Analyzer] More granular special casing in R [...] adds 3201ad61aa [OPENMP] Allow use of declare target directive inside struct [...] adds 779f9090b5 Suppress -Wmissing-braces warning when aggregate-initializin [...] adds dd3b9fb5a9 [CMake] Minor updates to Apple CMake caches adds a171bb0ee4 [Analyzer] Re-apply r314820 with a fix for StringRef lifetime. adds 15b35a3943 [ExprConstant] Allow constexpr ctor to modify non static dat [...] adds 37e876e3db PR34822: Fix a collection of related bugs with our handling [...] adds 39691fddaf We allow implicit function declarations as an extension in a [...] adds eb5cf2772e Move verbosity check for opt remarks to the diag handler. adds 74f99c5856 Fix assertion failure in thread safety analysis (PR34800). adds 940a9ffc62 [OpenMP] Fix passing of -m arguments correctly adds 0ecd5c3753 [test] Pass in fixed triple for openmp-offload.c adds c64cb39314 [OpenMP] Initial implementation of teams distribute code generation adds c99811f061 [analyzer] Fix autodetection of binding types. adds 5915ee7c6a [Hexagon] Move getHexagonTargetFeatures to Hexagon.cpp (NFC) adds 8dd6284b7c [OpenCL] Clean up and add missing fields for block struct adds 2c4bc52489 Fix 'section' warning behavior with tentatively-defined values adds 79dee32466 Remove PendingBody mechanism for function and ObjC method de [...] adds dbda370edb PR33924: Merge block-scope anonymous declarations if there a [...] adds b5085172fa Add testcase for r314956: adds 812f8f999c [Analyzer Tests] Fix misc bugs in analyzer reference results [...] adds e2787a6b93 Enabling new pass manager in LTO (and thinLTO) link step. adds 7728f3542e [analyzer] Fix leak false positives on stuff put in C++/ObjC [...] adds c64aa1bff6 [CodeGen] Unify generation of scalar and struct-path TBAA tags adds 9c61abafb8 Revert r314977 "[CodeGen] Unify generation of scalar and str [...] adds 072e2cd288 [CodeGen] Unify generation of scalar and struct-path TBAA tags adds 9f31f2539f [Analyzer Tests] Run static analyzer integration tests until [...] adds 435d6c49f0 [OPENMP] Fix mapping|privatization of implicitly captured va [...] adds 6ddf39e8aa Fix two-phase name lookup for non-dependent overloaded operators. adds dc1ef58f66 Cleanup and generalize -shared-libasan. adds 2a389131d8 For dllexport class templates, export specializations of mem [...] adds f85aa6be48 [CMake] Add install-distribution-toolchain to stage2 target list adds bf4f193071 [CodeGen] Emit a helper function for __builtin_os_log_format [...] adds a58a87ba41 Fix check strings in test case and use llvm::to_string inste [...] adds 3edd35c6fa Fix one more check string after r315045. adds 04e95cd444 Refine generation of TBAA information in clang adds 1e4977ee8e Fix one more check string after r315045. adds 4c2015e24d [OPENMP] Capture references to global variables. adds 2d90907990 Split X86::BI__builtin_cpu_init handling into own function[NFC] adds ac3c06e880 [OPENMP] Do not capture local static variables. adds 25ced9aa81 For Windows, allow .exe extension in a test. adds e3f5d7aac0 Run pyformat on lit code. adds 36bd96f989 [lit] Improve tool substitution in lit. adds 172bca309c [refactor] add support for refactoring options adds 0cbff250f6 [ObjC] Don't warn on readwrite properties with custom setter [...] adds cc5ee4901e OpenCL: Assume functions are convergent adds f1381a926e Revert r315087 adds c1458454c9 -Wdocumentation should allow '...' params in variadic functi [...] adds f10bd51bb6 [MS] Raise the default value of _MSC_VER to 1911, which is VS 2017 adds fe2683b085 Revert "For dllexport class templates, export specialization [...] adds b623e4aa71 Driver: hoist the `wchar_t` handling to the driver adds 613051701a [Driver] Fix -static-libsan / -shared-libsan on Darwin adds 0263a35fe6 Remove unused variables. No functionality change. adds 3d1f884c56 Make SourceLocation, QualType and friends have constexpr con [...] adds b9f6a1f43c Remove unused variables. No functionality change. adds 8ea201f89c Certain versions of clang require an explicit initialization [...] adds 5dbb2b9491 Set PreprocessorOpts.GeneratePreamble=true in PrecompiledPreamble. adds bdc2045617 AMDGPU: Fix missing declaration for __builtin_amdgcn_dispatch_ptr adds eeec815618 Testing commit access. adds 21e1fad25b PR13575: Fix USR mangling for fixed-size arrays adds 2feacd003b AMDGPU: Add read_exec_lo/hi builtins adds 97590e2368 PR13575: Fix test adds a167502bf9 [Analyzer] Do not segfault on unexpected call_once implementation adds 9ee4a4e444 [Modules TS] Module ownership semantics for redeclarations. adds a3aaa66c47 Fix typos in documentation adds 066f684bed R13575: Fix USR mangling for function pointer types adds aad768a1a5 [Modules TS] Avoid computing the linkage of the enclosing De [...] adds 1c1f51cab8 [Sema][ObjC] Preserve syntactic sugar when removing ARCRecla [...] adds d89b5f87c9 [ASTMatchers] Don't create a copy of a std::set when iterati [...] adds a8e3ebd8b6 Fix small nits in clang-refactor doc. adds bb7654dfb0 [CodeGen] Do not construct complete LValue base info in triv [...] adds 56ae0c38e8 [clang-refactor] Fix clang-tidy misc-move-const-arg warning. adds f8ba2666e1 [analyzer] Implement pointer arithmetic on constants adds 90036a540c [analyzer] PthreadLockChecker: Add printState() method for s [...] adds c91d03cade [analyzer] MisusedMovedObject: Add printState() method for s [...] adds 18e9d0430b [analyzer] MisusedMovedObject: Fix state-resetting a base-cl [...] adds 5c21b0272a Revert "[Modules TS] Avoid computing the linkage of the encl [...] adds e8f1fa7770 Revert "[Modules TS] Module ownership semantics for redeclar [...] adds b824f3553d Fix a (slightly weird) 'comma operator within array index ex [...] adds 76e3b89942 [OPENMP] Add default codegen|tests for 'target parallel for[ [...] adds a92cdd5042 For dllexport class templates, export specializations of mem [...] adds c3893ecadc [clang-fuzzer] Allow building without coverage instrumentation. adds 0fa621d8a3 [lit] Add host_cxx to lit config adds 0724462a08 [clang-fuzzer] Build proto-to-cxx with fuzzer-no-link. adds c7fa5350c5 Revert "[clang-fuzzer] Allow building without coverage instr [...] adds 6d6c393741 [CGExprScalar] In EmitCompare trunc the result if it has dif [...] adds ce4a687857 Add test for regression caused by reverted patch r315251. adds 8c9bf999aa Fix indexer crash for default template template parameter value adds 2e86b2ecf1 Support: Have directory_iterator::status() return FindFirstF [...] adds 6bbe311027 [Modules TS] Module ownership semantics for redeclarations. adds 3f972b5e4a [Modules TS] Diagnose attempts to enter module implementatio [...] adds 1e201d8827 Include getting generated struct offsets in CodegenABITypes adds 4da3addc80 [Modules TS] Diagnose missing/duplicate module-declaration. adds bd279d8765 A '<' with a trigraph '#' is not a valid editor placeholder adds 8da894badf [modules] Only take visible using-directives into account du [...] adds fa26081470 [modules] Fix visibility checking for using declarations via ADL. adds 853872e514 Update cc1as_main for MCAsmBackend ownership change in r315410. adds e5d80cd81b ClangCodeGenTests: Update libdeps in rL315392, +clangAST. adds da7bb02c54 Reorder. adds 2b8fac8aee Revert r314955: "Remove PendingBody mechanism for function a [...] adds 41ca94e922 [clang-rename] Don't add prefix qualifiers to the declaratio [...] adds caaaf1b95e [OpenCL] Allow function declaration with empty argument list. adds 31636910b4 [clang-rename] Add more unittest. adds e24b3a3568 [Analyzer] Clarify error messages for undefined result adds 537401c562 [clang-fuzzer] Fix shared library dependencies. adds 5288ea1496 [OPENMP] Fix PR34916: Crash on mixing taskloop|tasks directives. adds f2e915f5f9 Reland "[clang-fuzzer] Allow building without coverage instr [...] adds 5126623c20 [OPENMP] Remove extra if, NFC. adds 61f290578c [X86] Correct type for argument to clflushopt intrinsic. adds 0c759b0a18 [clang-fuzzer] Allow linking with any fuzzing engine. adds 67126951b5 [Analyzer] Assume that string-like const globals are non-nil. adds 9197bbb6e9 [Analyzer] Remove dead code from testing scripts adds 83aa10497a [Analyzer] Fix introduced regression: properly check for nul [...] adds 57a445eedd [clang-fuzzer] Build with newer protobuf-mutator. adds adf2c165d9 [Analyzer] Support bodyfarming libstdc++ implementation of s [...] adds 9563977e8b [X86] Add support for 'amdfam17h' to __builtin_cpu_is to match gcc. adds f8e070853e [Driver] Export symbols needed to use profile runtime adds 29b9ec05e6 [ADT] Make Twine's copy constructor private. adds c353732a31 Update cc1as_main for MCCodeEmitter ownership change in r315531. adds 6c57331175 Revert "[ADT] Make Twine's copy constructor private." adds 31035d0847 [X86] Remove a few unnecessary check lines from the predefin [...] adds 36e4fcd16d clang/module.modulemap: Create Clang_Frontend_CodeGenOptions [...] adds d5b809ab41 [COFF, ARM64] Add MS builtins __dmb, __dsb, __isb adds d5d949d6d3 Split the AlignTrailingComments on several lines. The commen [...] adds 669951b136 SVal::getAsSymbol(bool IncludeBaseRegions): Follow clang/Sta [...] adds 9047763be7 Fix warnings. [-Wdocumentation] adds 4f7fc2550d [CodeGen] Generate TBAA info along with LValue base info adds 01107d3d1f [OPENMP] Fix PR34925: Fix getting thread_id lvalue for inlin [...] adds b33432c3fd [OPENMP] Fix PR34926: Fix handling of the array sections pas [...] adds cf450b4ea4 [X86] Use -ffreestanding instead of using the mm_malloc.h in [...] adds 780c8ad4b3 [clang-format] Allow building fuzzer with OSS-Fuzz flags. adds bc5044dbad [X86] Add CLWB intrinsic. clang part adds c284921aae [OPENMP] Fix PR34927: Emit initializer for reduction array w [...] adds b9f3533558 [Sema] Diagnose tautological comparison with type's min/max values adds 5d9530c605 [Analysis] Silence -Wtautological-constant-compare in two tests adds 0db6ef6e1d [SemaChecking] Suppress a GCC warning. NFCI. adds 8f9f718955 [Analysis] Un-silence -Wtautological-unsigned-zero-compare i [...] adds 913b7c774b [CUDA] Added __hmma_m16n16k16_* builtins to support mma inst [...] adds 12cf9455cb [lit] Raise the logic for enabling clang & lld substitutions [...] adds 783e107de5 [cmake] Rename LIB_FUZZING_ENGINE to LLVM_LIB_FUZZING_ENGINE. adds 720ba14b8e Revert "[Sema] Diagnose tautological comparison with type's [...] adds c5c0712284 [Sema][Crash] Correctly handle an non-dependent noexcept exp [...] adds bab2fb8d67 [Sema][ObjC] Complete merging ObjC methods before checking t [...] adds d81f643eb4 Handle/assert on DK_Remark adds 93bb48133f Typos in tutorial adds 7cd19b9e4f [Analyzer] Assume that CFBooleanRef const globals are non-null adds d5704343ee [MS] Don't bail on replacing dllimport vbase dtors with base dtors adds a2f602c731 Recommit r315087 "[refactor] add support for refactoring options" adds 404915f6a4 Support for destroying operator delete, per C++2a proposal P0722. adds 290556e7d3 [clang] Enable clang build with LLVM_BUILD_INSTRUMENTED with [...] adds a86f30ef47 [OpenCL] Add LangAS::opencl_private to represent private add [...] adds 0ea7666767 Fix regression of test/CodeGenOpenCL/address-spaces.cl on ppc new ec037e2cf2 Updating branches/google/stable to r315680
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/cindex.py | 29 + bindings/python/tests/cindex/test_cursor.py | 22 + bindings/python/tests/cindex/test_linkage.py | 30 + cmake/caches/Apple-stage1.cmake | 8 + cmake/caches/Apple-stage2.cmake | 4 + cmake/modules/ProtobufMutator.cmake | 2 +- docs/ClangFormatStyleOptions.rst | 10 +- docs/ControlFlowIntegrity.rst | 12 +- docs/InternalsManual.rst | 4 +- docs/LibASTMatchersReference.html | 22 +- docs/RefactoringEngine.rst | 253 ++ docs/ReleaseNotes.rst | 10 + docs/SanitizerSpecialCaseList.rst | 32 +- docs/UsersManual.rst | 4 +- .../DesignDiscussions/InitializerLists.rst | 321 +++ docs/index.rst | 1 + include/clang-c/Index.h | 6 + include/clang/AST/ASTContext.h | 45 +- include/clang/AST/ASTMutationListener.h | 4 +- include/clang/AST/CharUnits.h | 4 +- include/clang/AST/Decl.h | 20 +- include/clang/AST/DeclBase.h | 7 + include/clang/AST/DeclCXX.h | 24 +- include/clang/AST/Expr.h | 13 + include/clang/AST/ExternalASTMerger.h | 139 +- include/clang/AST/OpenMPClause.h | 17 +- include/clang/AST/RecursiveASTVisitor.h | 11 + include/clang/AST/Type.h | 67 +- include/clang/AST/TypeLoc.h | 70 + include/clang/AST/TypeNodes.def | 1 + include/clang/ASTMatchers/ASTMatchers.h | 9 +- include/clang/Analysis/Analyses/ThreadSafetyTIL.h | 23 +- include/clang/Basic/AddressSpaces.h | 9 +- include/clang/Basic/AllDiagnostics.h | 1 + include/clang/Basic/Attr.td | 9 +- include/clang/Basic/AttrDocs.td | 53 + include/clang/Basic/BuiltinsAArch64.def | 9 + include/clang/Basic/BuiltinsAMDGPU.def | 3 + include/clang/Basic/BuiltinsNVPTX.def | 34 + include/clang/Basic/BuiltinsX86.def | 5 +- include/clang/Basic/CMakeLists.txt | 1 + include/clang/Basic/Diagnostic.td | 1 + include/clang/Basic/DiagnosticCrossTUKinds.td | 18 + include/clang/Basic/DiagnosticFrontendKinds.td | 2 + include/clang/Basic/DiagnosticGroups.td | 1 + include/clang/Basic/DiagnosticIDs.h | 4 +- include/clang/Basic/DiagnosticSemaKinds.td | 45 +- .../clang/Basic/DiagnosticSerializationKinds.td | 21 + include/clang/Basic/LangOptions.def | 3 +- include/clang/Basic/LangOptions.h | 4 + include/clang/Basic/SanitizerBlacklist.h | 15 +- include/clang/Basic/SanitizerSpecialCaseList.h | 54 + include/clang/Basic/SourceLocation.h | 24 +- include/clang/Basic/TargetInfo.h | 6 + include/clang/CodeGen/CodeGenABITypes.h | 9 +- include/clang/CrossTU/CrossTUDiagnostic.h | 29 + include/clang/CrossTU/CrossTranslationUnit.h | 159 ++ include/clang/Driver/CC1Options.td | 14 +- include/clang/Driver/Options.td | 12 +- include/clang/Driver/SanitizerArgs.h | 5 +- include/clang/Driver/ToolChain.h | 10 +- include/clang/Frontend/CodeGenOptions.def | 4 + include/clang/Lex/MacroArgs.h | 8 +- include/clang/Lex/PPCallbacks.h | 18 + include/clang/Lex/PreprocessorLexer.h | 2 +- include/clang/Lex/TokenLexer.h | 39 +- include/clang/Parse/Parser.h | 1 - include/clang/Sema/DeclSpec.h | 36 + include/clang/Sema/Lookup.h | 25 +- include/clang/Sema/Overload.h | 30 +- include/clang/Sema/Sema.h | 103 +- include/clang/Serialization/ASTBitCodes.h | 4 +- include/clang/Serialization/ASTReader.h | 5 +- include/clang/Serialization/ASTWriter.h | 3 +- include/clang/StaticAnalyzer/Checkers/Checkers.td | 9 + .../Core/PathSensitive/CheckerContext.h | 7 + .../Tooling/Refactoring/RefactoringActionRule.h | 29 +- .../RefactoringActionRuleRequirements.h | 111 +- .../RefactoringActionRuleRequirementsInternal.h | 104 - .../Tooling/Refactoring/RefactoringActionRules.h | 114 +- .../Refactoring/RefactoringActionRulesInternal.h | 203 +- .../clang/Tooling/Refactoring/RefactoringOption.h | 64 + .../Tooling/Refactoring/RefactoringOptionVisitor.h | 62 + .../clang/Tooling/Refactoring/RefactoringOptions.h | 58 + .../Refactoring/RefactoringResultConsumer.h | 23 - .../Tooling/Refactoring/Rename/RenamingAction.h | 12 +- .../Refactoring/SourceSelectionConstraints.h | 114 - include/clang/module.modulemap | 9 +- lib/AST/ASTContext.cpp | 131 +- lib/AST/ASTDumper.cpp | 122 + lib/AST/ASTImporter.cpp | 15 + lib/AST/ASTStructuralEquivalence.cpp | 15 + lib/AST/CommentSema.cpp | 10 +- lib/AST/Decl.cpp | 240 +- lib/AST/DeclBase.cpp | 5 +- lib/AST/DeclCXX.cpp | 32 +- lib/AST/Expr.cpp | 39 +- lib/AST/ExprCXX.cpp | 16 + lib/AST/ExprConstant.cpp | 33 +- lib/AST/ExternalASTMerger.cpp | 402 ++- lib/AST/ItaniumMangle.cpp | 74 +- lib/AST/Linkage.h | 81 +- lib/AST/MicrosoftMangle.cpp | 9 + lib/AST/ODRHash.cpp | 8 + lib/AST/OpenMPClause.cpp | 3 +- lib/AST/RecordLayoutBuilder.cpp | 1 - lib/AST/Type.cpp | 21 + lib/AST/TypePrinter.cpp | 28 +- lib/ASTMatchers/ASTMatchFinder.cpp | 5 +- lib/Analysis/BodyFarm.cpp | 317 ++- lib/Analysis/Consumed.cpp | 3 +- lib/Analysis/PrintfFormatString.cpp | 4 +- lib/Analysis/ScanfFormatString.cpp | 4 +- lib/Analysis/UninitializedValues.cpp | 15 +- lib/Basic/CMakeLists.txt | 1 + lib/Basic/DiagnosticIDs.cpp | 4 +- lib/Basic/OpenMPKinds.cpp | 4 +- lib/Basic/SanitizerBlacklist.cpp | 27 +- lib/Basic/SanitizerSpecialCaseList.cpp | 64 + lib/Basic/TargetInfo.cpp | 12 +- lib/Basic/Targets.cpp | 1 + lib/Basic/Targets/AArch64.cpp | 17 +- lib/Basic/Targets/AMDGPU.cpp | 4 + lib/Basic/Targets/AMDGPU.h | 79 +- lib/Basic/Targets/ARM.cpp | 23 +- lib/Basic/Targets/AVR.h | 4 +- lib/Basic/Targets/NVPTX.h | 1 + lib/Basic/Targets/OSTargets.h | 7 +- lib/Basic/Targets/SPIR.h | 1 + lib/Basic/Targets/Sparc.cpp | 53 +- lib/Basic/Targets/Sparc.h | 16 + lib/Basic/Targets/TCE.h | 1 + lib/Basic/Targets/X86.cpp | 2 + lib/Basic/Targets/X86.h | 15 +- lib/Basic/VirtualFileSystem.cpp | 4 +- lib/Basic/XRayLists.cpp | 14 +- lib/CMakeLists.txt | 1 + lib/CodeGen/CGAtomic.cpp | 22 +- lib/CodeGen/CGBlocks.cpp | 273 +- lib/CodeGen/CGBuilder.h | 7 + lib/CodeGen/CGBuiltin.cpp | 480 +++- lib/CodeGen/CGCXX.cpp | 32 +- lib/CodeGen/CGCall.cpp | 22 +- lib/CodeGen/CGClass.cpp | 123 +- lib/CodeGen/CGDebugInfo.cpp | 4 + lib/CodeGen/CGDecl.cpp | 4 +- lib/CodeGen/CGDeclCXX.cpp | 30 +- lib/CodeGen/CGExpr.cpp | 310 +-- lib/CodeGen/CGExprCXX.cpp | 95 +- lib/CodeGen/CGExprComplex.cpp | 1 - lib/CodeGen/CGExprScalar.cpp | 50 +- lib/CodeGen/CGObjC.cpp | 6 +- lib/CodeGen/CGOpenCLRuntime.cpp | 7 + lib/CodeGen/CGOpenCLRuntime.h | 3 + lib/CodeGen/CGOpenMPRuntime.cpp | 189 +- lib/CodeGen/CGOpenMPRuntime.h | 4 + lib/CodeGen/CGStmtOpenMP.cpp | 77 +- lib/CodeGen/CGValue.h | 34 +- lib/CodeGen/CodeGenABITypes.cpp | 7 + lib/CodeGen/CodeGenAction.cpp | 15 +- lib/CodeGen/CodeGenFunction.cpp | 20 +- lib/CodeGen/CodeGenFunction.h | 99 +- lib/CodeGen/CodeGenModule.cpp | 91 +- lib/CodeGen/CodeGenModule.h | 42 +- lib/CodeGen/CodeGenTBAA.cpp | 92 +- lib/CodeGen/CodeGenTBAA.h | 110 +- lib/CodeGen/ItaniumCXXABI.cpp | 12 + lib/CodeGen/MicrosoftCXXABI.cpp | 2 +- lib/CodeGen/TargetInfo.h | 22 + lib/CrossTU/CMakeLists.txt | 13 + lib/CrossTU/CrossTranslationUnit.cpp | 272 ++ lib/Driver/Compilation.cpp | 26 +- lib/Driver/SanitizerArgs.cpp | 8 +- lib/Driver/ToolChain.cpp | 113 +- lib/Driver/ToolChains/Clang.cpp | 87 +- lib/Driver/ToolChains/CommonArgs.cpp | 38 +- lib/Driver/ToolChains/CrossWindows.cpp | 37 +- lib/Driver/ToolChains/Cuda.cpp | 12 +- lib/Driver/ToolChains/Darwin.cpp | 32 +- lib/Driver/ToolChains/Fuchsia.cpp | 2 +- lib/Driver/ToolChains/Gnu.cpp | 5 + lib/Driver/ToolChains/Hexagon.cpp | 16 + lib/Driver/ToolChains/Hexagon.h | 4 + lib/Driver/ToolChains/MSVC.cpp | 47 +- lib/Driver/ToolChains/MinGW.cpp | 3 + lib/Format/Format.cpp | 3 +- lib/Format/FormatTokenLexer.cpp | 4 - lib/Format/NamespaceEndCommentsFixer.cpp | 6 + lib/Format/TokenAnnotator.cpp | 22 +- lib/Format/UnwrappedLineFormatter.cpp | 3 +- lib/Format/UsingDeclarationsSorter.cpp | 5 +- lib/Frontend/ASTUnit.cpp | 1 - lib/Frontend/CompilerInstance.cpp | 1 + lib/Frontend/CompilerInvocation.cpp | 14 +- lib/Frontend/InitHeaderSearch.cpp | 1 - lib/Frontend/MultiplexConsumer.cpp | 7 +- lib/Frontend/PrecompiledPreamble.cpp | 2 + lib/Frontend/PrintPreprocessedOutput.cpp | 18 + lib/Headers/CMakeLists.txt | 1 + lib/Headers/__clang_cuda_intrinsics.h | 70 +- lib/Headers/__clang_cuda_runtime_wrapper.h | 11 + lib/Headers/avx512vlintrin.h | 4 +- lib/Headers/clflushoptintrin.h | 2 +- lib/Headers/{clflushoptintrin.h => clwbintrin.h} | 25 +- lib/Headers/immintrin.h | 4 + lib/Index/CodegenNameGenerator.cpp | 39 +- lib/Index/IndexDecl.cpp | 3 +- lib/Index/USRGeneration.cpp | 25 +- lib/Lex/Lexer.cpp | 3 +- lib/Lex/MacroArgs.cpp | 41 +- lib/Lex/PPDirectives.cpp | 32 +- lib/Lex/PPMacroExpansion.cpp | 2 +- lib/Lex/Pragma.cpp | 5 + lib/Lex/TokenLexer.cpp | 97 +- lib/Parse/ParseDecl.cpp | 69 +- lib/Parse/ParseExpr.cpp | 3 +- lib/Parse/ParseExprCXX.cpp | 1 - lib/Parse/ParseOpenMP.cpp | 14 +- lib/Parse/ParseStmtAsm.cpp | 26 +- lib/Parse/Parser.cpp | 4 +- lib/Sema/AnalysisBasedWarnings.cpp | 2 +- lib/Sema/MultiplexExternalSemaSource.cpp | 2 - lib/Sema/Sema.cpp | 11 + lib/Sema/SemaChecking.cpp | 66 +- lib/Sema/SemaCodeComplete.cpp | 18 +- lib/Sema/SemaDecl.cpp | 267 +- lib/Sema/SemaDeclAttr.cpp | 107 +- lib/Sema/SemaDeclCXX.cpp | 166 +- lib/Sema/SemaDeclObjC.cpp | 40 +- lib/Sema/SemaExpr.cpp | 152 +- lib/Sema/SemaExprCXX.cpp | 42 +- lib/Sema/SemaExprMember.cpp | 3 +- lib/Sema/SemaExprObjC.cpp | 39 +- lib/Sema/SemaInit.cpp | 123 +- lib/Sema/SemaLambda.cpp | 16 +- lib/Sema/SemaLookup.cpp | 80 +- lib/Sema/SemaObjCProperty.cpp | 6 +- lib/Sema/SemaOpenMP.cpp | 263 +- lib/Sema/SemaOverload.cpp | 127 +- lib/Sema/SemaStmtAsm.cpp | 48 +- lib/Sema/SemaTemplate.cpp | 19 +- lib/Sema/SemaTemplateDeduction.cpp | 65 + lib/Sema/SemaTemplateInstantiate.cpp | 14 +- lib/Sema/SemaTemplateInstantiateDecl.cpp | 29 +- lib/Sema/SemaType.cpp | 423 ++- lib/Sema/TreeTransform.h | 94 +- lib/Serialization/ASTReader.cpp | 158 +- lib/Serialization/ASTReaderDecl.cpp | 13 +- lib/Serialization/ASTReaderStmt.cpp | 1 + lib/Serialization/ASTWriter.cpp | 22 +- lib/Serialization/ASTWriterDecl.cpp | 2 + lib/Serialization/ASTWriterStmt.cpp | 1 + lib/StaticAnalyzer/Checkers/CMakeLists.txt | 2 + lib/StaticAnalyzer/Checkers/ConversionChecker.cpp | 57 +- .../Checkers/DeleteWithNonVirtualDtorChecker.cpp | 153 ++ .../Checkers/MisusedMovedObjectChecker.cpp | 30 +- .../Checkers/NonnullGlobalConstantsChecker.cpp | 140 + lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp | 35 + lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 9 +- lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp | 47 +- lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 92 +- lib/StaticAnalyzer/Core/CallEvent.cpp | 17 +- lib/StaticAnalyzer/Core/CheckerContext.cpp | 32 + lib/StaticAnalyzer/Core/ExprEngine.cpp | 55 +- lib/StaticAnalyzer/Core/RegionStore.cpp | 19 +- lib/StaticAnalyzer/Core/SVals.cpp | 4 +- lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp | 14 +- lib/Tooling/Refactoring/CMakeLists.txt | 1 - lib/Tooling/Refactoring/Rename/RenamingAction.cpp | 106 +- lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | 75 +- .../Refactoring/SourceSelectionConstraints.cpp | 23 - test/Analysis/DeleteWithNonVirtualDtor.cpp | 187 ++ test/Analysis/MisusedMovedObject.cpp | 8 + test/Analysis/bitwise-ops.c | 20 +- test/Analysis/call_once.cpp | 251 ++ test/Analysis/ctor.mm | 11 +- test/Analysis/exercise-ps.c | 8 + test/Analysis/func-mapping-test.cpp | 7 + test/Analysis/gtest.cpp | 14 + test/Analysis/initializer.cpp | 18 +- test/Analysis/inlining/inline-defensive-checks.c | 12 + test/Analysis/nonnull-global-constants.mm | 103 + test/Analysis/null-deref-path-notes.c | 9 + test/Analysis/null-deref-path-notes.cpp | 25 + test/Analysis/null-deref-path-notes.m | 240 ++ test/Analysis/nullptr.cpp | 65 +- test/Analysis/objc-boxing.m | 35 + test/Analysis/objc-for.m | 19 + test/Analysis/pointer-arithmetic.c | 30 + test/Analysis/ptr-arith.cpp | 6 + test/Analysis/retain-release.mm | 7 + test/CMakeLists.txt | 13 +- test/CXX/basic/basic.link/p8.cpp | 31 +- .../basic.lookup.qual/class.qual/p2.cpp | 1 + .../class/class.static/class.static.data/p3.cpp | 2 +- test/CXX/conv/conv.prom/p2.cpp | 2 +- test/CXX/drs/dr11xx.cpp | 30 + test/CXX/except/except.spec/p1.cpp | 9 + test/CXX/expr/expr.const/p2-0x.cpp | 14 +- .../basic/basic.def.odr/p6/global-vs-module.cpp | 55 + .../basic/basic.def.odr/p6/module-vs-global.cpp | 19 + .../basic/basic.def.odr/p6/module-vs-module.cpp | 44 + .../basic/basic.link/module-declaration.cpp | 11 +- .../dcl.dcl/dcl.module/dcl.module.import/p1.cpp | 5 +- .../dcl.dcl/dcl.module/dcl.module.interface/p1.cpp | 13 +- test/CXX/modules-ts/dcl.dcl/dcl.module/p1.cpp | 14 + test/CXX/modules-ts/dcl.dcl/dcl.module/p2.cpp | 6 + test/CXX/special/class.dtor/p5-implicit.cpp | 21 + .../sanitizer-special-case-list.sanitized.txt | 4 + .../sanitizer-special-case-list.unsanitized1.txt | 2 + .../sanitizer-special-case-list.unsanitized2.txt | 4 + .../sanitizer-special-case-list.unsanitized3.txt | 4 + .../sanitizer-special-case-list.unsanitized4.txt | 4 + test/CodeGen/adc-builtins.c | 4 +- test/CodeGen/arm-metadata.c | 2 +- test/CodeGen/arm64-microsoft-intrinsics.c | 26 + test/CodeGen/avx512-reduceMinMaxIntrin.c | 2852 +++++++++++++++++--- test/CodeGen/avx512f-builtins.c | 115 +- test/CodeGen/avx512ifmavl-builtins.c | 4 +- test/CodeGen/avx512vl-builtins.c | 36 +- test/CodeGen/blocks-opencl.cl | 17 - test/CodeGen/builtin-clflushopt.c | 6 +- test/CodeGen/builtin-clwb.c | 9 + test/CodeGen/builtin-clzero.c | 4 +- test/CodeGen/builtins-nvptx-ptx60.cu | 61 +- test/CodeGen/builtins-nvptx-sm_70.cu | 166 ++ test/CodeGen/builtins-nvptx.c | 12 + test/CodeGen/builtins.c | 514 ++-- test/CodeGen/catch-undef-behavior.c | 3 +- test/CodeGen/fp16vec-ops.c | 162 ++ test/CodeGen/mangle-blocks.c | 6 +- test/CodeGen/ms-inline-asm-enums.cpp | 55 + test/CodeGen/ms-inline-asm-variables.c | 35 + test/CodeGen/pascal-wchar-string.c | 2 +- test/CodeGen/ppc-vector-compare.cc | 11 + test/CodeGen/preserve-call-conv.c | 3 + test/CodeGen/sanitizer-special-case-list.c | 26 + test/CodeGen/string-literal-short-wstring.c | 4 +- test/CodeGen/string-literal-unicode-conversion.c | 2 +- test/CodeGen/target-builtin-noerror.c | 1 + test/CodeGen/tbaa-for-vptr.cpp | 6 +- test/CodeGen/tbaa-reference.cpp | 29 + test/CodeGen/verify-debuginfo.ll | 17 + test/CodeGen/wchar-size.c | 2 +- test/CodeGenCXX/anonymous-namespaces.cpp | 9 +- test/CodeGenCXX/atomic-align.cpp | 30 + test/CodeGenCXX/atomic-inline.cpp | 69 + test/CodeGenCXX/cfi-blacklist.cpp | 16 +- test/CodeGenCXX/cxx2a-destroying-delete.cpp | 161 ++ test/CodeGenCXX/debug-info-anon-namespace.cpp | 18 +- test/CodeGenCXX/debug-info-fwd-template-param.cpp | 20 + test/CodeGenCXX/dllexport.cpp | 15 + test/CodeGenCXX/dllimport-dtor-thunks.cpp | 49 + test/CodeGenCXX/extern-section-attribute.cpp | 11 + test/CodeGenCXX/mangle-lambdas.cpp | 28 +- test/CodeGenCXX/noescape.cpp | 67 + test/CodeGenCXX/ubsan-suppress-checks.cpp | 12 + test/CodeGenCXX/visibility-inlines-hidden.cpp | 13 + test/CodeGenObjC/arc-bridged-cast.m | 8 + test/CodeGenObjC/local-static-block.m | 11 + test/CodeGenObjC/mangle-blocks.m | 6 +- test/CodeGenObjC/noescape.m | 71 + test/CodeGenObjC/os_log.m | 78 +- test/CodeGenOpenCL/address-spaces-mangling.cl | 22 +- test/CodeGenOpenCL/address-spaces.cl | 68 + test/CodeGenOpenCL/amdgpu-attrs.cl | 50 +- test/CodeGenOpenCL/blocks.cl | 47 +- test/CodeGenOpenCL/builtins-amdgcn.cl | 21 + test/CodeGenOpenCL/cl20-device-side-enqueue.cl | 53 +- test/CodeGenOpenCL/convergent.cl | 72 +- test/CodeGenOpenCL/vectorLoadStore.cl | 17 +- test/CoverageMapping/header.cpp | 5 + test/Driver/XRay/lit.local.cfg | 22 + test/Driver/XRay/xray-shared-noxray.cpp | 16 + test/Driver/baremetal.cpp | 10 +- test/Driver/cl-options.c | 3 + test/Driver/clang_f_opts.c | 20 +- test/Driver/darwin-ld.c | 14 + test/Driver/debug-options.c | 2 + test/Driver/gold-lto-new-pass-man.c | 7 + test/Driver/mingw-msvcrt.c | 5 + test/Driver/mips-features.c | 10 + test/Driver/openmp-offload-gpu.c | 59 +- test/Driver/openmp-offload.c | 56 + test/Driver/sanitizer-ld.c | 87 +- test/Driver/windows-cross.c | 10 - test/FixIt/Inputs/nullability-objc.h | 48 + test/FixIt/fixit-format-ios.m | 26 + test/FixIt/fixit-vexing-parse.cpp | 21 + test/FixIt/format.m | 31 + test/FixIt/nullability.mm | 2 + test/Frontend/float16.cpp | 4 +- test/Headers/wchar_limits.cpp | 2 +- test/Import/extern-c-function/Inputs/F.cpp | 3 + test/Import/extern-c-function/test.cpp | 4 + .../Import/forward-declared-objc-class/Inputs/S1.m | 1 + .../Import/forward-declared-objc-class/Inputs/S2.m | 6 + .../Import/forward-declared-objc-class/Inputs/S3.m | 1 + test/Import/forward-declared-objc-class/test.m | 6 + .../forward-declared-struct/Inputs/{S1.c => S3.c} | 0 test/Import/forward-declared-struct/test.c | 2 +- .../Inputs/Callee.cpp | 0 test/Import/local-struct-use-origins/test.cpp | 7 + test/Import/local-struct/test.cpp | 3 +- .../Inputs/S.m | 0 test/Import/objc-definitions-in-expression/test.m | 21 + test/Import/struct-and-var/Inputs/S1.cpp | 1 + test/Import/struct-and-var/Inputs/S2.cpp | 3 + test/Import/struct-and-var/test.cpp | 5 + test/Import/template/Inputs/T.cpp | 5 + test/Import/template/test.cpp | 4 + test/Index/USR/array-type.cpp | 11 + test/Index/USR/func-type.cpp | 18 + test/Index/complete-access-checks.cpp | 24 +- test/Index/complete-cxx-inline-methods.cpp | 4 +- test/Index/complete-qualified.cpp | 2 +- test/Index/complete-with-annotations.cpp | 4 +- test/Index/index-pch.cpp | 2 +- test/Index/index-template-template-param.cpp | 7 + test/Index/print-objc-manglings.m | 18 + test/Index/recover-bad-code-rdar_7487294.c | 2 +- test/Lexer/wchar.c | 2 +- test/Misc/ast-dump-attr.cpp | 8 + test/Misc/ast-dump-decl.cpp | 54 +- test/Misc/ast-dump-invalid.cpp | 2 +- .../pragma-attribute-cxx-subject-match-rules.cpp | 10 +- test/Misc/pragma-attribute-cxx.cpp | 4 +- ...pragma-attribute-supported-attributes-list.test | 4 +- test/Misc/warning-flags.c | 3 +- test/Modules/adl.cpp | 40 + test/Modules/anon-linkage.cpp | 12 + test/Modules/builtin-import.mm | 4 +- test/Modules/crash-vfs-ivfsoverlay.m | 1 + test/Modules/cxx-templates.cpp | 14 + test/Modules/odr_hash.cpp | 120 + test/Modules/umbrella-header-include-builtin.mm | 4 +- test/Modules/using-directive.cpp | 62 + test/OpenMP/atomic_capture_codegen.cpp | 6 +- test/OpenMP/atomic_read_codegen.c | 6 +- test/OpenMP/atomic_update_codegen.cpp | 6 +- test/OpenMP/atomic_write_codegen.c | 6 +- test/OpenMP/declare_reduction_codegen.cpp | 20 + test/OpenMP/declare_target_ast_print.cpp | 27 + test/OpenMP/declare_target_messages.cpp | 4 +- test/OpenMP/for_firstprivate_codegen.cpp | 30 +- test/OpenMP/for_lastprivate_codegen.cpp | 13 +- test/OpenMP/for_private_codegen.cpp | 18 +- test/OpenMP/openmp_offload_codegen.cpp | 36 + test/OpenMP/parallel_reduction_codegen.cpp | 8 + test/OpenMP/target_codegen.cpp | 152 +- test/OpenMP/target_firstprivate_codegen.cpp | 3 +- test/OpenMP/target_map_codegen.cpp | 464 +--- test/OpenMP/target_map_messages.cpp | 68 + test/OpenMP/target_parallel_codegen.cpp | 79 +- test/OpenMP/target_parallel_for_codegen.cpp | 232 ++ test/OpenMP/target_parallel_for_simd_codegen.cpp | 232 ++ test/OpenMP/target_parallel_if_codegen.cpp | 82 +- .../OpenMP/target_parallel_num_threads_codegen.cpp | 24 +- test/OpenMP/target_teams_codegen.cpp | 76 +- test/OpenMP/target_teams_num_teams_codegen.cpp | 24 +- test/OpenMP/target_teams_thread_limit_codegen.cpp | 24 +- test/OpenMP/task_codegen.c | 30 + test/OpenMP/taskloop_codegen.cpp | 4 + test/OpenMP/taskloop_firstprivate_messages.cpp | 4 +- .../OpenMP/taskloop_simd_firstprivate_messages.cpp | 4 +- test/OpenMP/teams_distribute_codegen.cpp | 241 ++ test/OpenMP/teams_distribute_collapse_codegen.cpp | 126 + .../teams_distribute_dist_schedule_codegen.cpp | 206 ++ .../teams_distribute_firstprivate_codegen.cpp | 336 +++ .../teams_distribute_lastprivate_codegen.cpp | 366 +++ ...ams_distribute_parallel_for_shared_messages.cpp | 2 +- ...istribute_parallel_for_simd_shared_messages.cpp | 2 +- test/OpenMP/teams_distribute_private_codegen.cpp | 236 ++ test/OpenMP/teams_distribute_reduction_codegen.cpp | 217 ++ test/OpenMP/teams_distribute_shared_messages.cpp | 2 +- .../teams_distribute_simd_shared_messages.cpp | 2 +- test/OpenMP/teams_shared_messages.cpp | 2 +- test/Parser/cxx-bool.cpp | 9 +- test/Parser/cxx0x-condition.cpp | 4 +- .../cxx1z-class-template-argument-deduction.cpp | 1 + test/Parser/editor-placeholder-recovery.cpp | 4 + test/Preprocessor/init.c | 10 +- test/Preprocessor/pr19649-unsigned-wchar_t.c | 2 +- test/Preprocessor/pragma_assume_nonnull.c | 16 + test/Preprocessor/predefined-arch-macros.c | 68 +- test/Preprocessor/wchar_t.c | 113 + test/Refactor/LocalRename/Field.cpp | 2 +- test/Refactor/tool-test-support.c | 12 +- test/Sema/attr-section.c | 13 + test/Sema/enum.c | 3 +- test/Sema/format-strings-scanf.c | 30 + test/Sema/fp16vec-sema.c | 51 + test/Sema/implicit-decl-c90.c | 15 +- test/Sema/implicit-decl.c | 4 +- test/Sema/inline-asm-validate-amdgpu.cl | 66 +- test/Sema/noescape.c | 25 + test/Sema/preserve-call-conv.c | 3 + test/Sema/warn-documentation.cpp | 22 + test/Sema/warn-documentation.m | 11 + test/Sema/wchar.c | 2 +- test/Sema/zero-initializer.c | 41 + test/SemaCXX/aggregate-initialization.cpp | 32 +- test/SemaCXX/constant-expression-cxx11.cpp | 6 +- test/SemaCXX/constant-expression-cxx1y.cpp | 33 + test/SemaCXX/cxx1z-copy-omission.cpp | 32 +- test/SemaCXX/cxx1z-init-statement-template.cpp | 32 + test/SemaCXX/cxx2a-destroying-delete.cpp | 103 + test/SemaCXX/decl-expr-ambiguity.cpp | 24 + test/SemaCXX/linkage2.cpp | 36 +- test/SemaCXX/microsoft-varargs.cpp | 5 + test/SemaCXX/modules-ts.cppm | 2 +- test/SemaCXX/ms-iunknown-template-function.cpp | 39 + test/SemaCXX/ms-iunknown.cpp | 21 +- test/SemaCXX/nothrow-as-noexcept-ctor.cpp | 26 + test/SemaCXX/overloaded-operator.cpp | 35 + test/SemaCXX/short-wchar-sign.cpp | 2 +- test/SemaCXX/typo-correction-crash.cpp | 4 +- test/SemaCXX/undefined-internal.cpp | 8 + test/SemaCXX/unused.cpp | 50 +- test/SemaCXX/vartemplate-lambda.cpp | 2 +- test/SemaCXX/warn-sign-conversion-cpp11.cpp | 21 + test/SemaCXX/warn-thread-safety-analysis.cpp | 15 + test/SemaCXX/warn-throw-out-noexcept-func.cpp | 11 +- ...roperty-implement-readonly-with-custom-setter.m | 21 + test/SemaObjCXX/Inputs/nullability-consistency-2.h | 2 +- test/SemaObjCXX/noescape.mm | 90 + test/SemaOpenCL/address-spaces.cl | 23 + test/SemaOpenCL/cl20-device-side-enqueue.cl | 2 +- test/SemaOpenCL/clang-builtin-version.cl | 2 +- test/SemaOpenCL/extern.cl | 9 - test/SemaOpenCL/func.cl | 5 +- test/SemaOpenCL/invalid-pipes-cl2.0.cl | 2 +- test/SemaOpenCL/storageclass-cl20.cl | 34 +- test/SemaOpenCL/storageclass.cl | 31 +- test/SemaOpenCL/to_addr_builtin.cl | 2 +- test/SemaOpenCL/vector_conv_invalid.cl | 10 +- test/SemaTemplate/address_space-dependent.cpp | 119 + test/SemaTemplate/crash-unparsed-exception.cpp | 5 +- test/SemaTemplate/default-arguments-cxx0x.cpp | 27 + test/SemaTemplate/default-expr-arguments-3.cpp | 2 +- test/Unit/{lit.cfg => lit.cfg.py} | 0 test/Unit/{lit.site.cfg.in => lit.site.cfg.py.in} | 2 +- test/lit.cfg | 351 --- test/lit.cfg.py | 182 ++ test/{lit.site.cfg.in => lit.site.cfg.py.in} | 3 +- tools/CMakeLists.txt | 1 + tools/c-index-test/c-index-test.c | 17 +- .../ClangFormat/ClangFormatPackage.cs | 6 + tools/clang-format/CMakeLists.txt | 2 +- tools/clang-format/fuzzer/CMakeLists.txt | 8 +- tools/clang-func-mapping/CMakeLists.txt | 22 + tools/clang-func-mapping/ClangFnMapGen.cpp | 124 + tools/clang-fuzzer/CMakeLists.txt | 117 +- tools/clang-fuzzer/ClangFuzzer.cpp | 2 + tools/clang-fuzzer/DummyClangFuzzer.cpp | 21 + tools/clang-fuzzer/handle-cxx/CMakeLists.txt | 3 +- tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt | 4 +- tools/clang-import-test/clang-import-test.cpp | 150 +- tools/clang-refactor/ClangRefactor.cpp | 125 +- tools/diagtool/DiagnosticNames.cpp | 1 + tools/driver/cc1as_main.cpp | 4 +- tools/libclang/CIndex.cpp | 15 + tools/libclang/libclang.exports | 1 + unittests/CMakeLists.txt | 1 + unittests/CodeGen/CMakeLists.txt | 2 + unittests/CodeGen/CodeGenExternalTest.cpp | 302 +++ unittests/CrossTU/CMakeLists.txt | 16 + unittests/CrossTU/CrossTranslationUnitTest.cpp | 138 + unittests/Format/FormatTest.cpp | 86 +- unittests/Format/FormatTestJava.cpp | 6 + unittests/Format/UsingDeclarationsSorterTest.cpp | 71 + unittests/Frontend/ASTUnitTest.cpp | 4 +- unittests/Frontend/CompilerInstanceTest.cpp | 2 +- unittests/Rename/RenameClassTest.cpp | 142 +- unittests/Tooling/RefactoringActionRulesTest.cpp | 129 +- utils/analyzer/CmpRuns.py | 97 +- utils/analyzer/SATestAdd.py | 50 +- utils/analyzer/SATestBuild.py | 598 ++-- utils/analyzer/SATestUpdateDiffs.py | 86 + utils/analyzer/SumTimerInfo.py | 78 +- utils/analyzer/ubiviz | 87 +- utils/perf-training/CMakeLists.txt | 12 +- www/analyzer/checker_dev_manual.html | 14 +- www/hacking.html | 4 +- 584 files changed, 21740 insertions(+), 5670 deletions(-) create mode 100644 bindings/python/tests/cindex/test_linkage.py create mode 100644 docs/RefactoringEngine.rst create mode 100644 docs/analyzer/DesignDiscussions/InitializerLists.rst create mode 100644 include/clang/Basic/DiagnosticCrossTUKinds.td create mode 100644 include/clang/Basic/SanitizerSpecialCaseList.h create mode 100644 include/clang/CrossTU/CrossTUDiagnostic.h create mode 100644 include/clang/CrossTU/CrossTranslationUnit.h delete mode 100644 include/clang/Tooling/Refactoring/RefactoringActionRuleRequirem [...] create mode 100644 include/clang/Tooling/Refactoring/RefactoringOption.h create mode 100644 include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h create mode 100644 include/clang/Tooling/Refactoring/RefactoringOptions.h delete mode 100644 include/clang/Tooling/Refactoring/SourceSelectionConstraints.h create mode 100644 lib/Basic/SanitizerSpecialCaseList.cpp create mode 100644 lib/CrossTU/CMakeLists.txt create mode 100644 lib/CrossTU/CrossTranslationUnit.cpp copy lib/Headers/{clflushoptintrin.h => clwbintrin.h} (66%) create mode 100644 lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp create mode 100644 lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp delete mode 100644 lib/Tooling/Refactoring/SourceSelectionConstraints.cpp create mode 100644 test/Analysis/DeleteWithNonVirtualDtor.cpp create mode 100644 test/Analysis/call_once.cpp create mode 100644 test/Analysis/func-mapping-test.cpp create mode 100644 test/Analysis/nonnull-global-constants.mm create mode 100644 test/Analysis/null-deref-path-notes.c create mode 100644 test/Analysis/null-deref-path-notes.cpp create mode 100644 test/Analysis/pointer-arithmetic.c create mode 100644 test/CXX/drs/dr11xx.cpp create mode 100644 test/CXX/modules-ts/basic/basic.def.odr/p6/global-vs-module.cpp create mode 100644 test/CXX/modules-ts/basic/basic.def.odr/p6/module-vs-global.cpp create mode 100644 test/CXX/modules-ts/basic/basic.def.odr/p6/module-vs-module.cpp create mode 100644 test/CXX/modules-ts/dcl.dcl/dcl.module/p1.cpp create mode 100644 test/CXX/modules-ts/dcl.dcl/dcl.module/p2.cpp create mode 100644 test/CXX/special/class.dtor/p5-implicit.cpp create mode 100644 test/CodeGen/Inputs/sanitizer-special-case-list.sanitized.txt create mode 100644 test/CodeGen/Inputs/sanitizer-special-case-list.unsanitized1.txt create mode 100644 test/CodeGen/Inputs/sanitizer-special-case-list.unsanitized2.txt create mode 100644 test/CodeGen/Inputs/sanitizer-special-case-list.unsanitized3.txt create mode 100644 test/CodeGen/Inputs/sanitizer-special-case-list.unsanitized4.txt create mode 100644 test/CodeGen/arm64-microsoft-intrinsics.c delete mode 100644 test/CodeGen/blocks-opencl.cl create mode 100644 test/CodeGen/builtin-clwb.c create mode 100644 test/CodeGen/builtins-nvptx-sm_70.cu create mode 100644 test/CodeGen/fp16vec-ops.c create mode 100644 test/CodeGen/ms-inline-asm-enums.cpp create mode 100644 test/CodeGen/ms-inline-asm-variables.c create mode 100644 test/CodeGen/ppc-vector-compare.cc create mode 100644 test/CodeGen/sanitizer-special-case-list.c create mode 100644 test/CodeGen/tbaa-reference.cpp create mode 100644 test/CodeGen/verify-debuginfo.ll create mode 100644 test/CodeGenCXX/atomic-align.cpp create mode 100644 test/CodeGenCXX/atomic-inline.cpp create mode 100644 test/CodeGenCXX/cxx2a-destroying-delete.cpp create mode 100644 test/CodeGenCXX/debug-info-fwd-template-param.cpp create mode 100644 test/CodeGenCXX/dllimport-dtor-thunks.cpp create mode 100644 test/CodeGenCXX/extern-section-attribute.cpp create mode 100644 test/CodeGenCXX/noescape.cpp create mode 100644 test/CodeGenObjC/noescape.m create mode 100644 test/Driver/XRay/xray-shared-noxray.cpp create mode 100644 test/Driver/gold-lto-new-pass-man.c create mode 100644 test/Driver/mingw-msvcrt.c create mode 100644 test/FixIt/Inputs/nullability-objc.h create mode 100644 test/FixIt/fixit-format-ios.m create mode 100644 test/Import/extern-c-function/Inputs/F.cpp create mode 100644 test/Import/extern-c-function/test.cpp create mode 100644 test/Import/forward-declared-objc-class/Inputs/S1.m create mode 100644 test/Import/forward-declared-objc-class/Inputs/S2.m create mode 100644 test/Import/forward-declared-objc-class/Inputs/S3.m create mode 100644 test/Import/forward-declared-objc-class/test.m copy test/Import/forward-declared-struct/Inputs/{S1.c => S3.c} (100%) copy test/Import/{local-struct => local-struct-use-origins}/Inputs/Callee.cpp (100%) create mode 100644 test/Import/local-struct-use-origins/test.cpp copy test/Import/{objc-method => objc-definitions-in-expression}/Inputs/S.m (100%) create mode 100644 test/Import/objc-definitions-in-expression/test.m create mode 100644 test/Import/struct-and-var/Inputs/S1.cpp create mode 100644 test/Import/struct-and-var/Inputs/S2.cpp create mode 100644 test/Import/struct-and-var/test.cpp create mode 100644 test/Import/template/Inputs/T.cpp create mode 100644 test/Import/template/test.cpp create mode 100644 test/Index/USR/array-type.cpp create mode 100644 test/Index/USR/func-type.cpp create mode 100644 test/Index/index-template-template-param.cpp create mode 100644 test/Index/print-objc-manglings.m create mode 100644 test/Modules/adl.cpp create mode 100644 test/Modules/anon-linkage.cpp create mode 100644 test/Modules/using-directive.cpp create mode 100644 test/OpenMP/openmp_offload_codegen.cpp create mode 100644 test/OpenMP/target_parallel_for_codegen.cpp create mode 100644 test/OpenMP/target_parallel_for_simd_codegen.cpp create mode 100644 test/OpenMP/task_codegen.c create mode 100644 test/OpenMP/teams_distribute_codegen.cpp create mode 100644 test/OpenMP/teams_distribute_collapse_codegen.cpp create mode 100644 test/OpenMP/teams_distribute_dist_schedule_codegen.cpp create mode 100644 test/OpenMP/teams_distribute_firstprivate_codegen.cpp create mode 100644 test/OpenMP/teams_distribute_lastprivate_codegen.cpp create mode 100644 test/OpenMP/teams_distribute_private_codegen.cpp create mode 100644 test/OpenMP/teams_distribute_reduction_codegen.cpp create mode 100644 test/Preprocessor/pragma_assume_nonnull.c create mode 100644 test/Preprocessor/wchar_t.c create mode 100644 test/Sema/fp16vec-sema.c create mode 100644 test/Sema/noescape.c create mode 100644 test/Sema/zero-initializer.c create mode 100644 test/SemaCXX/cxx1z-init-statement-template.cpp create mode 100644 test/SemaCXX/cxx2a-destroying-delete.cpp create mode 100644 test/SemaCXX/ms-iunknown-template-function.cpp create mode 100644 test/SemaCXX/nothrow-as-noexcept-ctor.cpp create mode 100644 test/SemaCXX/warn-sign-conversion-cpp11.cpp create mode 100644 test/SemaObjC/property-implement-readonly-with-custom-setter.m create mode 100644 test/SemaObjCXX/noescape.mm delete mode 100644 test/SemaOpenCL/extern.cl create mode 100644 test/SemaTemplate/address_space-dependent.cpp rename test/Unit/{lit.cfg => lit.cfg.py} (100%) rename test/Unit/{lit.site.cfg.in => lit.site.cfg.py.in} (99%) delete mode 100644 test/lit.cfg create mode 100644 test/lit.cfg.py rename test/{lit.site.cfg.in => lit.site.cfg.py.in} (94%) create mode 100644 tools/clang-func-mapping/CMakeLists.txt create mode 100644 tools/clang-func-mapping/ClangFnMapGen.cpp create mode 100644 tools/clang-fuzzer/DummyClangFuzzer.cpp create mode 100644 unittests/CodeGen/CodeGenExternalTest.cpp create mode 100644 unittests/CrossTU/CMakeLists.txt create mode 100644 unittests/CrossTU/CrossTranslationUnitTest.cpp create mode 100755 utils/analyzer/SATestUpdateDiffs.py