This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/testing in repository clang.
from 6ea07ae Updating branches/google/testing to r277323 adds a746657 scan-build: Add an option to show the description in the list [...] adds 1505139 Allow .exe extension to ld to fix test with mingw. adds 85c0fa1 Implement tooling::Replacements as a class. adds a91c9fb [analyzer] Fix execution permissions for the scan-build-py scripts. adds a70f96e Make RecursiveASTVisitor visit lambda capture initialization [...] adds ccbfd6c [Parse] Let declarations follow labels in -fms-extensions mode adds 52dff66 [AArch64] Add support for Samsung Exynos M2 (NFC). adds e7fe170 [codeview] Skip injected class names in nested record emission adds 033d0b7 [ObjC Availability] Fix partial-availability false positive i [...] adds 56057ab CodeGen: simplify the CC handling for TLS wrappers adds d64a6ed Add FIXMEs for MSVC 2013 hacks in r277211. NFC. adds 9bce81c [Order Files] Fixing an error in the perf-helper script adds 774347e Revert r276896 "Update Clang Parser test error message to mat [...] adds 34b6437 [analyzer] Respect statement-specific data in CloneDetection. adds dfaea96 [clang-cl] Fix PCH tests to use x86_64 as target adds 5eee5b1 [analyzer] Hotfix for buildbot failure due to unspecified tri [...] adds b0191e8 [Order Files] Remove dtrace predicate adds 7816276 Updated documentation adds c98263c Update Clang Parser test error message to match new parser errors adds 0f8c3e3 Revert "[Order Files] Remove dtrace predicate" adds 5bd4129 [CFG] Fix crash finding destructor of lifetime-extended temporary. adds 779573e [CUDA] Do not allow using NVPTX target for host compilation. adds a17cb6e [CUDA] Fix libdevice selection. adds 9091911 [analyzer] Update two comments in MPI-Checker. NFC. adds 42015fb [CUDA] Updated CUDA tests that must run w/o CUDA installation. adds 9f9a4eb [index] Fix crash with indexing designated init expressions i [...] adds cd92318 [clang/test] Fix a flaky unittest on windows adds 7c12ee2 Fix quadratic runtime when adding items to tooling::Replacements. adds 7604798 Fix bug in conflict check for Replacements::add(). adds ff7d9d4 [OpenCL] Fix size of image type adds debaaf2 [Concepts] remove default argument for RequiresClause; NFC adds f380392 After PR28761 use -Wall with -Werror in builtins tests to ide [...] adds 27c637b Make isExternC work on VarDecls too. adds d19a95e [OpenCL] Added underscores to the names of 'to_addr' OpenCL b [...] adds 18e09e8 [OpenCL] Remove extra native_ functions from opencl-c.h adds b4e3956 [OpenCL] Add the lit test for image size which was omitted by [...] adds 6c79ae7 [analyzer] Make CloneDetector recognize different variable patterns. adds 56699d4 [ADT] Migrate DepthFirstIterator to use NodeRef adds cab7b60 [Sema] Add sizeof diagnostics for bzero adds a9a9790 Allow -1 to assign max value to unsigned bitfields. adds 4cfe28c Fix crash in template type diffing. adds 0cfb8c8 Reapply r276973 "Adjust Registry interface to not require plu [...] adds 231f2fc [OpenMP] Sema and parsing for 'teams distribute' pragma adds 85ba228 AMDGPU : Add Clang builtin intrinsics for compare with the fu [...] adds 58b610f Revert "[Sema] Add sizeof diagnostics for bzero" adds 26dcf20 [SemaOpenMP] Some miscellaneous cleanups adds 7eec719 PR26423: Assert on valid use of using declaration of a functi [...] adds 3ff0fb5 Fix false positive in -Wunsequenced and templates. adds bd30b4e [clang-tblgen] Remove unused #include (NFC) adds 5bf2547 [NFC][ObjC Availability] Refactor DiagnoseAvailabilityOfDecl adds b896b3a Fix two false positives in -Wreturn-stack-address adds cbe2a72 Fix typos from r277797 and unused variable from r277889. adds 52abfb8 [NFC] Silence noisy -Wreturn-type warnings adds b883d35 [StaticAnalyzer] Remove dead code. adds b9bcf99 Move helpers into anonymous namespaces. NFC. adds 288badd [Sema] Make switch fully covered again. adds 70a62d3 [ASTReader] Use real move semantics instead of emulating them [...] adds cfc8939 Headers: Add ARM support to intrin.h for MSVC compatibility adds 29b303e Add the new scan-build option (--show-description) in the 4.0 [...] adds d4852c7 Update clang tests for LLVM r277950 adds 57c4b28 [AVX512] integer comparisions enumeration. adds c231913 Pass information in a record instead of stack. NFC adds 1812aa0 Fix two bugs for musl-libc on ARM adds 9d7b595 [analyzer] Model base to derived casts more precisely. adds b4c0db2 Fixes calculateRangesAfterReplacements crash when Replacement [...] adds f12ee3b [analyzer] Command line option to show enabled checker list. adds 9acb854 [ARM] Command-line options for embedded position-independent code adds 50d23ea [analyzer] Change -analyze-function to accept qualified names. adds 7d3d1e6 [Attr] Add support for the `ms_hook_prologue` attribute. adds 76aa229 [Driver] Enable CFI for WebAssembly adds 20ac821 Revert "[Attr] Add support for the `ms_hook_prologue` attribute." adds 6324044 [analyzer] Try to fix coverity CID 1360469. adds ecf27f0 clang-format: Add SpaceAfterTemplate adds e8aa1a2 [ASTMatchers] Add matchers canReferToDecl() and hasUnderlyingDecl() adds f9ebd63 [clang-cl] Make -gline-tables-only imply -gcodeview adds 5e743c3 [CUDA] Regression test to make sure C++ include path are forw [...] adds 6728a34 Add a missing -no-canonical-prefixes. adds 864b7d2 [OpenCL][AMDGPU] Add support for -cl-denorms-are-zero adds 0221f4a [OpenCL] Handle -cl-fp32-correctly-rounded-divide-sqrt adds cd5c8a4 [ADT] Change iterator_adaptor_base's default template argumen [...] adds 82af8b2 [CUDA] Minor comment nits. adds 6df4a10 [CUDA] Fix out-of-date comment. adds 166c4ab [Diag] Fix idiom in comment: "on the lam", not "on the lamb". adds e6fe1d3 [CUDA] Rename CheckCUDATarget to IsAllowedCUDACall. NFC adds 984f42a [CUDA] Add __device__ overloads for placement new and delete. adds 8830dfc [CUDA] Print a "previous-decl" note when calling an illegal m [...] adds bd12a41 [CUDA] Reject calls to __device__ functions from host variabl [...] adds afb075b [x86] Fix a really nasty bug introduced in r276417 where alig [...] adds 832dfc2 Make clang-format remove duplicate headers when sorting #includes. adds 1b6a1c3 [X86][AVX] Ensure we only match against 1-byte alignment adds c4bce8b [X86][AVX512] lower __mm512_andnot_ps/__mm512_andnot_pd to IR [...] adds 0bbca21 [ASTMatchers] Extend documentation for match() adds 85167c8 [OpenCL] Change block descriptor address space to constant. adds 8896df9 [OpenCL] Fix typo in test that I accidentally introduced in m [...] adds a7e2299 [analyzer] Fix a crash in CloneDetector when calling function [...] adds b0f2f6f Reapply [Sema] Add sizeof diagnostics for bzero adds f7250e5 [Order Files] Don't use empty order files adds 241fa3c bindings: expose diagnostic formatting to Python adds 79646f7 [Sema] Add more strict check for sizeof diagnostics for bzero adds 271e3db [analyzer] Teach RetainCountChecker about CVFooRetain adds 0882cc1 Pass in frame pointer omitting compiler flags for CloudABI as well. adds e5174ee Don't enable PIE on i686-unknown-cloudabi. adds 5f01281 P0217R3: Perform semantic checks and initialization for the b [...] adds 268e1ac [Basic] Add const qualifier to SM.isInSystemMacro (NFC) adds c52f27b P0217R3: Constant expression evaluation for decomposition dec [...] adds 1068a78 Remove unused and undesirable reference from BindingDecl to D [...] adds 3360e87 [VFS] Add 'ignore-non-existent-contents' field to YAML files adds a0c9770 [VFS] Skip non existent files from the VFS tree adds d28be6c P0217R3: template instantiation support for decomposition dec [...] adds eb66e2f Revert "[VFS] Skip non existent files from the VFS tree" adds bcd0b9f P0217R3: serialization/deserialization support for c++17 deco [...] adds d6290c5 [Sema] Fix a crash on variadic enable_if functions. adds 0759818 [Sema] Fix the wording of a comment. NFC. adds 6b8562e This patch implements PR#22821. adds ad674ae [C++1z] Fix crash when decomposing structs with anonymous members. adds 8e9d1c5 Prune unused diagnostics. NFC. adds d0be3c0 Fix cuda-detect.cu when CLANG_DEFAULT_CXX_STDLIB is set adds b682249 Fix For pr28288 - Error message in shift of vector values adds 57f668b Fix Wdocumentation unknown parameter warning adds 03524fb [ASTMatchers] Add templateTypeParmDecl() to Registry.cpp adds 573f631 BugReporter: Use ilist_half_embedded_sentinel_traits, NFC adds 3a1dfe1 Test commit - first LLVM repo commit adds 493732f Revert test commit adds a933c0f [Driver] Set the default driver mode based on the executable. adds a7362da CodeGen: Replace ThinLTO backend implementation with a client [...] adds 5ce39e3 Reapply [VFS] Skip non existent files from the VFS tree adds 647e473 [CUDA] Place GPU binary into .nv_fatbin section and align it by 8. adds ac8b515 Fix build broken after llvm/ADT/DenseMap.h replacement of cli [...] adds 72a2930 Explicitly generate a reference variable to hold the initiali [...] adds b579b05 P0217R3: code generation support for decomposition declarations. adds ceabe65 Add a triple to this test to make buildbots happier. adds 47b2f02 Disable lambda-capture of decomposition declaration bindings [...] adds 659a161 cxx_status: mark decomposition declarations as "partial": the [...] adds 6197d01 cxx_status: update features implemented in clang 3.9 from "sv [...] adds f9187a1 [CodeGen] Correctly implement the AVX512 psABI rules adds 63dcb57 [CodeGen] Ignore unnamed bitfields before handling vector fields adds 0545f01 Replace an obsolete company name. adds 463e556 [CMake] Apple stage1 doesn't need to set libcxx options adds 54ed545 StaticAnalyzer: Report found fields order in PaddingChecker adds a3e2698 [CUDA] Fix CUDA install version parsing. adds 12e216a [CUDA] Include CUDA headers before anything else. adds e0242d8 Add the notion of deferred diagnostics. adds 5b5d415 Objective-C diagnostics: isObjCNSObjectType should check thro [...] adds 836da9f [ADT] Change PostOrderIterator to use NodeRef. NFC. adds 2be279f [CUDA] Raise an error if a wrong-side call is codegen'ed. adds c75652c PR28978: If we need overload resolution for the move construc [...] adds 7096f08 [CUDA] Fix "declared here" note on deferred wrong-side errors. adds ca29d71 [X86] Add xgetbv/x[X86] Add xgetbv xsetbv intrinsics to non-w [...] adds d0eb6c1 Left shifts of negative values are defined if -fwrapv is set adds 4ed872b Add empty --gcc-toolchain empty to cuda-detect test. adds 58beb82 Reorder stderr redirection in test command. adds 5d7cb14 Reduce the number of allocations required for AST attributes. [...] adds da17e40 Revert "[X86] Add xgetbv/x[X86] Add xgetbv xsetbv intrinsics [...] adds 1d09f01 [ObjC] Warn on unguarded use of partial declaration adds 18235a5 Try to work around an MSVC 2013 bug around defaulted default ctors adds ea7cb6c [CMake] [Apple Cache] Set CLANG_VENDOR_UTI for Apple builds adds ccdbb98 [CMake] Fixing typo in Info.plist generation adds 79a88e3 [OpenCL] AMDGPU: Add extensions cl_amd_media_ops and cl_amd_m [...] adds 7200cc3 Emit debug info for dynamic classes if they are imported from a DLL. adds eb1960e [CMake] Workflow improvements to PGO generation adds ccf83ec If possible, set the stack rlimit to at least 8MiB on cc1 sta [...] adds 4d471f8 Some missing usage of TargetParser. NFC. adds ab9f5a9 Add missing close brace to fix Windows bots. Oops :( adds 4b230c5 [PM] Update Clang for LLVM's r278896 which re-organized a header. adds 1802c44 CodeGen: Avoid dereferencing end() in ScalarExprEmitter::Emit [...] adds 3219c70 [ThinLTO] Adapt backend invocation to llvm API changes. adds 0fc13f4 Add missing tests adds 301bc62 Add an AST matcher for external formal linkage. adds 70e216b Visit lambda capture inits from RecursiveASTVisitor::Traverse [...] adds 64f71c6 [analyzer] Add LocationContext information to SymbolMetadata. adds ff8e39e [analyzer] Add a checker for loss of sign or precision in int [...] adds c884c23 Debug info: Mark noreturn functions with DIFlagNoReturn. adds 0c4be46 Simplify condition. (NFC) adds db4c239 Module debug info: Fix a bug in handling record decls without [...] adds f33b253 [CodeGen][ObjC] Fix infinite recursion in getObjCEncodingForT [...] adds 8dd3abe [GraphWriter] Change GraphWriter to use NodeRef in GraphTraits adds 27a8747 [Tooling] Parse compilation database command lines on Windows. adds 85e3707 [OpenCL] AMDGPU: add support of cl_khr_subgroups adds f8d27f8 Revert "[Tooling] Parse compilation database command lines on [...] adds da550a4 PR18417: Increase -ftemplate-depth to the value 1024 recommen [...] adds 7b6dda6 Add test missed from r278983. adds 113ae48 [CMake] Adding toolchain targets to PGO and Apple CMake caches adds 1f8593f [Darwin] Stop linking libclang_rt.eprintf.a adds 0bf7594 [OpenMP] Sema and parsing for 'teams distribute simd’ pragma adds e6658af Support object-file-wrapped modules in clang -module-file-info. adds 2685dea Print the module format in clang -module-file-info. adds 40fb0b9 PR28438: Update the information on an identifier with local d [...] adds 91ce246 [sanitizer-coverag] update the docs in __sanitizer_cov_trace_cmp adds a9113f7 Remove debugging aids from this test and fix its expectations. adds dfcd52e [Driver] Use llvm-config.h, not config.h to unbreak out-of-tr [...] adds 1779645 [analyzer] Small cleanups when checkers retrieving statements [...] adds c5fbe5e [analyzer] Added valist related checkers. adds 79d27cd test commit adds c116551 revert [analyzer] Added valist related checkers. adds 2b3a36e Revert "[OpenMP] Sema and parsing for 'teams distribute simd’ [...] adds 9d09f35 Correct the documentation for isSignedInteger() and isUnsigne [...] adds ac46444 [analyzer] Teach CloneDetector to find clones that look like [...] adds 840ee0d [libclang] Add clang_getAllSkippedRanges function adds 584ba6b [libclang] Fixed signed/unsigned comparison warning introduce [...] adds 8dceb4d [libclang] Added missing entry for newly introduced 'clang_ge [...] adds 8c1ac8c Module: add -fprebuilt-module-path to support loading prebuil [...] adds 49b5d72 Revert "[Driver] Use llvm-config.h, not config.h to unbreak o [...] adds ca10d2e Use __has_include rather than a configure-time macro to deter [...] adds c62bf7a Removed use of 'emplace' on std::map, since not all buildbot [...] adds b2df6a4 [MS] Silence -Wextern-init on const selectany variables adds cd39b64 Resubmit "[Tooling] Parse compilation database command lines [...] adds 7441a2b [OpenCL] AMDGCN: Fix size_t type adds 7413d22 Fix json compilation database syntax on non-Windows. adds 2b5693d Revert [OpenCL] AMDGCN: Fix size_t type adds c8c64a2 [CUDA] Improve handling of math functions. adds 949ea4a Fixed more signed/unsigned mismatch warnings introduced in my [...] adds 45689e2 CodeGen: use range based for loop, NFC adds 3a33970 CodeGen: Rename a variable to better fit LLVM style. NFC adds ec9187d C++ Modules TS: Add parsing support for module import declaration. adds 4453feb PR28794: Don't try to instantiate function templates which ar [...] adds bf02f12 AMDGPU: Add clang builtin for ds_swizzle. adds 1319614 [analyzer] Weaken assertion in trackNullOrUndefValue() adds cbb67b5 [www] Add analyzer FAQ about not releasing ivars in -dealloc. adds f76493a C++ Modules TS: support parsing the 'module' declaration (inc [...] adds d0b5dcb Re-commit [OpenCL] AMDGCN: Fix size_t type adds 9b42d36 clang/test/Modules/prebuilt-module.m: Prune "-triple" to fix [...] adds d16a551 [AMDGPU] add s_incperflevel/s_decperflevel builtins adds d0b6cd6 Fixed a typo (compilation_commands.json --> compile_commands.json). adds 79d2d0e clang-format: [JS] handle object literals with casts. adds 7e0ae6f [GraphTraits] Make nodes_iterator dereference to NodeType*/NodeRef adds 74acca8 [CallGraph] Use decltype instead of pointer_to_unary_function. NFC. adds 6ddd0d1 [www] Add nullability questions to analyzer FAQ. adds d3aa353 [Driver] Remove unused #include of llvm/Support/config.h adds a40556d [NFC] Add a class ObjCProtocolQualifiers to wrap APIs for Obj [...] adds 14496dc Fix windows bot adds 41d8a46 Revert r279351 and r279357 due to bot failures adds 5a3db3c [analyzer] Make CloneDetector consider template arguments. adds f0d7742 [analyzer] Make CloneDetector consider macro expansions. adds dde85a8 PR28423: Compare primary declaration contexts. adds 9c27c6b [Sema] Don't crash on scanf on forward-declared enums. adds 656204f [analyzer] Use faster hashing (MD5) in CloneDetector. adds 919e1bc Wdocumentation fix adds 067ded5 [X86][AVX512F] minor fix of the parameter names add "__" prefix adds 40d7988 Test commit (Removing trailing whitespace). adds 5c81e3f [analyzer] Correctly add assumptions based on array bounds. adds c55a9a6 Reapply "[analyzer] Added valist related checkers." adds 7d0a7e9 clang-format: [JS] supports casts to types starting with punc [...] adds 9ca8bbb Remove redundant test adds b6cce47 PR29086: DebugInfo: Improve support for fixed array dimension [...] adds fa4ba1e [CUDA] Collapsed offload actions should not be top-level jobs. adds 6a3fcde ADT: Remove uses of ilist_*sentinel_traits, NFC adds 5cb9343 AMDGPU: Handle structs directly in AMDGPUABIInfo adds 035da02 [GraphTraits] Replace all NodeType usage with NodeRef adds 813dddb [AST] Remove unused function, to silence a GCC7 warning. adds b8c8480 [SemaObjC] Do not RebuildObjCMessageExpr without valid method decl adds a78fa9e Module debug info: Don't assert when encountering an incomple [...] adds e7c9a6c Fix regression introduced by r279164: only pass definitions a [...] adds c298767 Add the second half of the testcase I should have added in 279485. adds e8abf26 Add comments. NFC adds 51b294d Typo. adds 36fa4bb Revert r279486 "Fix regression introduced by r279164" adds d0e69cf [analyzer] Fix CloneDetector crash on calling methods of clas [...] adds 550a4bc clang-cl: Accept MSVC 2015's `/source-charset:utf-8` flag. adds a580361 ARM-Darwin: ignore and diagnose attempts to omit frame pointer. adds 9287761 clang-cl: Make /Brepro actually work. adds 584334c Fix regression introduced by r279164: only pass definitions a [...] adds 33dc2ec Remove two dos line endings. adds e77e46b driver: Support checking for rlimits via cmake (when bootstrapping) adds ed0c7d6 Fix member call on null pointer, found by sanitizer buildbot. adds 28b38bc Adding an additional test to ensure the frame pointer is emit [...] adds b0bac26 Remove excessive padding from PTHStatData (NFC) adds c6bbb8c [Pragma] Clear loop distribution attribute between loops adds a298b69 [AST] Make InitListExpr::isExplicit const (NFC) adds 37d6801 clang-offload-bundler - offload files bundling/unbundling tool adds fcaa019 [Driver][OpenMP][CUDA] Add capability to bundle object files [...] adds aa5fc8f Add target REQUIRES directives to offload bundler test. adds 27c627e fix typo "varaible" adds 37afcb0 clang-offload-bundler: Update libdeps. adds ba62c3b DebugInfo: Add flag to CU to disable emission of inline debug [...] adds add6a13 Fix offload bundler tests so that diagnostic can start with caps. adds 5fcbbd6 [Sema][Comments] Support @param with c++ 'using' keyword adds d9ba5a4 PR29097: add an update record when we instantiate the default [...] adds 861e0bc Disable test under asan: it uses a lot of stack, and asan inc [...] adds 7c149ef [Order Files] On Darwin use DTrace's oneshot probe adds 483d651 DebugInfo: Let -gsplit-dwarf and -gmlt compose if -fno-split- [...] adds b5b9d9e [Sema][Comments] Factor out function type loc logic. NFCI adds 7195f85 Lazily load the ContextDecl for a lambda's DefinitionData, to [...] adds ab3c4f2 Remove a pointless LLVM_CONSTEXPR. NFC. adds 6af06d6 Fix memory leaks in clang-offload-bundler adds 5e60d62 clang-format: [JS] nested and tagged template strings. adds 8ffc813 Fix offload bundler test to support Windows new lines. adds 0188dc5 [Sema][Comments] Add support for TypeAliasTemplate adds 81d0359 [MS] Pass non-trivially-copyable objects indirectly on Windows ARM adds 939bf18 Omit column info for CodeView by default adds cefb5a0 Refactor to remove the assumption that we know the name of th [...] adds 6d0a003 Fix clang-offload-bundler.c test on Windows adds 791842f [MS] Win64 va_arg should expect large arguments to be passed [...] adds 28dea68 Widen type of __offset_flags in RTTI on Mingw64 adds d605534 C++ Modules TS: add frontend support for building pcm files f [...] adds caffecb Sort list of driver-known file extensions. It was previously [...] adds 216f664 Add support for -fdiagnostics-absolute-paths: printing absolu [...] adds 5423d8c Don't diagnose non-modular includes when we are not compiling [...] adds 361bfc1 clang-cl: Accept MSVC 2015's `/execution-charset:utf-8` flag. adds b5f10f2 clang-cl: Accept MSVC2015's '/utf-8' flag. adds 4fef27d clang-cl: Support MSVC2015's /validate-charset flag. adds 2820e36 Fix a typo in the doc: overriden -> overridden adds 47e160c AST: improve layout of SimpleTypoCorrector adds dad737b [Coverage] Prevent creating a redundant counter if a nested b [...] adds a0e7bb4 Try to fix clang-offload-bunder.c test once more adds fb77046 Fix a bug preventing the cause of a module-out-of-date error [...] adds e299f54 Fix a bug preventing the cause for a module file-not-found fr [...] adds 6a1910a Fix typo in test. adds a361408 [cfi] Export __cfi_check when linking with -fsanitize-cfi-cross-dso. adds cf55ebf C++ Modules TS: driver support for building modules. adds d3d6242 [PowerPC] Add support for -mlongcall adds e79bfe0 [sanitizer-coverage] add two more modes of instrumentation: t [...] adds 532a3b6 [PowerPC] Update the DWARF register-size table adds 8074ce7 Combine two FileCheck patterns to prevent overzealous matching of .* adds 6b5129d This adds new options -fdenormal-fp-math and passes through o [...] adds 58dc3e4 Fix for commit 280064 that break the build. adds 20c847a clang/test/Driver/modules-ts.cpp: Satisfy quoted filename. adds 9efb2c6 Handle -mlong-calls on Hexagon adds b9b3e3d Revert r280035 (and followups r280057, r280085), it caused PR30195 adds 0486e5e [Hexagon] Use handleTargetFeaturesGroup to process target-spe [...] adds add5e73 Fix typo in comment adds 4dfb28d [OpenCL] Make is_valid_event, create_user_event overloadable. adds 47d3e4e Disable clang/test/SemaTemplate/instantiation-depth-default.c [...] adds 9270b6d Fix colored diagnostics from tools adds b06ba47 Basic/Targets.cpp: Add polaris10 and polaris11 gpus adds f060198 typo + indentation [NFC] adds 0c25e25 PR30195: Fix clang-cl attempting to precompile bogus (non-pre [...] adds 3ec1cdd Unrevert r280035 now that the clang-cl bug it exposed has bee [...] adds a999e7a PR29166: when merging declarations with typedef names for lin [...] adds 4f545d9 [test] Add libLTO as a clang test dependency on Darwin adds 092bdf8 Revert "[test] Add libLTO as a clang test dependency on Darwin" adds 267f1e5 [test] Pass a fake libLTO.dylib to a driver test which depends on it adds 7c5e085 Fix memory leak by storing returned pointer in std::unique_ptr adds b69026b [Modules] Add 'gnuinlineasm' to the 'requires-declaration' fe [...] adds e129378 clang-format: Correctly calculate affected ranges when sortin [...] adds ca4cf14 Driver: use the canonical static library naming adds cf632c9 [analyzer] Use lazily created buffer in EmptyLocalizationCont [...] adds 8f6654a Don't try to run a test that generates code for x86 if it's n [...] adds f4628e8 clangTooling depends on ClangDriverOptions since r280118. adds 6f6b47d clangTooling: Update libdeps: LLVMOptions, since r280118. adds f08aef7 Concatenate two FileCheck lines in a test. adds 434bc34 PR12298 et al: don't recursively instantiate a template speci [...] adds afa1082 [X86] Use v2i64 vectors to implement _mm_and/andn/or/xor_pd. adds 616c97a [AVX-512] Implement masked floating point logical operations [...] adds 810bd3b [Coverage] Suppress creating a code region if the same area i [...] adds 5e9401c Attempt to pacify buildbots after r280217 adds 9f5b323 Revision r280064 adds new options -fdenormal-fp-math and pass [...] adds 6912529 [clang-format-vim] Support vim linked against py3 adds 348fdb5 clang-format: Set default WebKit style to use C++11. adds b74f276 [codeview] Pass through vftable shape information adds 2d834ba s/static inline/static/ for headers I have changed in r279475. NFC. adds 967507d Fix a typo in a comment. adds 8e6ba04 Revert "Driver: use the canonical static library naming" adds 3a4bcdc [codeview] Don't emit vshape info for classes without vfptrs adds 2f0b171 Fix mishandling of deletedness for assignment operators of cl [...] adds 51f6082 Don't diagnoes a mismatch between implicit and explicit excep [...] adds c005144 DebugInfo: Fix -gsplit-dwarf + -fno-split-dwarf-inlining adds 1051c8c Add -fprofile-dir= to clang. adds f3b78ea DR259: Demote the pedantic error for an explicit instantiatio [...] adds 29b3870 Fix all tests under test/CXX (and test/Analysis) to pass if c [...] adds 0c1c175 [Sema] Don't diagnose an array type mismatch when the new or [...] adds f868737 Fix typos in comments. adds c80ac49 Remove whitespace to test commit access adds 6f75e6d [analyzer][test commit] ExprEngine.cpp: Remove training white [...] adds 3752b19 [Frontend] Fix mcount inlining bug adds dc6892d [analyzer] Add more FileIDs to PlistDiagnostic map to avoid a [...] adds 88f65ed [analyzer] ExprEngine: remove second call to PreStmt<CastExpr> adds 44ab6e1 [CMake] Properly connecting Compiler-RT check and test-depends adds 7e8dc8a When we reach the end of a #include of a header of a local su [...] adds 2771c6d [WebAssembly] Change wasm SizeType to match asmjs adds 13c2087 Remove excessive padding from MismatchingNewDeleteDetector adds d8b8905 Refactor to avoid holding a reference to a container element [...] adds ab6be7a Clean up handling of reading module files from stdin. Don't b [...] adds 7453511 Allow a C11 generic selection expression to select a function [...] adds 1f41f10 clang-format: [JS] Sort all JavaScript imports if any changed. adds 546274f clang-format: [JS] handle default bindings in imports. adds 9348abc clang-format: [JS] merge requoting replacements. adds 85fb4f5 Implement __attribute__((require_constant_initialization)) fo [...] adds cc305ee Based on post-commit feedback over IRC with dblaikie, ideally [...] adds f92a8d0 Revert r280516 since it contained accidental changes. adds 89aa3ed Implement __attribute__((require_constant_initialization)) fo [...] adds 567da71 [Sema] Relax overloading restrictions in C. adds 27be263 (clang part) Implement MASM-flavor intel syntax behavior for [...] adds 4527486 [Sema] Fix how we set implicit conversion kinds. adds d92382e Remove function name from comment. adds c52b12a Move calls of MaybeParseMicrosoftAttributes() before ParseExt [...] adds 6908459 Add plumbing for new attribute type "Microsoft". adds 7a21961 Let Microsoft attributes apply to the type, not the variable. adds 989beae [ms] Add support for parsing uuid as a Microsoft attribute. adds 6c629ae Add a test Aaron asked for that I forgot to add before landin [...] adds a05a50e Replace the Radeon GCN GPU family names by more descriptive ones adds f98cf49 Fix the attribute documentation build. adds f85f5b3 [AVX-512] Remove masked integer add/sub builtins and replace [...] adds 9933b39 [AVX-512] Remove masked integer mullo builtins and replace wi [...] adds 7f83ce3 PR 27200: Fix names of the atomic lock-free macros. adds 6916520 Trailing dot that shouldn't have been committed. adds 430938b [Modules] Add 'freestanding' to the 'requires-declaration' fe [...] adds 4f35a8d Test case for r280607 to check presence and sanity of the *_L [...] adds 39af41f [AVX-512] Remove 128-bit and 256-bit masked floating point ad [...] adds 6641549 Attempt to fix buildbots not targetting x86 adds 94fce43 clang/test/Modules/compiler_builtins_x86.c: Fix r280658. adds ce6fc03 Add support for targeting armv6-unknown-cloudabi-eabihf. adds 666886d [OpenCL] Remove access qualifiers on images in arg info metadata. adds 794d70e DebugInfo: use llvm::DINode::DIFlags type for debug info flags adds 5e15bac [clang-cl] Check that we are in clang cl mode before enabling [...] adds f43724c Formatting with clang-format patch r280701 adds 12212b9 Modules: Fix an assertion in DeclContext::buildLookup. adds 0859ba1 clang-format: [JS] ignore comments when wrapping returns. adds faabfd1 clang-format: [JS] whitespace required between ! and as. adds 5fbaf12 [scan-build-py] Increase precision of timestamp in report dir [...] adds 0d385d2 Fix clang's handling of the copy performed in the second phas [...] adds 9923b76 Fix whitespace issues adds f144d8b OpenCL: Defining __ENDIAN_LITTLE__ and fix target endianness adds 97fe20f [OpenCL] Fix pipe built-in functions return type. adds f41891d [EfficiencySanitizer] [MIPS64] Enables esan clang driver opti [...] adds b92c95b [MS] Fix 'this' type when calling virtual methods with inalloca adds 7dee30fb Parsing MS pragma intrinsic adds 1bc624a Add MS __nop intrinsic to intrin.h adds 99ad38f Add missing include. White space. adds 7cc27ab [clang-offload-bundler] Fix some Clang-tidy modernize-use-ove [...] adds f86c167 [MS] Fix prologue this adjustment when 'this' is passed indirectly adds 8a4ab9f Try contextually converting condition of constexpr if to Bool [...] adds 2807f02 Do not validate pch when -fno-validate-pch is set adds 0e0dad3 Add a few more test for []-style uuid attributes. adds 2cef254 [Sema] Compare bad conversions in overload resolution. adds 72f585e Move CHECK right before the function it describes. adds 7635561 Fix some Clang-tidy modernize-use-using and Include What You [...] adds 1f3b581 clang-format: [JavaScript] Do requoting in a separate pass adds 8ecd150 clang-format: [JavaScript] Change default AllowShortFunctions [...] adds dd34fc9 [XRay] ARM 32-bit no-Thumb support in Clang adds 0d892e5 CodeGen: Clean up implementation of vtable initializer builder. NFC. adds 5987351 Add explicit casts to size_t to try to appease MSVC. adds 6fb5898 Fixed a 'not all control paths return a value' warning on MSV [...] adds 9225ec2 Moved unreachable to appease msvc, gcc and clang adds 7ccc62b Revert "[XRay] ARM 32-bit no-Thumb support in Clang" adds e80eb12 [modules] Apply ODR merging for function scoped tags only in [...] adds 5567d0c Implement MS _rot intrinsics adds 176d940 [Driver] Report invalid -mtune/-mcpu parameters when -arch=arm64 adds e32e1d1 C++ Modules TS: Add parsing and some semantic analysis suppor [...] adds a32c7af [Docs] Fix typos, remove trailing whitespace. adds 63e9d0e Update clang for D21514. NFC adds 2334395 [codeview] Extend the heuristic for detecting classes importe [...] adds db978ad Make -fstandalone-debug and -flimit-debug-info available in clang-cl adds b24c87c [DebugInfo] Ensure complete type is emitted with -fstandalone-debug adds 09a0c48 Also cleanup comments around redundant colons/commas in forma [...] adds 27f089e Myriad: nominally "support" ASAN. adds 02a8764 Modules: revert r280728. adds fc6245c [CUDA] Make __GCC_ATOMIC_XXX_LOCK_FREE macros the same on hos [...] adds 46ae902 Debug info: Bump the default DWARF version on Darwin to 4. adds 2ba1979 Modules: for ObjectiveC try to keep the definition invariant. adds f3ab1d3 [tablegen] Check that an optional IdentifierArgument of an at [...] adds 081569d Add missing test coverage for an inheritance model attrib mer [...] adds 359c455 CodeGen: remove unnecessary else case adds c5d3857 [MS ABI] Add /include directives for dynamic TLS adds 89f2f0d Add a mode to clang-tblgen to generate reference documentatio [...] adds 6eb4a61 Attempt to placate MSVC. adds 1f95189 Attempt #2 to placate MSVC adds 4d206e7 Attempt #3 to placate MSVC. adds 060de1f Add virtual destructor (necessary due to the switch to shared_ptr). adds a0d6944 [CFG] Add iterator_ranges to CFG and CFGBlock. adds 0ca4899 clang-format: Make emacs integration work with narrowed buffers. adds 3578a2a Trivial documentation fix regarding Obj-C ARC objc_arc_weak_r [...] adds 7cfda22 Diagnostics reference: "error:" should be red, not orange. adds ba637c4 [modules] When we merge two definitions of a function, mark t [...] adds 97edc59 Add a couple of test files missed in r281258. adds 652fc62 CodeGen: use some range-based for loops adds ec69ba2 Fix a long comment line adds fd2a481 Add -fdiagnostics-show-hotness adds 6603cad [Sema] Fix PR30346: relax __builtin_object_size checks. adds 8488298 [DebugInfo] Deduplicate debug info limiting logic adds 8503d69 Revert "Add -fdiagnostics-show-hotness" adds 48ccf5d Update Clang for D20147 ("DebugInfo: New metadata representat [...] adds 3fdacc1 Fix interaction between serialization and c++1z feature. adds e3a335e Handle empty message in static_asserts. adds 8a7af2f Reapply r281276 with passing -emit-llvm in one of the tests adds 552e0fb clang-format: Add Java detection to git-clang-format. adds 6b9f360 Allow register variables in naked functions. adds b9127b3 Simplify. NFC. adds 07ab3a7 Revert accidentally checked in change in r281315. adds 0a23fcc Remove redundant comma around parenthesis in parameter list. adds 9ff97ba Traversing template paramter lists of DeclaratorDecls and/or [...] adds a28ba16 Add a class ObjCProtocolQualifiers to wrap APIs for ObjC prot [...] adds be6c773 ObjectiveC: Refactor applyObjCProtocolQualifiers. adds 4155a0a ObjectiveC generics: Add ObjCTypeParamType in the type system. adds 3c62e64 AMDGPU: Fix target options fp32/64-denormals adds 1286300 ObjectiveC Generics: Start using ObjCTypeParamType. adds 087efca Work around a GCC 4.7-specific issue: due to implementing old [...] adds eb208de [clang-cl] Diagnose duplicate uuids. adds 32a0264 [analyzer] Fix ExprEngine::VisitMemberExpr adds c79ec5a Add some MS aliases for existing intrinsics adds 76b2683 Add bunch of _Interlocked builtins adds ba75b71 Work around MSVC 2013's inability to default move special members. adds cd4da5b [SemaObjC] Be more strict while parsing type arguments and protocols adds ec0b188 Remove excessive padding from PTHWriter adds 3a10548 Try harder to not inline dllimport functions referencing non- [...] adds 1b076bc Reverse commit 281375 (breaks building Chromium) adds eedd024 Temporary fix for MS _Interlocked intrinsics adds d3f3e77 ObjectiveC Generics: follow-up commit to r281355. adds 7d00971 [CodeGen] Fix an assert in EmitNullConstant. adds 19ed546 [CUDA] Do not merge CUDA target attributes. adds 238012f Fix a FIXME about MSVC 2013 in the diagnostic doc generation code adds 4dce7c7 Warning flag updates: -Wdiv-by-zero may as well be an alias f [...] adds 0d05e31 Also don't inline dllimport functions referring to non-dllimp [...] adds 9ddf081 Missed update from r281412. adds 0df4478 Color warnings purple rather than orange, to match actual Cla [...] adds 1e75676 [modules] When merging one definition into another, propagate [...] adds 1e7f360 Follow-up to r281367: Compare uuids case-insensitively. adds 6c177e5 [sanitizer-coverage] add yet another flavour of coverage inst [...] adds b7ad5ad Update DiagnosticsReference and fix emitter to emit -Wpedanti [...] adds 8108d3c [docs] Order diagnostic cross-references alphabetically rathe [...] adds d140564 [docs] Fix formatting of characters so that tables lin [...] adds 3e4a6ab Document option '-rtlib' in clang's man page and help info adds b19f8fa Revert "[modules] When merging one definition into another, p [...] adds 8933d16 Supports adding insertion around non-insertion replacements. adds 6d2a6c1 Fix documentation of MemberExpr::getMemberDecl adds 300b9de CodeGen: simplify the logic a slight bit adds f275070 Convert finite to builtin adds 82d5b51 [analyzer] scan-build-py: Remove relative path hack for SATes [...] adds 2da0fd1 Correct assert text in DeclGroup::getSingleDecl() adds 562918e Do not warn about format strings that are indexed string literals. adds a0badfb Revert "Do not warn about format strings that are indexed str [...] adds 5eb95c4 Add some MS aliases for existing intrinsics adds 7c90bb7 [CUDA] Add test checking our ability to take a function point [...] adds b305e4d [CUDA] Make __clang_cuda_cmath.h compatible with libc++. adds 19dd934 [clang-cl] Accept the joined equals version of -resource-dir= adds e119918 Revert r281457 "Supports adding insertion around non-insertio [...] adds 2d35bd6 Builtins.def: Explicitly undef finitef, to appease mingw. It [...] adds 0ead18b Update clang unittests for rL281586. adds 236cf68 [ARM] ARM-specific attributes should be accepted for big-endian adds 273cb11 Silence false positive diagnostics regarding passing an objec [...] adds d8b1094 [mips][ias] Enable IAS by default for N64 on Debian mips64el. adds 6701aa3 Reverting r281609; it caused some build bots to break. adds 4de9f91 [analyzer] Fix HTMLRewriter style sheets to support non-webki [...] adds 614458e Reapply: Silence false positive diagnostics regarding passing [...] adds d238c57 clang-format VS plugin: upgrade the project files to VS2015 adds e57451a [sanitizer-coverage] make trace-pc-guard and indirect-call wo [...] adds 133fae6 Simplify Clang's version number configuration in CMake. adds 38edf4b [Sema] Allow shifting a scalar operand by a vector operand. adds 5a8a262 [CUDA] Don't try to run sanitizers on NVPTX. adds 23c768a [CodeGen][ObjC] Block captures should inherit the type of the [...] adds 9e22199 Do not warn about format strings that are indexed string literals. adds cf50344 Alter the iOS/tvOS ARM64 C++ ABI to ignore the upper half of [...] adds 4941367 Fix unused result from sign extending an Offset. adds 7df3e57 Testing commit rights. Removing trailing white space from test file. adds fcb405e Touch up [[clang::require_constant_initialization]] docs adds c0e5675 Improve handling of floating point literals in OpenCL to only [...] adds 0918387 CodeGen: use pointer rather than reference in range loop adds dca2f8e Introduce inline assembly parsing test is PR30372. adds 8a76d47 CodeGen: Add more checks to nobuiltin.c test, add a negative test. adds 449ce31 Add target triples to fix test on non-x86. adds 3ecfe56 Add REQUIRES line. adds 550a211 Fix a couple of wrong-code bugs in switch-on-constant optimization: adds c80f3af CodeGen: refactor the ObjC cstring literal creation adds 028c96e [sanitizer-coverage] change trace-pc to use 8-byte guards adds 72aeae9 clang-format: [JS] Fix a crash in handledTemplateStrings. adds 18e5245 When replacements have the same offset, make replacements wit [...] adds baa8996 [libFuzzer] use 'if guard' instead of 'if guard >= 0' with tr [...] adds dba490c CodeGen: mark ObjC cstring literals as constant adds f293c78 CodeGen: mark ObjC cstring literals as unnamed_addr adds d2ea2d9 clang-format: [JS] ASI insertion after boolean literals. adds 9022240 clang-format: [JS] Do not wrap taze annotation comments. adds 381f9b3 [XRay] ARM 32-bit no-Thumb support in Clang adds bff491f [analyzer] SATestBuild.py: Treat '#' as comment in projectMap.csv adds c338f66 [docs] Touch up the code coverage doc adds 812eb3c clang-format: [JS] Fix line breaks before comments when sorti [...] adds 40a68ac Recommit r281457 "Supports adding insertion around non-insert [...] adds bd7adaf Reverting r281714 due to causing an assert when calling built [...] adds 14ebecf [OpenCL] Diagnose assignment to dereference of half type pointer adds 4e15025 Remove excessive padding from the struct CallStackFrame adds d121635 Remove InstructionCombining and its related pass from sample [...] adds 13934c8 [OpenCL] Allow half type kernel argument when cl_khr_fp16 is enabled adds 38afa92 Reorder initializers in CallStackFrame so that we don't get a [...] adds 93cce01 [analyzer] Calculate extent size for memory regions allocated [...] adds 956db38 [mips] MSA intrinsics header file adds 0ee96cd Replace 'isProvablyNonNull' with existing utility llvm::IsKno [...] adds 95aa5d9 [docs] Extend the code coverage docs some more adds bcac03f [cleanup] Remove excessive padding from TextTokenRetokenizer: [...] adds 6ec8bc1 Fix typo in documentation. adds f127b47 CodeGen: further merge cstring literal construction adds 616f116 Add some entropy to the folder name in Driver/warning-options.cpp. adds 736e9a7 [CMake] Support overriding CLANG_VERSION_* adds 5c8f490 Fix a regex error breaking tests. adds 1be4cc5 Remove some boilerplate comments that don't explain anything. adds d9e26ca [analyzer] Add a checker that detects blocks in critical sections adds 6d355ff clang-format: [JS] do not wrapp @returns tags. adds 249c2be PR30401: Fix substitutions for functions with abi_tag adds bd81660 [AVX512] Fix return types on __builtin_ia32_gather3XivXdi builtins adds 7ca59a7 [docs] Add ThinLTO user documentation adds 1db13ef Add -Wignored-pragma-intrinsic flag adds 29d34c9 [CMake] Pass CLANG_VERSION_* variables into later stages adds 1e04ce1 [CMake] Check if passthrough variables are defined adds b67e055 [Sema] Fix PR30481: crash on checking printf args. adds 2c7dd98 [CMake] More robust handling for bootstrap variables adds d43e9cc clang-format: Add an option to git-clang-format to diff betwe [...] adds a8eabf7 [X86] Fix some illegal rounding modes in some builtin test ca [...] adds 3a0a03e clang-format: [JS] reserved words in method names. adds f0ed39d Fixing sphinx build due to diagnostic: adds 0f4885c Second attempt to fix Sphinx bot adds 0777fb4 Third attempt to fix Sphinx bot adds d9a3168 Fix Wbitfield-constant-conversion false positives adds 2f10198 [docs] Touch up the coverage docs some more adds 08176f5 [OpenBSD] Add type sign information for OpenBSD adds e528dbb [X86] Split up the single switch statement in Sema::CheckX86B [...] adds b8f10df [AVX-512] Add initial support for checking rounding mode argu [...] adds 2dba47c Fix indentation adds 556618d Minor tweak. Avoid hardcoding. adds 0243a87 [asan] Fix incorrect SEH symbol mangling on win64. adds 7981b20 [OpenCL] Augment pipe built-ins with pipe packet size and alignment. adds 04f6547 [clang-format] support header deletion in cleanupAroundReplacemnts. adds c09889b Fix for r280064 that added options for fp denormals and excep [...] adds 1349047 Revert of r282255 because of "Fell off the end of a string-sw [...] adds 560b6b6 set the underlying value of “#pragma STDC FP_CONTRACT” on by default adds 0cfdd4d Revert "set the underlying value of “#pragma STDC FP_CONTRACT [...] adds a428e7b [LTO] Add -flto-jobs=N to control backend parallelism adds 714e179 [analyzer] Fix crash in RetainCountChecker::checkEndFunction adds 0c8c36d Update clang for r282299. adds 17b2724 Use llvm::to_string instead of std::to_string to fix bot adds 8ae7a02 [analyzer][scan-build-py] subprocess output handling reviewed [...] adds 25aede1 Remove excessive padding from ObjCCategoriesVisitor adds 12dcbf4 Remove excessive padding from RedeclarableResult adds 1dd6f1e [AMDGPU] Expose flat work group size, register and wave contr [...] adds 7df0fd1 Driver: avoid failing in the backend adds 81b2d4e update the link to the code coverage adds fdc0feb In the get started page, also explain how to start the testsuite adds 7315f75 clang-format: Only special-case top-level */& in multivar-declstmts. adds 1f6e700 [analyzer] Improve CastToStruct checker so it can also detect [...] adds b2c1023 [ASTMatcher] Add isStaticStorageClass matcher for varDecl and [...] adds a384821 Complete support for the cxxCtorInitializer() AST matcher so [...] adds 96f1dbf CC1: Add -save-stats option adds 502c875 Fix test on windows adds 92f23b6 [Modules TS] Diagnose 'export' declaration within 'export' de [...] adds 4765e80 headers: add missing Windows ARM Interlocked intrinsics adds 199dbc5 [clang-format] Don't allow newline after uppercase Obj-C bloc [...] adds d91ab1c P0145R3 (C++17 evaluation order tweaks): consistently emit th [...] adds 3f92868 P0145R3 (C++17 evaluation order tweaks): evaluate the base ex [...] adds e201100 Defend test against differences between 32-bit and 64-bit MSA [...] adds 37a34bf Remove default argument from lambda to appease old MSVC. adds 12b3804 [ASTMatcher] Clarify isStaticStorageClass and hasStaticStorag [...] adds 0dccc35 [Power9] Builtins for ELF v.2 ABI conformance - front end portion adds 8d513e9 Silencing a Sphinx diagnostic with options, again. adds 1064bf5 [avx512] Add aliases to some missing avx512 intrinsics. adds f28082f Update to commit r282488, fix the buildboot failure. adds c0898b9 Adapt to LLVM optimization remark interface change. NFC adds 709c3c4 Revert "Adapt to LLVM optimization remark interface change. NFC" adds aa39cf1 Adapt to LLVM EnableStatistics() change. adds 9d6d8bd Adapt to LLVM optimization remark interface change. NFC adds c9b9480 Shorten DiagnosticInfoOptimizationRemark* to OptimizationRema [...] adds c56ff5f Fix defaulted member functions for templated classes. adds 4d090da [Coverage] The coverage region for switch covers the code aft [...] adds 53874ed Revert r282547 and add test to show correct behavior. adds 5b3280c P0145R3 (C++17 evaluation order tweaks): evaluate the right-h [...] adds 98e2f4b Put new warning in a diagnostic group. adds 1ec534d Revert r282556. This change made several bots unhappy. adds 27ab246 [Headers] Replace stray indentation with tabs with spaces. NFC. adds a2c2819 [ASTImporter] Implement some expression-related AST node impo [...] adds cf8824a Fix warnings in clang-completion-mode.el. adds e8b5e6d [StaticAnalyzer] Fix false positives for vardecls that are te [...] adds 9fecde6 ASTMerge: specify arch for GCCAsmStmt test explicitly to calm [...] adds 7fc60d9 Merge conflicting replacements when they are order-independent. adds e716c9e ASTMerge: explicitly specify arch for GCCAsmStmt test to calm [...] adds 1574e43 [X86] Remove the mm_malloc.h include guard hack from the X86 [...] adds 16d9f68 Trying to buildbot failures caused by r282577. adds 9221270 [CUDA] added __nvvm_atom_{sys|cta}_* builtins. adds 6a96fd6 [CUDA] Added support for CUDA-8 adds 7da28ae Re-commit r282556, reverted in r282564, with a fix to CallArg [...] adds d024a29 Long-overdue update to cxx_status: C++14 is no longer "upcoming". adds 252e09f P0096R2: Implement more recent revision of SD-6 (C++ feature [...] adds e8cee8f P0095R3: Implement the latest published revision of SD-6 (C++ [...] adds 3a2044d Add a couple more tentative names for upcoming SD-6 feature c [...] adds 827cdbc cxx_status: use HTML5 details/summary elements to hide implem [...] adds 43a65cd Fix bug where template argument deduction of a non-type templ [...] adds 9455bc7 [Coroutines] Add proper mangling for operator co_await for Mi [...] adds 6d0bdd7 [CUDA] Disallow exceptions in device code. adds e5804c1 [CUDA] Disallow variable-length arrays in CUDA device code. adds 55fa809 P0127R2: Support type deduction for types of non-type templat [...] adds 98a155c Mark P0127R3 as done, and replace its __has_feature check wit [...] adds ce8f8cc [PR30341] Alias must point to a definition adds 046fede XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set adds 56125bc Revert "[PR30341] Alias must point to a definition" adds e0c58c0 [sanitizer-coverage/libFuzzer] make the guards for trace-pc 3 [...] adds 7e226eb [sanitize-coverage] doc typo adds 1591d40 [sanitizer-coverage] more docs adds 2d68345 [sanitizer-coverage] a bit more docs adds ce09b18 [Myriad] Silently ignore -fno-split-dwarf-inlining adds c15b46e Switch to a different workaround for unimplementability of P0 [...] adds cc732a2 [Coroutines] Fix assertion about uncorrected typos in co_awai [...] adds bec0fbe P0035R4: add std::align_val_t overloads of operator new/delet [...] adds dd05262 Move UTF functions into namespace llvm. adds 6396cd1 Cosmetic fix: deleted unnecessary line break in comment. adds 5f25b7d Fix int <= bool comparison warning on MSVC adds 3013cb7 Strip trailing whitespace (NFCI) adds 05f9770 [CUDA][OpenMP] Add a generic offload action builder adds 3269fd7 [CUDA] Add missing comment on Sema::CheckCUDAVLA. adds ebda718 [CUDA] Handle attributes on CUDA lambdas appearing between [. [...] adds 39766c5 [CUDA] Make lambdas inherit __host__ and __device__ attribute [...] adds f8d7a08 [MS] Implement __iso_volatile loads/stores as builtins adds 94575ae [CUDA] Fix up MaybeParseGNUAttributes call used for out-of-pl [...] adds cbda495 [CUDA] Emit a warning if a CUDA host/device/global attribute [...] adds e933268 [CUDA] Remove incorrect comment in CUDASetLambdaAttrs. adds 81d106c [CUDA] Fix implicit-device-lambda.cu after r282911. adds 805c57d [sancov] -symbolize documentation update adds b53de54 Add missing std::move in Replacements::add adds 274897b [sanitizer-coverage] fix docs adds 182698b [Sema] Support lax conversions for compound assignments adds fa5a2d7 [coroutines] Diagnose when 'main' is declared as a coroutine. adds 0b21f89 P0035R4: add predefined __STDCPP_DEFAULT_NEW_ALIGNMENT__ macr [...] adds 9a911fd CodeGen: inherit DLLExport attribute in Windows Itanium adds 6079e1d Fix bogus "inline namespace cannot be reopened as non-inline" [...] adds 1989308 [CUDA] Disallow 'extern __shared__' variables. adds 682d473 [CUDA] Disallow __constant__ local variables. adds 236ec54 [CUDA] Harmonize asserts in SemaCUDA, NFC. adds eccfe90 Fix crash when emitting error. adds a9bc183 Use StringRef in Triple API (NFC) adds 587ba81 Use StringRef in Pass/PassManager APIs (NFC) adds 92d42da Use StringRef in Registry API (NFC) adds 3353f9f Use StringRef for MemoryBuffer identifier API (NFC) adds a82df26 [AVX-512] Add _MM_FROUND_NO_EXC to test cases that pass a rou [...] adds b221f48 [AVX-512] Check rounding mode for builtins that take one. Rou [...] adds c5743b9 [PowerPC] Enable soft-float for PPC64, and +soft-float -> -ha [...] adds 2127f33 Alias must point to a definition adds 05da52c [coroutines] Rename driver flag -fcoroutines to -fcoroutines-ts adds 90917bd [CUDA] Allow extern __shared__ on empty-length arrays. adds 2e78956 [AVX-512] Use native IR for masked 512-bit add/sub/mul/div ps [...] adds 9bdb6e0 [cmake] Install 'clang-cpp' symlink adds 1482eca Keep the test only for Itanium abi adds 096aec0 [analyzer] Extend bug reports with extra notes adds 23eb5db [analyzer] Add extra notes to ObjCDeallocChecker adds 071811a [analyzer] Improve CloneChecker diagnostics adds bcd3bb3 [StaticAnalyzer] Fix UnreachableCode false positives. adds cd374e5 [StaticAnalyser] Add test case to ensure that unreachable cod [...] adds e894d16 Fix PR 28885: Fix AST Printer output for the inherited constr [...] adds e387da0 Revert r283102 (Typo in the phabricator link) adds 549741a Fix PR 28885: Fix AST Printer output for the inherited constr [...] adds 35613b6 Wdocumentation fix adds c97b11c This adds a separate file for the fp denormal regression tests. NFC. adds 350b741 This adds a separate file for the fp denormal regression test [...] adds 8e9bb60 [OpenCL] Fix bug in __builtin_astype causing invalid LLVM cas [...] adds b3fa842 [ARC] Ignore qualifiers in copy-restore expressions adds 534b637 [CUDA] Disallow overloading destructors. adds 6c013d6 [CUDA] Clean up some comments in Sema::IsOverload. NFC adds e58d233 Factor out a diagnostic kind enum for use in two %select expressions adds 3aadb13 Added more comments to tooling::Replacements. adds 4161346 [analyzer] A blind attempt to fix a buildbot after r283092. adds 4abceaa ObjectiveC: fix a seg fault when deserialing redeclaration of [...] adds f7aae83 [coroutines] Adding builtins for coroutine intrinsics and bac [...] adds 1a49351 [coroutines] Switch to using std::experimental namespace per P0057R5 adds 7ffa380 Revert "[analyzer] A blind attempt to fix a buildbot" as it d [...] adds 8df29c3 Revert "[analyzer] Extend bug reports with extra notes" to fi [...] adds b89ba4a Revert "[analyzer] Add extra notes to ObjCDeallocChecker" as [...] adds b01e9e0 Revert "[analyzer] Improve CloneChecker diagnostics" as its d [...] adds 149c4f8 [XRay] Check in Clang whether XRay supports the target when - [...] adds 9ad6c42 Revert r283106, "Wdocumentation fix" adds 9547f63 Revert "[XRay] Check in Clang whether XRay supports the targe [...] adds a924ef3 Minor cleanups in clang-format.el. adds 4fc3da44 Do not find friend function definitions inside non-instantiat [...] adds 113693d [ThinLTO] Spell `llvm-ar` correctly. adds b1b3141 [OpenMP] fix segfault when a variable referenced in reduction [...] adds 262c058 [MS] Move hex long long sign compat hack to -fms-compatibility adds 8e29175 [Sema] Format a comment line so that it fits 80 columns. NFC adds 4e21615 Test what happens when tag lookup and redeclaration lookup disagree adds e82fea9 [sancov] documentation update after r283241 adds 9c15a06 clang-format: Fix bad multi-variable for-loop formatting. adds bc55776 [ubsan] Disable bounds-check for flexible array ivars adds 4da1cc6 [clang] make reciprocal estimate codegen a function attribute adds 27ae90e [analyzer] Add PostStmt callback for ArraySubscriptExpr adds 2ca3724 clang-cl: Expose the -flto option adds df61833 clang-cl: expose the -fuse-ld option adds 3905e2a clang-cl: Use the .obj file extension also in LTO mode adds c5894c7 clang-cl: Make /Fo apply also when using -flto adds a0ff5f0 Separate builtins for x84-64 and i386; implement __mulh and __umulh adds 8678918 [CUDA] Destroy deferred diagnostics before destroying the AST [...] adds e506eb4 [CUDA] Mark device functions as nounwind. adds a85c032 [CUDA] Add missing ':' to noexcept.cu test. adds 8a8b46d [analyzer] Add "Assuming..." diagnostic pieces for unsupporte [...] adds 7045cfa [analyzer] Improve "Assuming..." diagnostic pieces for logica [...] adds f002f9a [analyzer] Squash a compile error in r283301. adds 1f404de [Sema] Packed member warning: Use the typedef name for anonym [...] adds fad8d6d [Clang][AVX512][BuiltIn]Adding missing intrinsics move_{sd|ss [...] adds cd5b638 [clang-format] append newline after code when inserting new h [...] adds 57de589 Make DeletedLines local variables in checkEmptyNamespace. adds 9deb8dd Removing optimization from the RUN lines and adjusting the ch [...] adds 76767b5 PR22924, PR22845, some of CWG1464: When checking the initiali [...] adds 8aa6448 Use llvm::raw_string_ostream instead of std::stringstream (NFC) adds cc28d75 Taking StringRef in Driver.h APIs instead of raw pointers (NFC) adds 27875fe [Driver] Add driver support for Fuchsia adds e4e0b9f Fix PR30440: Initialize FunctionTypeDepth in CXXNameMangler adds 18e6737 Add missing -no-canonical-prefixes. adds d9e3029 [Sema] Fix PR30520: Handle incomplete field types in transpar [...] adds ed853c6 [modules] Allow VarDecls with initializers to use special var [...] adds b3ebb55 Allocate after the early exit checks. NFC. adds ba7b135 [OpenMP] Check if the template specialization is mappable ins [...] adds 1ffd5ea [Sema] Replace smart quote with "'" in comment. adds 18a60c7 [modules] Be sure to emit local specializations of imported t [...] adds e99b50a [coroutines] Fix co_return statement for initializer list arguments adds ce105ac Add another .def file to module map to fix modules buildbot's [...] adds 58bc87d [analyzer] Add explanation why analyzer report is not generat [...] adds 575e6c8 PR25890: Fix incoherent error handling in PerformImplicitConv [...] adds 9de55ae Use StringReg in TargetParser APIs (NFC) adds 99476ed [analyzer] Try to re-apply r283092 "Extend bug reports with e [...] adds a7c669b Revert "[analyzer] Try to re-apply r283092 "Extend bug report [...] adds d6eb4dd [analyzer] Re-apply r283092, attempt no.3, in small chunks th [...] adds 6cfbf8b Revert "[analyzer] Re-apply r283092, attempt no.3, in small c [...] adds bd95f43 [ARM]: Add Cortex-R52 target adds e83b8da Wdocumentation fix adds c32c5df [analyzer] Don't merge different return nodes in ExplodedGraph adds 8a905df Update clang test to accomendate discriminator change in http [...] adds 75d0a5d [analyzer] Re-apply r283092, attempt no.4, a small chunk. adds 2debfe6 [analyzer] Re-apply r283092, attempt no.4, chunk no.2. adds cd26b3f [Driver] Make -print-libgcc-file-name print compiler-rt lib w [...] adds 327a871 [analyzer] Re-apply r283092, attempt no.4, chunk no.3. adds 014cf5b [analyzer] Re-apply r283092, attempt no.4, chunk no.3, fixup 1. adds 9ccc2ea Silence Warning. NFC. adds 6bc67a4 [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) adds 5820bd6 Revert r283572 - [Driver] Make -print-libgcc-file-name print [...] adds c99e5f9 Visually align table def with respective enum. NFC adds 70d1335 Turn ArchName/BoundArch in Driver from raw pointer to StringR [...] adds 4996bf4 Driver: use StringRef instead of raw pointer in lookupTypeFor [...] adds 2386096 Fix MSVC build: requires namespace in front of StringRef (NFC) adds b7ca92a Rename variable to not use C++ reserved name (leading undersc [...] adds 14cbb5e [CUDA] Do a better job at detecting wrong-side calls. adds 45a9c7a Use StringRef in Command::printArg() instead of raw pointer (NFC) adds 4aa93d2 Un-tabify source files, NFC. adds a501e19 [analyzer] Re-apply r283093 "Add extra notes to ObjCDeallocChecker" adds b1769b7 [analyzer] Re-apply r283094 "Improve CloneChecker diagnostics" adds ef2871b [analyzer] Fix build error after r283660 - remove constexpr strings. adds e5f86e2 Turn cl::values() (for enum) from a vararg function to using [...] adds 985220f [CUDA] Add #pragma clang force_cuda_host_device_{begin,end} pragmas. adds 470ddb8 [CUDA] Declare our __device__ math functions in the same inli [...] adds 204eb55 [CUDA] Rename cuda_builtin_vars.h to __clang_cuda_builtin_vars.h. adds 8f211f3 [CUDA] Support <complex> and std::min/max on the device. adds c417863 [CUDA] Don't install cuda_wrappers/{algorithm,complex} into t [...] adds b8dba12 When optimizing for size, enable loop rerolling by default adds 348a1f4 [x86][inline-asm][clang] accept 'v' constraint adds 15bd535 P0035R4: Semantic analysis and code generation for C++17 over [...] adds 424887c Mark aligned allocation as done. adds c723449 Fix style issue. Spaces in argument list. adds 79a4de8 Revert "[x86][inline-asm][clang] accept 'v' constraint" adds 4f4e33e [Driver] Make -print-libgcc-file-name print compiler-rt lib w [...] adds d1ea6ad Revert r283680. adds 2b9a6f7 Revert "P0035R4: Semantic analysis and code generation for C+ [...] adds 61a39e4 Revert r283683 because r283680 got reverted. adds 46257d7 [Sema] Prevent using member declaration diagnostic if the bas [...] adds 1f062cd [Sema] Use unique_ptr instead of raw pointers in the late-par [...] adds 7c4b8c0 [AST] Convert MangleNumberingContext to a unique_ptr. adds 7b7c816 [AST] Use unique_ptr for VTableLayout. adds dd0969a Use unique_ptr for VPtrLocationsMap and VPtrInfoVector. adds be96a85 Use unique_ptr for VTableBuilder::VFTableLayouts map. adds c4e9e7b Use unique_ptr for VTableBuilder::VBaseInfo map. adds 845b38f [AST] Convert Marshallers to use unique_ptr. adds 31365f6 [Analysis] Use unique_ptr in AnalyaisDeclContextManager's Con [...] adds b28828e [Analysis] Use unique_ptr for CallGraph::FunctionMap. adds 78e1db5 Use StringRef in LangOptions::isNoBuiltinFunc API (NFC) adds ed407c4 [Examples] Fix use of sema.LateParsedTemplateMap in clang/examples. adds 7f9e8b9 Implement __emul, __emulu, _mul128 and _umul128 MS intrinsics adds 48fe699 Re-commit r283722, reverted in r283750, with a fix for a CUDA [...] adds 1f8778c [AST] Don't use make_pointee_iterator in VTableBuilder. adds 8001a78 Implement MS read/write barriers and __faststorefence intrinsic adds e5f62e8 Make the LValue created in EmitValueForIvarAtOffset have the [...] adds 53aae7c Add -fno-sanitize-address-use-after-scope flag adds e6f1bd2 Change Builtins name to be stored as StringRef instead of raw [...] adds 24a15d6 [Driver] Let -gline-tables-only win when it comes after -gmod [...] adds 8bd553f Store FileEntry::Filename as a StringRef instead of raw point [...] adds 4118bd2 [Driver][Diagnostics] Make 'show option names' default for dr [...] adds 5733999 Aligned allocation versus CUDA: make deallocation function pr [...] adds 651a37d [Sema] Add explicit move constructor for ExpressionEvaluation [...] adds 81b0670 Add an option to save the backend-produced YAML optimization [...] adds 5c6b26a Fixup test/Driver/opt-record.c for nvptx pointer size adds d0a5e32 Explicitly ignore return code in test for test systems that u [...] adds b042fd3 Turn FileManager DirectoryEntry::Name from raw pointer to Str [...] adds 51cb66f Delete clang-completion-mode.el. adds 87d6d42 Revert "[Driver][Diagnostics] Make 'show option names' defaul [...] adds 079f316 [modules] PR28752: Do not instantiate variable declarations w [...] adds f4e0d7f r283882 followup. Don't demote ParmVarDecls. This should fix [...] adds ad58115 Use StringRef instead of raw pointer in SourceManagerInternal [...] adds 0fff40d Revert r283887 and r283882, until the issue is understood and fixed. adds 70af68c [OpenCL] Allow partial initializer for array and struct adds 840d1dc Fix clang-offload-bundler test. adds 8076860 Fix the build with MSVC 2013 after r283856 adds 029a5ad [CUDA] Re-land support for <complex> (r283683 and r283680). adds 6d6fa28 Reapply [Driver][Diagnostics] Make 'show option names' defaul [...] adds 23a5b06 [Driver] Fix test from r283913 to unbreak bots adds 475ec9b [Driver] Use -fsyntax-only in test/Driver/show-option-names.c adds 4e291ad Revert "Change Builtins name to be stored as StringRef instea [...] adds ceb94e6 Pass the end of a component to SwiftAggLowering's enumerateCo [...] adds 00d311a Swift Calling Convention: Parameters are allowed after the sw [...] adds 1cf5763 Module: for ObjectiveC, be consistent when checking hidden decls. adds 88f1ce5 [Profile] Update testcase for r283948 (NFC) adds 683bf4d Revert - When optimizing for size, enable loop rerolling by default adds f3d02c1 [CUDA] Make touching a kernel from a __host__ __device__ func [...] adds 419410f Added REQUIRED triples to the test that fails on some ARM buildbots. adds 38df4e8 [Sema] Handle transparent_union attributes in C mode only adds 86f83e0 [CodeCompletion] Show protocol properties that are accessed t [...] adds 4a6c659 Reinstate r283887 and r283882. adds a7735ef [ARM] Fix - missing target-cpu in test adds 8708abc NFC: CodeCompletionResult's constructor should take const NamedDecl adds 541e738 Move x86-64 builtins from SemaChecking.cpp to BuiltinsX86_64.def adds 30858ca Document potential implementation of CFI in hardware. adds 424fd11 Declare WinX86_64ABIInfo to satisfy SwiftABI info adds f8658d7 [NFC] Trial change to remove a redundant blank line. adds 87e888e Specify a target cpu in test case adds 35e713c Remove basic block label in test case adds 65503bb Implement MS _BitScan intrinsics adds 919c870 fix regexes for label names in ms-intrinsics test adds 5ea7bb8 [NFC] Fixing the description for _mm_store_ps and _mm_store_ps1. adds c2d4c5a Revert r284008. This is us to fail to instantiate static data [...] adds 959f88a fix ms-intrinsics labels code to work with builds with assertions adds 36a5831 [analyzer] DeallocChecker: Don't warn about directly-set IBOu [...] adds db243f9 Fix for PR30639: CGDebugInfo Null dereference with OpenMP arr [...] adds a994aad [analyzer] Link libStaticAnalyzerCheckers to libASTMatchers. adds dcaaba5 Guard flag –fdenormal-fp-math with –fno-fast-math. This allow [...] adds c2f511f Implement MS _ReturnAddress and _AddressOfReturnAddress intrinsics adds 13dc212 Add more 64bit swiftcall convention tests adds 5ff7900 [ThinLTO] Update doc to include lld (now supported). adds 9c9d4a4 Pass -ffunction-sections/-fdata-sections along to gold-plugin adds d149463 Module: emit initializers for C/ObjC after r276159. adds fff8e6c [CUDA] Add Sema::CUDADiagBuilder and Sema::CUDADiagIf{Device, [...] adds a1f58c8 [CUDA] Disallow __shared__ variables in host functions. adds 75a3d31 [CUDA] Allow static variables in __host__ __device__ function [...] adds 6ea1c6c Swift Calling Convention: Fix out of bounds access adds d21d749 CodeGen: ensure that the runtime calling convention matches adds 8af2f11 test: attempt to repair SCEI buildbots adds 45b902e [CUDA] Emit deferred diagnostics during Sema rather than duri [...] adds eb0ae14 Add and use isDiscardableGVALinkage function. adds bc3970e Add required targets to tests to (hopefully) appease bots adds 393458c [analyzer] Remove superquadratic behaviour from DataflowWorklist adds 18ab441 fix _BitScan intrinsics missing header warnings; fix some lin [...] adds eb6f208 Add 64-bit MS _Interlocked functions as builtins again adds 3c62be7 Disable swiftcall test on windows: More brutal way to appease [...] adds 7fd2996 Reinstate r281429, reverted in r281452, with a fix for its mi [...] adds 2875f6c Use SubstInitializer instead of SubstExpr when instantiating [...] adds 96cad34 Fix bogus assert breaking modules self-host. adds fce476b [x86][ms-inline-asm] use of "jmp short" in asm is not supported adds 3c90e57 Deduplicate sets of replacements by file names. adds f01b6d6 Try to fix windows bot file path style failure caused by r284219. adds 8ed284f Removed duplicate header include adds 9c7db03 Fix for PR30632: Name mangling issue. adds eeed5f6 Implement __stosb intrinsic as a volatile memset adds e1cf700 Link static PIE programs against rcrt0.o on OpenBSD adds 8cddf5a Revert r284256 due to test failure adds 6b826f1 Module: emit initializers in submodules when importing the pa [...] adds bab2991 [Sema] Refactor context checking for availability diagnostics adds a7f432b [linux] When pre-reserving stack pages to work around broken [...] adds a669162 Implement no_sanitize_address for global vars adds d78f532 __builtin_fpclassify missing one int parameter adds 80ec660 Define Contiki OS toolchain adds 5b36200 Reinstate r284008 reverted in r284081, with two fixes: adds 68c551f Add more swift calling convention tests adds caeec12 Sema: honour dllexport in itanium more faithfully adds 21c6293 [Coverage] Support for C++17 switch initializers adds f34d92b [Coverage] Support for C++17 if initializers adds 66ffebb Disable a silly GCC diagnostic for combining a scanf length s [...] adds df3d86d Revert "[analyzer] Re-apply r283093 "Add extra notes to ObjCD [...] adds 93238df Extend this test and make it a bit clearer which cases Clang [...] adds 0750944 [analyzer] Make MallocChecker more robust against custom rede [...] adds ce58cd7 P0012R1: Make exception specifications be part of the type sy [...] adds e4dfcf6 Revert "[analyzer] Make MallocChecker more robust against cus [...] adds b27613f AST: Improve a couple of comments and cast unused values to void adds 79093a5 Revert "Revert "[analyzer] Make MallocChecker more robust aga [...] adds ea85b7d clang/test/CXX/conv/conv.fctptr/p1.cpp: Appease for targeting [...] adds 7239938 [CUDA] Fix false-positive in known-emitted handling. adds 3711eb5 AST: Prefer LLVM_NODISCARD to LLVM_ATTRIBUTE_UNUSED_RESULT adds 4498e81 Do not reset TUScope when we are in incremental processing mode. adds 76d7914 Revert "Reinstate r281429, reverted in r281452, with a fix fo [...] adds 3d9cc20 Return correct path from HexagonToolChain::getHexagonTargetDir adds e65910f Revert r284383, while I figure out how to reproduce the failu [...] adds 560c156 Reapply r284383. The test failures were due to a missing dir [...] adds 4f32a3a Fix a typo. adds 7203efc Hexagon: add dummy files to test dir so git keeps them. adds bbbbe93 Add a dummy file in each subdirectory in test/Driver/Inputs/h [...] adds 147b50f [Driver] Use VFS to perform all distribution checks adds d12a001 Driver/Darwin: Set the DWARF version based on the deployment target. adds a5f00b7 Update testcase for r284416. adds 223c34e [Coverage] Update test after r284418. adds 8860ef6 Improve the CHECK lines in debug-options.c by separating out [...] adds fe83c63 Explicitly pass an isysroot to avoid the SDKROOT overriding t [...] adds 6e7788f [Driver] Use stem rather than filename for executable name adds e5e0f9d [Basic] unique_ptr-ify SourceManager::MacroArgsCacheMap (NFC) adds f3d7217 [CMake] Add a few default passthrough variables for bootstrap builds adds 00c2008 [analyzer] Update alpha and potential checker documentation, [...] adds 5988300 [c++1z] Use canonical expression equivalence to determine whe [...] adds 4538dad [c++1z] Include "noexcept" in builtin function types where ap [...] adds 6faa0fe [libclang] Fix a failure in a test for python bindings on Cur [...] adds a672c6a [libclang] Add missing cursor kinds to python bindings. adds 0cbc713 [CodeCompletion][NFC] Extract a function that looks for block [...] adds f051915 [CodeCompletion][NFC] Extract a function that formats block p [...] adds 79d6d6a [CodeCompletion] Add a block property setter completion result adds 56e3495 [analyzer] Add NumberObjectConversion checker. adds a56684f alpha.core.UnreachableCode - don't warn about unreachable cod [...] adds e276fa8 Revert r284265 "[Sema] Refactor context checking for availabi [...] adds 35c16a3 [cmake] Update lit search to match the one in LLVM adds 3a5a4d8 Drop a redundant ".get()" call (NFC) adds d698b92 [CodeGen][ObjC] Do not call objc_storeStrong when initializin [...] adds 76b1a6d Fix clang tests adds a43654c When two function types have equivalent (but distinct) noexce [...] adds f4c3280 [c++1z] Fix corner case where we could create a function type [...] adds 89176ac Add missing warning for use of C++1z init-statements in C++14 [...] adds 7311b27 DR1330: instantiate exception-specifications when "needed". W [...] adds f210037 [CUDA] Rework tests now that we emit deferred diagnostics dur [...] adds 8e2a638 Resolve exception specifications when selecting an overloaded [...] adds 1bb6832 [clang-format] Add comment manipulation header adds ed67a74 [modules] Do not report missing definitions of demoted conste [...] adds 7353e91 [Sema] Gcc compatibility of vector shift adds 7408b63 [cmake] Use LLVM_CMAKE_PATH for GetSVN script adds f1022e2 Don't copy replacements in for-range loop. NFC. adds 472fc9d Remove unused diagnostics. NFC. adds 3e08ccc [Myriad] Find libc++ headers next to clang binary adds 574dea0 [mips][msa] Range check MSA intrinsics with immediates adds 8bd12ac MS ABI: Fix assert when generating virtual function call with [...] adds b35098f [ubsan] Use the object pointer's type info for devirtualized calls adds ddce362 New clang option -mpie-copy-relocations to use copy relocatio [...] adds b9fcef2 [ubsan] Re-work check lines to try to appease a bot (NFC) adds 51f62d6 [ubsan] Drop dependency on a 64-bit arch in a test (NFC) adds f74e91e [CUDA] Emit errors for wrong-side calls made on the same line [...] adds f161d98 [AST] Add CanonicalDeclPtr<T>. adds 158474d [CMake] Support thin LTO in PGO CMake cache adds bf32d4a [CUDA] When we emit an error that might have been deferred, a [...] adds 24fea6a [CMake] Add clang-bootstrap-deps target adds 25d6334 DebugInfo: use uint32_t for alignment variables. adds a32fe92 Don't crash generating debug info for VLA in function prototype. adds eff4af4 Add optimization to sizeof...(X) handling: if none of paramet [...] adds 57c31dd [cmake] Follow LLVM's lead in creating exported tool targets [...] adds 3582f43 Use noexcept instead of LLVM_NOEXCEPT now that all compilers [...] adds 9dc2380 Extend hack to work around bad exception specifications for ' [...] adds 562d964 Fix crash on noreturn conversion in unprototyped function typ [...] adds 1a21ba3 DebugInfo: pass alignment value only if it was forced adds 0a150c9 Upgrade debug-info-vla test: we do not pass default alignment now adds d87515f PR26276: Fix detection of non-cast-expressions as operands of [...] adds 5f70bed Refactor and simplify Sema::FindCompositePointerType. No func [...] adds 3d7fceb Replace uses of LLVM_FUNCTION_NAME with __func__, this was ma [...] adds c467cbc Work around MSVC rejects-valid. Apparenty (some versions of) [...] adds 6d0cbd7 Clean up alignment hacks now that MSVC 2013 and GCC 4.7 are gone. adds fd352be Retire llvm::alignOf in favor of C++11 alignof. adds 18aecc3 [Format] Cleanup after replacing constructor body with = default adds 401aab9 [clang-cl] Fix test that shouldn't be running on non-x86 adds 1a29ab2 [c++1z] Teach composite pointer type computation how to compu [...] adds 1883d8d Add more doxygen comments to emmintrin.h's intrinsics. adds e02feb3 [c++1z] Fix assertion failure when using the wrong number of [...] adds 149b775 [CodeGen] Devirtualize calls to methods marked final in a der [...] adds 5012968 [Driver] Parse Debian version as integer when possible. NFC adds 9bfe34f [Driver] Refactor DetectDistro() parameters to take VFS ref o [...] adds 7fea800 Fix off-by-one error in PPCaching.cpp token annotation assertion adds 1863b49 Revert r284753 "[c++1z] Teach composite pointer type computat [...] adds 48a3950 Revert "Disable swiftcall test on windows: More brutal way to [...] adds 95e8a8a [clang] Remove FileEntry copy-constructor adds 5dce7bf Re-commit r284753, reverted in r284778, with a fix for PR30749. adds d1535f4 Remove 24 instances of 'REQUIRES: shell' adds 8a47587 Revert 9 changes from r284793, they still fail on some bots adds 3d57694 [Modules] Add 'no_undeclared_includes' module map attribute adds 647ac26 [Driver][Darwin] Pass -no_deduplicate to ld64 adds c1d70e9 DR583, DR1512: Implement a rewrite to C++'s 'composite pointe [...] adds da86e53 Don't try to use !Previous.empty() as a proxy for "Is this a [...] adds f6019fd clang-format: [JS] Fix template string ASI. adds 3fc87cc Revert "DR583, DR1512: Implement a rewrite to C++'s 'composit [...] adds f857a79 Remove non-existing file from modulemap. adds 343e230 Remove unnecessary x86 backend requirements from OpenMP tests adds 0f552af Removed unused function argument. NFC. adds 2f23b38 Remove move constructors that are identical to the generated [...] adds e05a50e [CUDA] Use FunctionDeclAndLoc for the Sema::LocsWithCUDACallD [...] adds e883863 Remove accidentally checked in assert. adds e7cf822 Declare H and H new/delete. adds 583d818 [CUDA] Simplify some repeated diagnostic expectations in CUDA tests. adds d18ea66 [Sema] Store a SourceRange for multi-token builtin types adds a663b0a Switch SmallSetVector to use DenseSet when it overflows its i [...] adds 4b6ad14 DR583, DR1512: Implement a rewrite to C++'s 'composite pointe [...] adds 58d59d4 Remove unnecessary distinction between Ref_Compatible and Ref [...] adds c2d70a3 Module: improve the diagnostic message for include of non-mod [...] adds aa265b0 Module: correctly set the module file kind when emitting file [...] adds bb4ce7e [c++1z] P0012R1: Implement a few remaining pieces: downgrade [...] adds d065ea4 Add another testcase missed from r284905. adds fdc43f7 Mark P0012R1 as "Partial" since it's now substantially complete. adds 993ddd7 [AVX-512] Remove masked 128/256-bit palignr builtins. We can [...] adds 9895e4d [AVX-512] Add typecasts to alignr intrinsics that were modifi [...] adds 4501a61 [AVX-512] Remove builtins for 128/256-bit pabsb/pabsw. We can [...] adds d2ece93 [AVX-512] Remove masked 128/256-bit pshufb builtins. Replace [...] adds 3f2396d [AVX-512] Remove duplicate test cases from the avx512vlbw int [...] adds 3f7a396 [AVX-512] Replace masked 128/256-bit vpmovzx/vpmovsx builtins [...] adds 999f9bc [AVX-512] Replace masked 128/256-bit saturating add/sub built [...] adds 2abe969 [AVX-512] Replace masked 128/256-bit pavg builtins and replac [...] adds 82644c3 [clang] Limit clang test to ARM and AArch64 only adds 00586d0 Fix mangling numbers for varargs lambdas; varargs and non-var [...] adds b75e6a1 Add more doxygen comments to emmintrin.h's intrinsics. adds 6127cce [AVX-512] Remove masked 128/256-bit packss/packus builtins an [...] adds 46cc20f [AVX-512] Replace 512-bit pmovzx/sx builtins with native IR. adds c807626 Remove LLVM_CONSTEXPR. adds 7d03ef9 [AVX-512] Replace masked 128/256-bit byte, word, and dword mi [...] adds 0a3be13 [AVX-512] Replace 64-bit element and 512-bit vector pmin/pmax [...] adds f0af10b Fix myriad test with CLANG_DEFAULT_CXX_STDLIB adds 242de2f [Sema][TreeTransform] Re-create DesignatedInitExpr when a fie [...] adds 6c99a55 [analyzer] Add StdLibraryFunctions checker. adds f034d97 [Sema] Formatting warnings should see through Objective-C mes [...] adds 77a9c60 [X86][AVX512][Clang][Intrinsics][reduce] Adding missing reduc [...] adds 46464bf Adjust for TimePoint interface change in llvm: D25730. NFC adds 09177fa revert r284963 adds 8a06ec9 [analyzer] Fix an ARM buildbot after r284960. adds d818d49 Fix clang-format vim integration issue with non-ascii characters adds 27310e2 Add support for __builtin_os_log_format[_buffer_size] adds f2b3f9e Fix crash if StmtProfile finds a type-dependent member access [...] adds 1048d28 [analyzer] Use unsigned integers to rely on well-defined over [...] adds 221fc2f [clang] Remove redundant --check-prefix=CHECK from tests adds 16b762b Revert "Add support for __builtin_os_log_format[_buffer_size]" adds 4992f51 Fix mangling of implicit calls to operator-> to only include [...] adds e753a97 Add support for __builtin_os_log_format[_buffer_size] adds 83cbe6f Fix bug where one of the cases where we mangle a <bare-unreso [...] adds 7d8886e CodeGen: centralise label construction for method lists adds 136b73a Fix test on non-X86 platforms adds aab8779 CodeGen: remove incorrect temporary Twine adds eacb0a6 [Sema][ObjC] Warn about implicitly autoreleasing out-paramete [...] adds fba2357 Link clangCodeGen with clangAnalysis required after r284990. adds 0edbd00 [Basic] Support 32-bit x86 and ARM targets for Fuchsia adds 0d8d306 test/CodeGen/builtins.c: reinstate #ifdef __x86_64__ around _ [...] adds 9120cee Add dependency from clangCodeGen to clangAnalysis adds 73e55da Fix handling of %% format specifier in os_log builtins. adds 8134af3 [X86][AVX512][Clang][Intrinsics][reduce] Adding missing reduc [...] adds 0d99b1f Fix 'unknown documentation command' warning ranges adds afabcbf Include full filename range for missing includes adds 57aee8e Fix diagnostic format string for err_os_log_argument_to_big adds eb1c24b Re-apply patch r279045. adds d255fae Fix MSVC unused variable warning. adds 0e776a3 CodeGen: mark protocols as common data adds 9f298dd [Driver] Support obtaining active toolchain from gcc-config o [...] adds 511cfbb [Driver] Disable OpenSUSE rules for OpenSUSE/SLES 10 and older adds 77bc8ef Reapply r284265: "[Sema] Refactor context checking for availa [...] adds 5692230 [index] Fixes for locations and relations in Objective C cate [...] adds f97051c [OpenCL] Add missing atom_xor for 64 bit to opencl-c.h adds af04f93 CodeGen: be more conservative about setting section adds dd58875 Use linker flag --fix-cortex-a53-843419 on Android ARM64 comp [...] adds 6ffe536 [codeview] emit debug info for indirect virtual base classes adds 724b6cf [Myriad] Find libc++ adjacent to libstdc++ adds 6e231a9 [Myriad] add empty file to simulated bin dir adds 70dc599 Implement name mangling proposal for exception specifications [...] adds 6fe2a45 Treat module headers wrapped by our builtin headers as implic [...] adds 25ea2c6 [cxx_status] update comment adds c222f83 [CodeGen] Move shouldEmitLifetimeMarkers into more convenient place adds 7438250 [Sema] Handle CaseStmt and DefaultStmt as SwitchCase adds 5de7695 [modules] Fix assert if multiple update records provide a def [...] adds a703dbc Use printf instead of "echo -ne". adds 26c2965 [AVX-512] Fix the operand order for all calls to __builtin_ia [...] adds ef66d4d [CodeGen] Don't emit lifetime intrinsics for some local variables adds e0d538f Bug 28065 - clang-format incorrectly aligns backslash. adds 16273da PP: Remove unused parameters from methods adds c982495 [PP] Replace some uses of unsigned with size_t adds f16d077 [modules] PR28812: Modules can return duplicate field decls. adds 4970df6 [PP] Remove another unused parameter adds 674ce24 Fix use-after-scope in ASTContext. adds 6ad50db [PP] Replace some index based for loops with range based ones adds 2e32b54 [CMake] Adding example distribution CMake cache files adds 7089f1a AMDGPU: Add missing ISA versions gfx7.x.x and 8.x.x. adds ba33a09 [PPC] Implement vector reverse elements builtins (vec_reve) adds d2576cc [PowerPC] Implement vector_insert_exp builtins - clang portion adds e9ca017 [RecursiveASTVisitor] Visit the implicit expression of a CXXD [...] adds 544f03b [CUDA] Switch cuda_wrappers/complex to use a proper include g [...] adds 06f550b [CUDA] Move device placement new definitions into a wrapper header. adds 724502a [analyzer] Report CFNumberGetValue API misuse adds 9b09301 Unconditionally pass `-lto_library` to the linker on Darwin adds a896e9a Refactor call emission to package the function pointer togeth [...] adds b40469b Fix bug when compiling CUDA code with -emit-llvm and -o. adds 56e1208 Remove check for -o option in offloading actions builder. adds 424463b [XRay] Check in Clang whether XRay supports the target when - [...] adds f1626ac [PPC] add vector byte reverse functions to altivec.h adds 0834a35 [coroutines] Build fallthrough and set_exception statements. adds 82e4eed Mark invalid RecordDecls as completed. adds f8e31c9 [Xray] Don't generate output for xray tests adds 926caf2 Empty the CtorLists/DtorLists once emitted. adds 3d0e96b Fix MSVC warning about missing 'this' from lambda default cap [...] adds 6b43d2f Add const versions of Expr::getInits() and Expr::inits() adds 39bf974 [Sema] -Wunused-variable warning for array variables should b [...] adds 21cdcf6 Fix warnings from python difflib. adds 32adf66 Add documentation for the transparent_union attribute adds ca12756 Do not print include_next/pragma once warnings when input is [...] adds 82e00e5 Attempt to make clang-format.py python 3 - compatible. adds f1efcdf [coroutines] Add allocation and deallocation substatements. adds ae5b8bc [Driver][CUDA][OpenMP] Reimplement tool selection in the driver. adds 8a30650 Expand -Wlogical-not-parentheses to also fire on `!x & A`. adds 09ceae6 [Driver][OpenMP] Create tool chains for OpenMP offloading kind. adds 74679f0 [Driver][OpenMP] Add specialized action builder for OpenMP of [...] adds 6743f51 [MS ABI] Reuse getVFPtrOffsets instead of using getClassAtVTa [...] adds 977531d [CodeGen] Provide an appropriate alignment for dynamic allocas adds 8b914ba [Driver][OpenMP] Build jobs for OpenMP offloading actions for [...] adds 1e029ac [Driver][OpenMP] Add logic for offloading-specific argument t [...] adds de524d8 [Driver][OpenMP] Update actions builder to create bundling ac [...] adds f03a8c8 [Driver][OpenMP] Update actions builder to create unbundling [...] adds e9c115b [Driver][OpenMP] Add support to create jobs for bundling actions. adds af2b453 [Driver][OpenMP] Add support to create jobs for unbundling actions. adds 63ba1c9 Use -fopenmp=libomp in all OpenMP offloading tests. adds 038c96d [coroutines] Add diagnostics for copy/move assignment operato [...] adds ad44c9e Add documentation describing the components of a complete too [...] adds 1b4a38b [docs] Update the TSan and MSan docs to refer to the new no_s [...] adds 5b1c9c4 Fix a crash on invalid code. adds cd8eb65 [Modules] Add testcase for builtins used in umbrella headers adds 12d5613 [Modules] Make test from r285377 darwin specific adds 2a5ffb8 Sema: do not warn about unused const vars if main file is a header adds 19f548b [openmp] Remove test assumption that canonical binary name co [...] adds 83bce6d Fix MSVC "not all control paths return a value" warning adds 8cebf7a [Objective-C] Add objc_subclassing_restricted attribute adds 8b37780 [OpenCL] Diagnose variadic arguments adds 06b6978 Change OpenMP offload driver tests so that it doesn't use the [...] adds e8ea46f 1. Fixing small types issue (PD|PS) (reduce) . 2. Cosmetic changes adds 2344195 Define extra variable in OpenMP offloading driver tests. adds 242cc12 [CUDA] [AST] Allow isInlineDefinitionExternallyVisible to be [...] adds bbd8f1a [Preprocessor] Support for '-dI' flag adds 4934a67 Relax assertion in FunctionDecl::doesDeclarationForceExternal [...] adds 8b380aa Revert "[Preprocessor] Support for '-dI' flag" adds 61288a5 Fixing small problem with avx512-reduceIntrin.c test on some OS. adds d9726c1 Add missing newline at EOF to avoid -Wnewline-eof warnings. adds c29c030 Fix implementation of the likely resolution of core issue 253 [...] adds 94078c6 Implement vector count leading/trailing bytes with zero lsb a [...] adds 7b3bbe7 PR30831: Teach template type diffing to cope with TemplateSpe [...] adds f26f54c [PPC] add float and double overloads for vec_orc and vec_nand [...] adds c57ace4 Fix handling of constructor inherited through multiple levels [...] adds b5328fc [Sema] Delay partial availability diagnostics, just like deprecated adds 48a2e9c Make a function static. NFC. adds 86ed3f8 [X86][AVX512][Clang][Intrinsics][reduce] Adding missing reduc [...] adds 4753b48 NFC small format adds 0578a8e [Devirtualization] Decorate vfunction load with invariant.load adds 99462c9 Factor finding of libc++ include path out of building -cc1 ar [...] adds 1e1d431 [AVX-512] Remove masked 128/256-bit floating point max/min bu [...] adds ec6b6a8 [AVX-512] Remove masked 128/256-bit pmuludq/pmuldq builtins a [...] adds aeb2bb8 [AVX-512] Remove masked 128/256-bit sqrt builtins and replace [...] adds c5c58ae [AVX-512] Remove 128/256-bit masked pmulhrsw/pmulhuw/pmulhw b [...] adds cd238117 clang/test/Driver/openmp-offload.c: Relax expressions if "ld. [...] adds dcf67a3 [AVX-512] Remove masked 128/256-bit builtins for vpmaddwd and [...] adds c6e26e7 Fixing "type" issue for (epi32) and replaceing hardcoded inf [...] adds cc28bf9 Fix clang installed path to handle case where clang is invoke [...] adds f4ae46b [analyzer] NumberObjectConversion: support more types, misc updates. adds 14849cb [AVX-512] Remove many of the masked 128/256-bit shift builtin [...] adds cbebc3b [AVX-512] Remove masked vector extract builtins and replace w [...] adds 09c4e13 Make output of ast-print closer to C++ code adds b070eba Add support for __builtin_alloca_with_align adds 7fc7a30 [AVX-512] Use selectd instead of selectps for _mm256_mask_ext [...] adds 0308e78 [AVX-512] Add a regular expression to a test that was missed [...] adds 780a918 [Modules] Add a command line option for loading the clang bui [...] adds 6cac232 [x86][inline-asm] Introducing (AVX512) k0-k7 registers for in [...] adds de7b4de Revert reviosion 285555 adds a13fce5 [OpenCL] Setting constant address space for array initializers adds 499b8d3 Fix this test when we have clang-offload-bundler.exe. adds 0fcf471 [x86][inline-asm] Introducing (AVX512) k0-k7 registers for i [...] adds 5d159cc revert r285563 fail in test CodeGen/avx512-inline-asm-kregist [...] adds 1f3bb7c clang-format: [JS] Fix missing space after 'yield'. adds c3014c9 Skip over AnnotatedLines with >50 levels of nesting; don't fo [...] adds ba837da second attempt at r285565. adds aa2d2f8 [SystemZ] Add -march=archX aliases adds 7d991e7 [x86][inline-asm] Add support for curly brackets escape using [...] adds f021623 Use toCharUnitsFromBits instead of TargetInfo::getCharWidth adds 5d3e0ab [x86][inline-asm][AVX512][clang][PART-1] Introducing "k" and [...] adds b26779d [analyzer] MacOSXAPIChecker: Disallow dispatch_once_t in ivar [...] adds 7891b0c [Sema] Warn when alignof is used with __builtin_alloca_with_align adds 6821f2a When diagnosing that a defaulted function is ill-formed becau [...] adds e4c6320 Add a warning flag for warn_alloca_align_alignof adds 57a442f Fixing problem with CodeGen/avx512-kconstraints-att_inline_asm.c adds df143a6 NFC - Reorder test case names in a PPC test case adds 70d2cb2 DebugInfo: support for DW_TAG_atomic_type adds 554e8a6 Add comment explaining this mysterious macro name. adds 8d34203 [analyzer] MacOSXAPIChecker: Improve warnings for __block var [...] adds 5faafe7 [analyzer] Allow undefined values in performTrivialCopy. adds 2a210cc A compound literal within a global lambda or block is still w [...] adds cc21152 [ASTMatcher] Add CXXNewExpr support to hasDeclaration adds e30072c [index] Fix repeated visitation of the same InitListExpr for [...] adds f794b05 [cfi] Fix missing !type annotation. adds c83b7ad [modules] Mark deleted functions as implicitly inline to allo [...] adds 783f98e [ReachableCode] Skip over ExprWithCleanups in isConfigurationValue adds 24b2810 Bitcode: Simplify BitstreamWriter::EnterBlockInfoBlock() interface. adds b3524de p0012: Teach resolving address of overloaded function with de [...] adds ea6bc23 Implement ABI proposal for throwing noexcept function pointer [...] adds ba894e9 [index] Avoid using a RecursiveASTVisitor for SyntacticFormIn [...] adds 803e00c [AVX-512] Remove masked vector insert builtins and replace wi [...] adds 58cf810 clang-format: [JS] Fix space when for is used as regular identifier. adds 51b10cc clang-format: [JS] Fix formatting of generator functions. adds 06b83f9 clang-format: Fix incorrect binary operator detection. adds 11826f8 clang-format: [JS] Fix incorrect space when "as" is used as i [...] adds 6598a29 clang-format: Fix incorrect pointer detection. adds e54c81e clang-format: Fix bug in function reference qualifier detection. adds 897e3c9 [PPC] Add vec_absd functions to altivec.h adds 4e89537 Fix parenthesized assert (nfc). adds f6b08c8 [www] Fix a typo on the analyzer website adds 2f61048 [x86][inline-asm][clang] accept 'v' constraint Commit on beha [...] adds 1cd2ec8 [PowerPC] Implement vector shift builtins - clang portion adds 63cbcda [OpenCL] Override supported OpenCL extensions with -cl-ext option adds d0d9036 [OpenCL] Mark group functions as convergent in opencl-c.h adds 7b6c787 clang/test/CodeGenOpenCL/convergent.cl: Satisfy -Asserts with [...] adds af22cba [test] Fix detecting LLVM zlib support in stand-alone builds adds 153d452 [analyzer] Fix capitalization in ObjCSuperDealloc checker dia [...] adds 202d09e Bitcode: Change reader interface to take memory buffers. adds c30dc1c More forcibly resolve exception specifications when checking [...] adds b9a1fd1 Fix Clang-tidy readability-redundant-string-cstr warnings adds 71f8925 Turn on the /bigobj switch for RecursiveASTVisitorTest.cpp; w [...] adds 54ac10d [asan] Use the dynamic ASan runtime if -shared-libasan is passed adds d257640 Add a note that points to the linkage specifier for the C++ l [...] adds ec9c285 Simplify the test case from r285289. adds 75c73ad regcall: Implement regcall Calling Conv in clang adds 718769f [analyzer] StdLibraryFunctions: provide platform-specific fun [...] adds fb4b957 Don't require nullability on template parameters in typedefs. adds eab101e [index] Fix assertion hit when handling a declaration of C++' [...] adds 44d4e59 Teach clang-query to dump types. I couldn't find any existing [...] adds 7b08e8d Update manglings for C++17 noexcept function types to match J [...] adds ecafbe5 [Sema] Allow static_cast<T&&>(e) to check explicit conversion [...] adds 0571775 [CodeGen] Use StringRef. NFC. adds 54a3b88 [Sema] Remove a dead assignment, NFC. adds 516761b Enhancement to test for -ast-print adds 7eeb479 Fix heuristics skipping invalid ctor-initializers with C++11 adds f170be3 Reverted r285882 (Enhancement to test for -ast-print) adds 47592b1 Remove redundant calls to std::string::data() new 6db609b Updating branches/google/testing to r285906
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 | 93 +- bindings/python/clang/cindex.py | 161 + bindings/python/tests/cindex/test_cursor_kind.py | 3 +- cmake/caches/Apple-stage1.cmake | 5 - cmake/caches/Apple-stage2.cmake | 3 + cmake/caches/DistributionExample-stage2.cmake | 30 + cmake/caches/DistributionExample.cmake | 34 + cmake/caches/PGO-stage2-instrumented.cmake | 25 +- cmake/caches/PGO.cmake | 13 + cmake/modules/AddClang.cmake | 1 + docs/AddressSanitizer.rst | 3 +- docs/AutomaticReferenceCounting.rst | 4 +- docs/ClangFormatStyleOptions.rst | 3 + docs/CommandGuide/clang.rst | 24 +- docs/ControlFlowIntegrityDesign.rst | 54 + docs/DiagnosticsReference.rst | 10560 +++++++++++++++++++ docs/HowToSetupToolingForLLVM.rst | 2 +- docs/LanguageExtensions.rst | 76 + docs/LibASTMatchersReference.html | 160 +- docs/MemorySanitizer.rst | 10 +- docs/Modules.rst | 14 + docs/ReleaseNotes.rst | 4 + docs/SanitizerCoverage.rst | 154 +- docs/SourceBasedCodeCoverage.rst | 100 +- docs/ThinLTO.rst | 159 + docs/ThreadSanitizer.rst | 10 +- docs/Toolchain.rst | 354 + docs/UndefinedBehaviorSanitizer.rst | 4 +- docs/UsersManual.rst | 47 +- docs/analyzer/IPA.txt | 2 +- docs/index.rst | 3 + examples/AnnotateFunctions/CMakeLists.txt | 2 +- examples/PrintFunctionNames/CMakeLists.txt | 2 +- examples/PrintFunctionNames/PrintFunctionNames.cpp | 5 +- include/clang-c/Index.h | 21 +- include/clang/AST/ASTContext.h | 35 +- include/clang/AST/ASTImporter.h | 19 +- include/clang/AST/ASTMutationListener.h | 4 + include/clang/AST/ASTVector.h | 2 +- include/clang/AST/Attr.h | 9 +- include/clang/AST/AttrIterator.h | 3 +- include/clang/AST/CXXInheritance.h | 2 +- include/clang/AST/Decl.h | 123 +- include/clang/AST/DeclBase.h | 12 +- include/clang/AST/DeclCXX.h | 29 +- include/clang/AST/DeclFriend.h | 1 + include/clang/AST/DeclGroup.h | 2 +- include/clang/AST/DeclTemplate.h | 13 +- include/clang/AST/Expr.h | 30 +- include/clang/AST/ExprCXX.h | 35 +- include/clang/AST/ExternalASTSource.h | 5 +- include/clang/AST/MangleNumberingContext.h | 2 +- include/clang/AST/RecursiveASTVisitor.h | 57 +- include/clang/AST/Redeclarable.h | 64 +- include/clang/AST/Stmt.h | 23 +- include/clang/AST/StmtCXX.h | 13 +- include/clang/AST/StmtGraphTraits.h | 16 +- include/clang/AST/StmtOpenMP.h | 143 +- include/clang/AST/TemplateBase.h | 2 +- include/clang/AST/Type.h | 180 +- include/clang/AST/TypeLoc.h | 127 +- include/clang/AST/TypeNodes.def | 1 + include/clang/AST/UnresolvedSet.h | 4 +- include/clang/AST/VTableBuilder.h | 62 +- include/clang/ASTMatchers/ASTMatchFinder.h | 7 + include/clang/ASTMatchers/ASTMatchers.h | 114 +- include/clang/ASTMatchers/ASTMatchersInternal.h | 14 +- include/clang/Analysis/Analyses/Consumed.h | 5 - include/clang/Analysis/Analyses/Dominators.h | 29 +- include/clang/Analysis/Analyses/FormatString.h | 47 +- include/clang/Analysis/Analyses/OSLog.h | 155 + .../clang/Analysis/Analyses/ThreadSafetyCommon.h | 21 +- include/clang/Analysis/Analyses/ThreadSafetyUtil.h | 2 +- include/clang/Analysis/AnalysisContext.h | 3 +- include/clang/Analysis/CFG.h | 152 +- include/clang/Analysis/CallGraph.h | 58 +- include/clang/Analysis/CloneDetection.h | 101 +- include/clang/Analysis/ProgramPoint.h | 4 +- include/clang/Basic/Attr.td | 76 +- include/clang/Basic/AttrDocs.td | 309 +- include/clang/Basic/Attributes.h | 2 + include/clang/Basic/Builtins.def | 86 +- include/clang/Basic/Builtins.h | 7 + include/clang/Basic/BuiltinsAMDGPU.def | 9 + include/clang/Basic/BuiltinsARM.def | 27 + include/clang/Basic/BuiltinsNVPTX.def | 73 + include/clang/Basic/BuiltinsPPC.def | 41 + include/clang/Basic/BuiltinsX86.def | 349 +- include/clang/Basic/BuiltinsX86_64.def | 90 + include/clang/Basic/DeclNodes.td | 1 + include/clang/Basic/Diagnostic.td | 3 + include/clang/Basic/DiagnosticCommonKinds.td | 2 + include/clang/Basic/DiagnosticDocs.td | 84 + include/clang/Basic/DiagnosticDriverKinds.td | 20 + include/clang/Basic/DiagnosticFrontendKinds.td | 9 +- include/clang/Basic/DiagnosticGroups.td | 22 +- include/clang/Basic/DiagnosticLexKinds.td | 6 +- include/clang/Basic/DiagnosticOptions.def | 1 + include/clang/Basic/DiagnosticParseKinds.td | 40 +- include/clang/Basic/DiagnosticSemaKinds.td | 366 +- .../clang/Basic/DiagnosticSerializationKinds.td | 6 + include/clang/Basic/FileManager.h | 21 +- include/clang/Basic/FileSystemStatCache.h | 8 +- include/clang/Basic/IdentifierTable.h | 3 +- include/clang/Basic/LangOptions.def | 13 +- include/clang/Basic/LangOptions.h | 19 +- include/clang/Basic/Linkage.h | 4 + include/clang/Basic/Module.h | 4 + include/clang/Basic/OpenCLExtensions.def | 4 + include/clang/Basic/OpenCLImageTypes.def | 2 +- include/clang/Basic/OpenCLOptions.h | 38 +- include/clang/Basic/OpenMPKinds.def | 38 + include/clang/Basic/OpenMPKinds.h | 8 + include/clang/Basic/SourceManager.h | 12 +- include/clang/Basic/SourceManagerInternals.h | 4 +- include/clang/Basic/Specifiers.h | 2 + include/clang/Basic/StmtNodes.td | 2 + include/clang/Basic/TargetBuiltins.h | 12 +- include/clang/Basic/TargetInfo.h | 31 + include/clang/Basic/TargetOptions.h | 4 + include/clang/Basic/TokenKinds.def | 1 + include/clang/Basic/Version.h | 20 - include/clang/Basic/Version.inc.in | 3 +- include/clang/Basic/VirtualFileSystem.h | 5 + include/clang/CodeGen/CGFunctionInfo.h | 23 - include/clang/CodeGen/SwiftCallingConv.h | 2 +- include/clang/Config/config.h.cmake | 3 + include/clang/Driver/Action.h | 95 +- include/clang/Driver/CC1Options.td | 45 +- include/clang/Driver/CLCompatOptions.td | 15 +- include/clang/Driver/Compilation.h | 40 +- include/clang/Driver/Driver.h | 66 +- include/clang/Driver/Job.h | 3 +- include/clang/Driver/Options.td | 122 +- include/clang/Driver/SanitizerArgs.h | 1 + include/clang/Driver/Tool.h | 14 + include/clang/Driver/ToolChain.h | 13 +- include/clang/Driver/Types.def | 3 + include/clang/Driver/Types.h | 19 +- include/clang/Format/Format.h | 15 +- include/clang/Frontend/ASTUnit.h | 3 - include/clang/Frontend/CodeGenOptions.def | 21 +- include/clang/Frontend/CodeGenOptions.h | 17 +- include/clang/Frontend/CompilerInvocation.h | 3 +- include/clang/Frontend/FrontendActions.h | 39 +- include/clang/Frontend/FrontendOptions.h | 7 +- include/clang/Frontend/FrontendPluginRegistry.h | 3 - include/clang/Frontend/TextDiagnostic.h | 2 + include/clang/Index/IndexSymbol.h | 4 +- include/clang/Lex/DirectoryLookup.h | 2 +- include/clang/Lex/HeaderMap.h | 2 +- include/clang/Lex/HeaderSearch.h | 11 +- include/clang/Lex/HeaderSearchOptions.h | 10 +- include/clang/Lex/ModuleMap.h | 26 +- include/clang/Lex/PreprocessingRecord.h | 22 +- include/clang/Lex/Preprocessor.h | 28 +- include/clang/Parse/Parser.h | 29 +- include/clang/Rewrite/Core/HTMLRewrite.h | 4 +- include/clang/Sema/AttributeList.h | 20 +- include/clang/Sema/CodeCompleteConsumer.h | 8 +- include/clang/Sema/DeclSpec.h | 17 +- include/clang/Sema/DelayedDiagnostic.h | 44 +- include/clang/Sema/ExternalSemaSource.h | 3 +- include/clang/Sema/Initialization.h | 28 +- include/clang/Sema/MultiplexExternalSemaSource.h | 4 +- include/clang/Sema/Overload.h | 20 +- include/clang/Sema/ScopeInfo.h | 7 +- include/clang/Sema/Sema.h | 590 +- include/clang/Sema/SemaInternal.h | 6 +- include/clang/Sema/Template.h | 4 +- include/clang/Sema/TemplateDeduction.h | 5 +- include/clang/Serialization/ASTBitCodes.h | 18 +- include/clang/Serialization/ASTReader.h | 27 +- include/clang/Serialization/ASTWriter.h | 20 +- include/clang/Serialization/Module.h | 6 +- include/clang/StaticAnalyzer/Checkers/Checkers.td | 49 +- .../clang/StaticAnalyzer/Core/AnalyzerOptions.h | 13 + .../StaticAnalyzer/Core/BugReporter/BugReporter.h | 70 +- .../Core/BugReporter/BugReporterVisitor.h | 7 + .../Core/BugReporter/PathDiagnostic.h | 22 +- .../clang/StaticAnalyzer/Core/CheckerRegistry.h | 4 +- .../StaticAnalyzer/Core/PathSensitive/CoreEngine.h | 5 +- .../Core/PathSensitive/ExplodedGraph.h | 52 +- .../StaticAnalyzer/Core/PathSensitive/ExprEngine.h | 3 +- .../StaticAnalyzer/Core/PathSensitive/MemRegion.h | 6 - .../Core/PathSensitive/SValBuilder.h | 8 +- .../StaticAnalyzer/Core/PathSensitive/Store.h | 7 +- .../StaticAnalyzer/Core/PathSensitive/SubEngine.h | 3 +- .../Core/PathSensitive/SymbolManager.h | 18 +- .../StaticAnalyzer/Frontend/FrontendActions.h | 3 + include/clang/Tooling/Core/Replacement.h | 177 +- include/clang/Tooling/JSONCompilationDatabase.h | 13 +- include/clang/Tooling/Refactoring.h | 22 +- include/clang/module.modulemap | 1 + lib/ARCMigrate/FileRemapper.cpp | 2 +- lib/AST/ASTContext.cpp | 372 +- lib/AST/ASTDiagnostic.cpp | 23 +- lib/AST/ASTDumper.cpp | 20 +- lib/AST/ASTImporter.cpp | 658 +- lib/AST/ASTTypeTraits.cpp | 2 + lib/AST/CXXABI.h | 3 +- lib/AST/Comment.cpp | 154 +- lib/AST/CommentLexer.cpp | 10 +- lib/AST/CommentParser.cpp | 2 +- lib/AST/CommentSema.cpp | 11 +- lib/AST/Decl.cpp | 142 +- lib/AST/DeclBase.cpp | 48 +- lib/AST/DeclCXX.cpp | 79 +- lib/AST/DeclGroup.cpp | 2 +- lib/AST/DeclObjC.cpp | 23 +- lib/AST/DeclPrinter.cpp | 18 +- lib/AST/DeclTemplate.cpp | 2 +- lib/AST/Expr.cpp | 54 +- lib/AST/ExprCXX.cpp | 52 +- lib/AST/ExprClassification.cpp | 1 + lib/AST/ExprConstant.cpp | 104 +- lib/AST/ExprObjC.cpp | 2 +- lib/AST/ItaniumCXXABI.cpp | 10 +- lib/AST/ItaniumMangle.cpp | 161 +- lib/AST/Mangle.cpp | 3 + lib/AST/MicrosoftCXXABI.cpp | 5 +- lib/AST/MicrosoftMangle.cpp | 30 +- lib/AST/NestedNameSpecifier.cpp | 13 +- lib/AST/RawCommentList.cpp | 9 +- lib/AST/Stmt.cpp | 30 +- lib/AST/StmtCXX.cpp | 4 +- lib/AST/StmtObjC.cpp | 4 +- lib/AST/StmtOpenMP.cpp | 320 +- lib/AST/StmtPrinter.cpp | 12 + lib/AST/StmtProfile.cpp | 20 +- lib/AST/TemplateBase.cpp | 2 +- lib/AST/Type.cpp | 131 +- lib/AST/TypeLoc.cpp | 15 +- lib/AST/TypePrinter.cpp | 27 + lib/AST/VTableBuilder.cpp | 116 +- lib/ASTMatchers/ASTMatchFinder.cpp | 38 + lib/ASTMatchers/Dynamic/Marshallers.h | 69 +- lib/ASTMatchers/Dynamic/Registry.cpp | 57 +- lib/Analysis/AnalysisDeclContext.cpp | 14 +- lib/Analysis/CFG.cpp | 36 +- lib/Analysis/CMakeLists.txt | 1 + lib/Analysis/CallGraph.cpp | 16 +- lib/Analysis/CloneDetection.cpp | 685 +- lib/Analysis/FormatString.cpp | 27 +- lib/Analysis/LiveVariables.cpp | 27 +- lib/Analysis/OSLog.cpp | 177 + lib/Analysis/PrintfFormatString.cpp | 43 +- lib/Analysis/ReachableCode.cpp | 2 + lib/Analysis/ScanfFormatString.cpp | 6 +- lib/Analysis/ThreadSafety.cpp | 2 +- lib/Analysis/UninitializedValues.cpp | 3 +- lib/Basic/CMakeLists.txt | 2 +- lib/Basic/Diagnostic.cpp | 6 +- lib/Basic/FileManager.cpp | 21 +- lib/Basic/FileSystemStatCache.cpp | 4 +- lib/Basic/IdentifierTable.cpp | 6 +- lib/Basic/LangOptions.cpp | 7 +- lib/Basic/Module.cpp | 11 +- lib/Basic/OpenMPKinds.cpp | 41 +- lib/Basic/SourceManager.cpp | 39 +- lib/Basic/TargetInfo.cpp | 17 +- lib/Basic/Targets.cpp | 346 +- lib/Basic/VirtualFileSystem.cpp | 60 +- lib/CodeGen/BackendUtil.cpp | 133 +- lib/CodeGen/CGAtomic.cpp | 3 +- lib/CodeGen/CGBlocks.cpp | 65 +- lib/CodeGen/CGBlocks.h | 13 +- lib/CodeGen/CGBuiltin.cpp | 820 +- lib/CodeGen/CGCUDANV.cpp | 11 +- lib/CodeGen/CGCUDARuntime.cpp | 11 +- lib/CodeGen/CGCXX.cpp | 53 +- lib/CodeGen/CGCXXABI.cpp | 5 +- lib/CodeGen/CGCXXABI.h | 13 +- lib/CodeGen/CGCall.cpp | 310 +- lib/CodeGen/CGCall.h | 139 +- lib/CodeGen/CGClass.cpp | 36 +- lib/CodeGen/CGCleanup.cpp | 2 +- lib/CodeGen/CGCleanup.h | 3 +- lib/CodeGen/CGCoroutine.cpp | 116 + lib/CodeGen/CGDebugInfo.cpp | 436 +- lib/CodeGen/CGDebugInfo.h | 38 +- lib/CodeGen/CGDecl.cpp | 107 +- lib/CodeGen/CGException.cpp | 7 +- lib/CodeGen/CGExpr.cpp | 290 +- lib/CodeGen/CGExprCXX.cpp | 654 +- lib/CodeGen/CGExprComplex.cpp | 6 +- lib/CodeGen/CGExprConstant.cpp | 7 +- lib/CodeGen/CGExprScalar.cpp | 87 +- lib/CodeGen/CGLoopInfo.cpp | 1 + lib/CodeGen/CGObjC.cpp | 46 +- lib/CodeGen/CGObjCGNU.cpp | 14 +- lib/CodeGen/CGObjCMac.cpp | 438 +- lib/CodeGen/CGObjCRuntime.cpp | 27 +- lib/CodeGen/CGOpenCLRuntime.cpp | 26 +- lib/CodeGen/CGOpenCLRuntime.h | 8 + lib/CodeGen/CGOpenMPRuntime.cpp | 5 + lib/CodeGen/CGStmt.cpp | 42 +- lib/CodeGen/CGStmtOpenMP.cpp | 50 +- lib/CodeGen/CGVTables.cpp | 279 +- lib/CodeGen/CGVTables.h | 23 +- lib/CodeGen/CMakeLists.txt | 6 + lib/CodeGen/CodeGenAction.cpp | 71 +- lib/CodeGen/CodeGenFunction.cpp | 119 +- lib/CodeGen/CodeGenFunction.h | 94 +- lib/CodeGen/CodeGenModule.cpp | 195 +- lib/CodeGen/CodeGenModule.h | 22 +- lib/CodeGen/CodeGenPGO.cpp | 4 + lib/CodeGen/CodeGenTypeCache.h | 5 + lib/CodeGen/CoverageMappingGen.cpp | 44 +- lib/CodeGen/EHScopeStack.h | 6 +- lib/CodeGen/ItaniumCXXABI.cpp | 254 +- lib/CodeGen/MicrosoftCXXABI.cpp | 188 +- lib/CodeGen/ObjectFilePCHContainerOperations.cpp | 27 +- lib/CodeGen/SanitizerMetadata.cpp | 8 +- lib/CodeGen/SwiftCallingConv.cpp | 4 +- lib/CodeGen/TargetInfo.cpp | 351 +- lib/CodeGen/TargetInfo.h | 3 - lib/CodeGen/VarBypassDetector.cpp | 168 + lib/CodeGen/VarBypassDetector.h | 70 + lib/Driver/Action.cpp | 57 +- lib/Driver/Compilation.cpp | 17 +- lib/Driver/Driver.cpp | 1703 ++- lib/Driver/Job.cpp | 12 +- lib/Driver/MSVCToolChain.cpp | 4 +- lib/Driver/SanitizerArgs.cpp | 36 +- lib/Driver/Tool.cpp | 10 + lib/Driver/ToolChain.cpp | 16 +- lib/Driver/ToolChains.cpp | 729 +- lib/Driver/ToolChains.h | 137 +- lib/Driver/Tools.cpp | 1260 ++- lib/Driver/Tools.h | 32 + lib/Driver/Types.cpp | 116 +- lib/Format/BreakableToken.cpp | 16 +- lib/Format/CMakeLists.txt | 1 + lib/Format/Comments.cpp | 36 + lib/Format/Comments.h | 33 + lib/Format/Encoding.h | 13 +- lib/Format/Format.cpp | 319 +- lib/Format/FormatTokenLexer.cpp | 65 +- lib/Format/FormatTokenLexer.h | 21 +- lib/Format/SortJavaScriptImports.cpp | 61 +- lib/Format/TokenAnalyzer.cpp | 16 +- lib/Format/TokenAnalyzer.h | 2 +- lib/Format/TokenAnnotator.cpp | 86 +- lib/Format/UnwrappedLineParser.cpp | 24 +- lib/Format/WhitespaceManager.cpp | 9 +- lib/Frontend/ASTUnit.cpp | 5 +- lib/Frontend/CacheTokens.cpp | 27 +- lib/Frontend/ChainedIncludesSource.cpp | 2 +- lib/Frontend/CompilerInstance.cpp | 102 +- lib/Frontend/CompilerInvocation.cpp | 113 +- lib/Frontend/FrontendAction.cpp | 2 +- lib/Frontend/FrontendActions.cpp | 105 +- lib/Frontend/FrontendOptions.cpp | 2 + lib/Frontend/InitHeaderSearch.cpp | 2 +- lib/Frontend/InitPreprocessor.cpp | 55 +- lib/Frontend/ModuleDependencyCollector.cpp | 4 + lib/Frontend/MultiplexConsumer.cpp | 6 + lib/Frontend/PCHContainerOperations.cpp | 3 +- lib/Frontend/Rewrite/HTMLPrint.cpp | 2 +- lib/Frontend/Rewrite/InclusionRewriter.cpp | 6 +- lib/Frontend/Rewrite/RewriteModernObjC.cpp | 20 +- lib/Frontend/Rewrite/RewriteObjC.cpp | 22 +- lib/Frontend/SerializedDiagnosticPrinter.cpp | 2 +- lib/Frontend/SerializedDiagnosticReader.cpp | 7 +- lib/Frontend/TextDiagnostic.cpp | 36 +- lib/FrontendTool/ExecuteCompilerInvocation.cpp | 10 +- lib/Headers/CMakeLists.txt | 19 +- ..._builtin_vars.h => __clang_cuda_builtin_vars.h} | 0 lib/Headers/__clang_cuda_cmath.h | 334 +- lib/Headers/__clang_cuda_complex_builtins.h | 203 + lib/Headers/__clang_cuda_math_forward_declares.h | 25 +- lib/Headers/__clang_cuda_runtime_wrapper.h | 37 +- lib/Headers/altivec.h | 1130 +- lib/Headers/armintr.h | 45 + lib/Headers/avx512bwintrin.h | 140 +- lib/Headers/avx512dqintrin.h | 437 +- lib/Headers/avx512fintrin.h | 1498 ++- lib/Headers/avx512vlbwintrin.h | 1654 ++- lib/Headers/avx512vldqintrin.h | 439 +- lib/Headers/avx512vlintrin.h | 2063 ++-- lib/Headers/cuda_wrappers/algorithm | 96 + lib/Headers/cuda_wrappers/complex | 82 + lib/Headers/cuda_wrappers/new | 47 + lib/Headers/emmintrin.h | 1611 ++- lib/Headers/ia32intrin.h | 6 - lib/Headers/intrin.h | 661 +- lib/Headers/module.modulemap | 2 + lib/Headers/msa.h | 583 + lib/Headers/opencl-c.h | 650 +- lib/Headers/stdatomic.h | 10 +- lib/Headers/xmmintrin.h | 60 +- lib/Index/IndexBody.cpp | 45 +- lib/Index/IndexDecl.cpp | 46 +- lib/Index/IndexSymbol.cpp | 4 + lib/Index/IndexingContext.cpp | 10 - lib/Index/USRGeneration.cpp | 11 +- lib/Lex/HeaderMap.cpp | 2 +- lib/Lex/HeaderSearch.cpp | 87 +- lib/Lex/Lexer.cpp | 66 +- lib/Lex/LiteralSupport.cpp | 42 +- lib/Lex/MacroInfo.cpp | 2 +- lib/Lex/ModuleMap.cpp | 67 +- lib/Lex/PPCaching.cpp | 4 +- lib/Lex/PPDirectives.cpp | 74 +- lib/Lex/PPExpressions.cpp | 17 +- lib/Lex/PPLexerChange.cpp | 16 +- lib/Lex/PPMacroExpansion.cpp | 62 +- lib/Lex/PTHLexer.cpp | 16 +- lib/Lex/Pragma.cpp | 64 +- lib/Lex/PreprocessingRecord.cpp | 15 +- lib/Lex/Preprocessor.cpp | 68 +- lib/Lex/TokenConcatenation.cpp | 2 +- lib/Lex/TokenLexer.cpp | 11 +- lib/Parse/ParseAST.cpp | 22 +- lib/Parse/ParseCXXInlineMethods.cpp | 46 +- lib/Parse/ParseDecl.cpp | 66 +- lib/Parse/ParseDeclCXX.cpp | 158 +- lib/Parse/ParseExpr.cpp | 7 +- lib/Parse/ParseExprCXX.cpp | 52 +- lib/Parse/ParseObjc.cpp | 12 +- lib/Parse/ParseOpenMP.cpp | 15 +- lib/Parse/ParsePragma.cpp | 104 + lib/Parse/ParseStmt.cpp | 5 +- lib/Parse/ParseTentative.cpp | 4 +- lib/Parse/Parser.cpp | 188 +- lib/Rewrite/HTMLRewrite.cpp | 19 +- lib/Sema/AnalysisBasedWarnings.cpp | 55 +- lib/Sema/AttributeList.cpp | 2 +- lib/Sema/CodeCompleteConsumer.cpp | 6 +- lib/Sema/DeclSpec.cpp | 34 +- lib/Sema/DelayedDiagnostic.cpp | 33 +- lib/Sema/JumpDiagnostics.cpp | 23 +- lib/Sema/MultiplexExternalSemaSource.cpp | 3 +- lib/Sema/ScopeInfo.cpp | 1 + lib/Sema/Sema.cpp | 20 +- lib/Sema/SemaCUDA.cpp | 401 +- lib/Sema/SemaCXXScopeSpec.cpp | 127 +- lib/Sema/SemaCast.cpp | 34 +- lib/Sema/SemaChecking.cpp | 1170 +- lib/Sema/SemaCodeComplete.cpp | 236 +- lib/Sema/SemaCoroutine.cpp | 373 +- lib/Sema/SemaDecl.cpp | 905 +- lib/Sema/SemaDeclAttr.cpp | 531 +- lib/Sema/SemaDeclCXX.cpp | 876 +- lib/Sema/SemaDeclObjC.cpp | 28 +- lib/Sema/SemaExceptionSpec.cpp | 107 +- lib/Sema/SemaExpr.cpp | 660 +- lib/Sema/SemaExprCXX.cpp | 1807 ++-- lib/Sema/SemaExprMember.cpp | 53 +- lib/Sema/SemaExprObjC.cpp | 6 +- lib/Sema/SemaInit.cpp | 288 +- lib/Sema/SemaLambda.cpp | 15 +- lib/Sema/SemaLookup.cpp | 11 +- lib/Sema/SemaOpenMP.cpp | 580 +- lib/Sema/SemaOverload.cpp | 414 +- lib/Sema/SemaPseudoObject.cpp | 3 +- lib/Sema/SemaStmt.cpp | 9 +- lib/Sema/SemaTemplate.cpp | 191 +- lib/Sema/SemaTemplateDeduction.cpp | 406 +- lib/Sema/SemaTemplateInstantiate.cpp | 105 +- lib/Sema/SemaTemplateInstantiateDecl.cpp | 210 +- lib/Sema/SemaTemplateVariadic.cpp | 63 +- lib/Sema/SemaType.cpp | 211 +- lib/Sema/TreeTransform.h | 164 +- lib/Sema/TypeLocBuilder.h | 2 +- lib/Serialization/ASTCommon.cpp | 2 + lib/Serialization/ASTCommon.h | 1 + lib/Serialization/ASTReader.cpp | 307 +- lib/Serialization/ASTReaderDecl.cpp | 254 +- lib/Serialization/ASTReaderInternals.h | 13 +- lib/Serialization/ASTReaderStmt.cpp | 28 + lib/Serialization/ASTWriter.cpp | 219 +- lib/Serialization/ASTWriterDecl.cpp | 50 +- lib/Serialization/ASTWriterStmt.cpp | 14 + lib/Serialization/GeneratePCH.cpp | 22 +- lib/Serialization/GlobalModuleIndex.cpp | 5 +- lib/Serialization/ModuleManager.cpp | 95 +- .../Checkers/AnalysisOrderChecker.cpp | 68 + .../Checkers/ArrayBoundCheckerV2.cpp | 92 +- .../Checkers/BasicObjCFoundationChecks.cpp | 77 +- .../Checkers/BlockInCriticalSectionChecker.cpp | 109 + .../Checkers/BuiltinFunctionChecker.cpp | 1 + lib/StaticAnalyzer/Checkers/CMakeLists.txt | 7 + lib/StaticAnalyzer/Checkers/CStringChecker.cpp | 1 + .../Checkers/CastToStructChecker.cpp | 87 +- lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp | 31 + lib/StaticAnalyzer/Checkers/CloneChecker.cpp | 109 +- lib/StaticAnalyzer/Checkers/ConversionChecker.cpp | 192 + lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp | 7 +- .../Checkers/DynamicTypePropagation.cpp | 9 +- .../Checkers/LocalizationChecker.cpp | 9 +- .../Checkers/MPI-Checker/MPIBugReporter.h | 4 +- .../Checkers/MPI-Checker/MPIChecker.h | 7 +- .../Checkers/MacOSKeychainAPIChecker.cpp | 7 +- lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp | 73 +- lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 82 +- lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp | 5 +- .../Checkers/NumberObjectConversionChecker.cpp | 348 + .../Checkers/ObjCSuperDeallocChecker.cpp | 2 +- lib/StaticAnalyzer/Checkers/PaddingChecker.cpp | 58 +- lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 19 +- .../Checkers/StdLibraryFunctionsChecker.cpp | 1055 ++ lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp | 8 + .../Checkers/UnreachableCodeChecker.cpp | 14 +- lib/StaticAnalyzer/Checkers/ValistChecker.cpp | 373 + lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | 7 + lib/StaticAnalyzer/Core/BugReporter.cpp | 80 +- lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 90 +- lib/StaticAnalyzer/Core/CallEvent.cpp | 2 +- lib/StaticAnalyzer/Core/CheckerRegistry.cpp | 19 + lib/StaticAnalyzer/Core/CoreEngine.cpp | 22 +- lib/StaticAnalyzer/Core/ExprEngine.cpp | 37 +- lib/StaticAnalyzer/Core/ExprEngineC.cpp | 25 +- lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 6 +- lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp | 88 +- lib/StaticAnalyzer/Core/MemRegion.cpp | 42 - lib/StaticAnalyzer/Core/PathDiagnostic.cpp | 39 +- lib/StaticAnalyzer/Core/PlistDiagnostics.cpp | 55 +- lib/StaticAnalyzer/Core/SValBuilder.cpp | 3 +- lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp | 6 + lib/StaticAnalyzer/Core/Store.cpp | 2 +- lib/StaticAnalyzer/Core/SymbolManager.cpp | 7 +- lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | 120 +- .../Frontend/CheckerRegistration.cpp | 25 +- lib/Tooling/CMakeLists.txt | 8 +- lib/Tooling/CompilationDatabase.cpp | 5 +- lib/Tooling/Core/Replacement.cpp | 486 +- lib/Tooling/JSONCompilationDatabase.cpp | 52 +- lib/Tooling/Refactoring.cpp | 18 +- lib/Tooling/RefactoringCallbacks.cpp | 38 +- lib/Tooling/Tooling.cpp | 7 + runtime/CMakeLists.txt | 11 +- test/ASTMerge/Inputs/asm-function.cpp | 11 + test/ASTMerge/Inputs/class3.cpp | 26 + test/ASTMerge/Inputs/exprs3.cpp | 120 + test/ASTMerge/asm.cpp | 7 + test/ASTMerge/class2.cpp | 9 + test/ASTMerge/exprs.cpp | 45 + test/Analysis/CFNumber.c | 24 +- test/Analysis/DeallocMissingRelease.m | 59 +- test/Analysis/DeallocUseAfterFreeErrors.m | 32 +- test/Analysis/Inputs/localization-pch.h | 5 + .../Inputs/system-header-simulator-for-valist.h | 30 + .../Analysis/Inputs/system-header-simulator-objc.h | 7 + test/Analysis/NSString.m | 8 +- test/Analysis/NewDelete-checker-test.cpp | 16 + test/Analysis/analyzeOneFunction.m | 2 +- test/Analysis/analyze_display_progress.cpp | 26 - test/Analysis/analyzer-display-progress.cpp | 30 + test/Analysis/analyzer-display-progress.m | 30 + test/Analysis/analyzer-enabled-checkers.c | 20 + test/Analysis/array-struct.c | 11 + test/Analysis/block-in-critical-section.cpp | 50 + test/Analysis/cast-to-struct.cpp | 67 + test/Analysis/castexpr-callback.c | 10 + test/Analysis/casts.c | 2 +- test/Analysis/cfg.cpp | 6 +- test/Analysis/conditional-path-notes.c | 116 +- test/Analysis/conversion.c | 125 + test/Analysis/copypaste/asm.cpp | 44 + test/Analysis/copypaste/attributes.cpp | 28 + test/Analysis/copypaste/blocks.cpp | 4 +- test/Analysis/copypaste/call.cpp | 102 + test/Analysis/copypaste/catch.cpp | 29 + test/Analysis/copypaste/delete.cpp | 29 + test/Analysis/copypaste/dependent-exist.cpp | 18 + test/Analysis/copypaste/expr-types.cpp | 17 + test/Analysis/copypaste/false-positives.cpp | 29 - test/Analysis/copypaste/fold.cpp | 35 + test/Analysis/copypaste/function-try-block.cpp | 9 + test/Analysis/copypaste/functions.cpp | 37 +- test/Analysis/copypaste/generic.c | 31 + test/Analysis/copypaste/labels.cpp | 51 + test/Analysis/copypaste/lambda.cpp | 24 + test/Analysis/copypaste/macro-complexity.cpp | 50 + test/Analysis/copypaste/macros.cpp | 67 + test/Analysis/copypaste/objc-methods.m | 4 +- .../plist-diagnostics-notes-as-events.cpp | 97 + test/Analysis/copypaste/plist-diagnostics.cpp | 71 + test/Analysis/copypaste/sub-sequences.cpp | 4 +- test/Analysis/copypaste/suspicious-clones.cpp | 97 + test/Analysis/copypaste/text-diagnostics.cpp | 17 + .../plist-diagnostics-include-check-macro.def | 1 + .../plist-diagnostics-include-check-macro.h | 9 + .../diagnostics/diag-cross-file-boundaries.c | 12 + .../diagnostics/diag-cross-file-boundaries.h | 4 + .../plist-diagnostics-include-check.cpp | 140 + test/Analysis/dispatch-once.m | 109 + test/Analysis/edges-new.mm | 1823 +++- test/Analysis/generics.m | 189 + test/Analysis/inlining/InlineObjCClassMethod.m | 4 +- .../Analysis/inlining/false-positive-suppression.m | 30 +- test/Analysis/inlining/path-notes.m | 65 +- test/Analysis/localization-aggressive.m | 8 +- test/Analysis/localization.m | 2 +- test/Analysis/malloc-custom.c | 32 + test/Analysis/malloc-plist.c | 63 + test/Analysis/misc-ps-region-store.cpp | 2 +- test/Analysis/model-file.cpp | 29 + test/Analysis/non-diagnosable-assumptions.c | 47 + test/Analysis/number-object-conversion.c | 40 + test/Analysis/number-object-conversion.cpp | 94 + test/Analysis/number-object-conversion.m | 112 + test/Analysis/out-of-bounds-new.cpp | 150 + test/Analysis/out-of-bounds.c | 26 +- test/Analysis/padding_message.cpp | 166 +- test/Analysis/plist-html-macros.c | 5 +- test/Analysis/plist-output.m | 126 + test/Analysis/retain-release.m | 20 + test/Analysis/std-c-library-functions.c | 188 + test/Analysis/std-c-library-functions.cpp | 14 + test/Analysis/string.c | 17 + test/Analysis/uninit-vals.cpp | 34 + test/Analysis/unreachable-code-path.c | 55 + test/Analysis/valist-uninitialized.c | 178 + test/Analysis/valist-unterminated.c | 133 + test/CMakeLists.txt | 10 + .../basic.stc.dynamic.deallocation/p2.cpp | 19 + .../basic.stc.dynamic/p2-noexceptions.cpp | 2 + test/CXX/basic/basic.stc/basic.stc.dynamic/p2.cpp | 19 +- test/CXX/class.access/class.friend/p1.cpp | 21 +- test/CXX/class.access/p4.cpp | 82 +- test/CXX/class.derived/class.abstract/p16.cpp | 18 +- test/CXX/class/class.union/p1.cpp | 2 +- test/CXX/conv/conv.fctptr/p1.cpp | 43 + test/CXX/cpp/cpp.predefined/p1.cpp | 9 + .../dcl.dcl/basic.namespace/namespace.def/p7.cpp | 9 +- test/CXX/dcl.decl/dcl.decomp/p2.cpp | 23 + test/CXX/dcl.decl/dcl.decomp/p3.cpp | 232 + test/CXX/dcl.decl/dcl.decomp/p4.cpp | 200 + .../dcl.init/dcl.init.list/p7-0x-fixits.cpp | 2 +- test/CXX/dcl.decl/dcl.init/dcl.init.ref/p4.cpp | 13 + .../dcl.init/dcl.init.ref/p5-cxx03-extra-copy.cpp | 8 +- test/CXX/dcl.decl/dcl.init/p5.cpp | 41 +- test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-0x.cpp | 14 + test/CXX/drs/dr0xx.cpp | 74 +- test/CXX/drs/dr13xx.cpp | 96 + test/CXX/drs/dr15xx.cpp | 132 +- test/CXX/drs/dr1xx.cpp | 5 +- test/CXX/drs/dr2xx.cpp | 32 +- test/CXX/drs/dr5xx.cpp | 17 +- test/CXX/except/except.spec/p2-places-1z.cpp | 17 + test/CXX/except/except.spec/p2-places.cpp | 2 + test/CXX/except/except.spec/p5-pointers.cpp | 12 +- test/CXX/expr/expr.const/p2-0x.cpp | 18 +- test/CXX/expr/expr.const/p3-0x.cpp | 15 +- .../expr/expr.post/expr.static.cast/p3-p4-0x.cpp | 43 + test/CXX/expr/expr.post/expr.static.cast/p7.cpp | 10 + test/CXX/expr/expr.prim/expr.prim.lambda/p6.cpp | 10 + test/CXX/expr/expr.unary/expr.delete/p10.cpp | 25 + test/CXX/expr/expr.unary/expr.new/p14.cpp | 69 + test/CXX/expr/expr.unary/expr.new/p20-0x.cpp | 57 +- test/CXX/expr/p13.cpp | 51 + test/CXX/over/over.built/p15.cpp | 83 + test/CXX/over/over.built/p16.cpp | 75 + .../over.best.ics/over.ics.scs/p3.cpp | 12 + test/CXX/over/over.oper/over.literal/p6.cpp | 4 +- test/CXX/over/over.over/p1.cpp | 23 +- test/CXX/special/class.copy/p11.0x.move.cpp | 12 + test/CXX/special/class.copy/p20.cpp | 3 +- test/CXX/special/class.dtor/p5-0x.cpp | 2 +- test/CXX/special/class.dtor/p9.cpp | 37 +- .../special/class.init/class.inhctor.init/p1.cpp | 7 + test/CXX/stmt.stmt/stmt.select/stmt.if/p2.cpp | 5 + test/CXX/temp/temp.arg/temp.arg.nontype/p5.cpp | 108 +- .../temp/temp.decls/temp.class/temp.static/p1.cpp | 2 +- .../temp.deduct/temp.deduct.call/p4.cpp | 37 +- .../temp.deduct/temp.deduct.conv/p4.cpp | 48 +- .../temp.deduct/temp.deduct.conv/p5.cpp | 61 + .../CXX/temp/temp.spec/temp.expl.spec/examples.cpp | 20 +- test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp | 18 +- test/CXX/temp/temp.spec/temp.explicit/p4.cpp | 15 +- test/CodeCompletion/ctor-initializer.cpp | 31 +- test/CodeCompletion/objc-protocol-member-access.m | 24 + test/CodeGen/2009-10-20-GlobalDebug.c | 14 +- test/CodeGen/2010-08-10-DbgConstant.c | 3 +- test/CodeGen/3dnow-builtins.c | 6 +- test/CodeGen/64bit-swiftcall.c | 1007 ++ test/CodeGen/Inputs/opt-record.proftext | 26 + test/CodeGen/address-safety-attr.cpp | 7 +- test/CodeGen/arm-swiftcall.c | 541 +- test/CodeGen/arm-target-features.c | 1 + test/CodeGen/asan-globals.cpp | 15 +- test/CodeGen/attr-mrecip.c | 7 + test/CodeGen/avx-builtins.c | 10 +- test/CodeGen/avx-cmp-builtins.c | 4 +- test/CodeGen/avx-shuffle-builtins.c | 4 +- test/CodeGen/avx2-builtins.c | 6 +- test/CodeGen/avx512-inline-asm-kregisters-basics.c | 11 + test/CodeGen/avx512-kconstraints-att_inline_asm.c | 59 + test/CodeGen/avx512-reduceIntrin.c | 410 + test/CodeGen/avx512-reduceMinMaxIntrin.c | 437 + test/CodeGen/avx512bw-builtins.c | 140 +- test/CodeGen/avx512cdintrin.c | 4 +- test/CodeGen/avx512dq-builtins.c | 216 +- test/CodeGen/avx512er-builtins.c | 64 +- test/CodeGen/avx512f-builtins.c | 872 +- test/CodeGen/avx512ifma-builtins.c | 4 +- test/CodeGen/avx512ifmavl-builtins.c | 2 +- test/CodeGen/avx512pf-builtins.c | 4 +- test/CodeGen/avx512vbmi-builtins.c | 4 +- test/CodeGen/avx512vbmivl-builtin.c | 4 +- test/CodeGen/avx512vl-builtins.c | 888 +- test/CodeGen/avx512vlbw-builtins.c | 811 +- test/CodeGen/avx512vlcd-builtins.c | 4 +- test/CodeGen/avx512vldq-builtins.c | 154 +- test/CodeGen/bitscan-builtins.c | 4 +- test/CodeGen/bmi-builtins.c | 4 +- test/CodeGen/bmi2-builtins.c | 6 +- test/CodeGen/builtin-clflushopt.c | 2 +- test/CodeGen/builtins-mips-msa-error.c | 421 + test/CodeGen/builtins-mips-msa.c | 1409 ++- test/CodeGen/builtins-ms.c | 11 +- test/CodeGen/builtins-nvptx.c | 266 +- test/CodeGen/builtins-ppc-altivec.c | 204 + test/CodeGen/builtins-ppc-p8vector.c | 36 + test/CodeGen/builtins-ppc-p9vector.c | 830 ++ test/CodeGen/builtins-ppc-quadword.c | 8 + test/CodeGen/builtins-ppc-vsx.c | 168 + test/CodeGen/builtins-systemz-zvector-error.c | 33 +- test/CodeGen/builtins-x86-disabled.c | 22 - test/CodeGen/builtins-x86.c | 9 + test/CodeGen/builtins.c | 160 + test/CodeGen/captured-statements-nested.c | 4 +- test/CodeGen/cfi-icall-cross-dso2.c | 11 + test/CodeGen/cleanup-destslot-simple.c | 4 +- test/CodeGen/code-coverage.c | 4 + test/CodeGen/debug-info-atomic.c | 7 + test/CodeGen/debug-info-imported-entity.cpp | 4 +- test/CodeGen/debug-info-packed-struct.c | 20 +- test/CodeGen/debug-info-static.c | 4 +- test/CodeGen/debug-info-vector.c | 2 +- test/CodeGen/denormalfpmode.c | 12 + test/CodeGen/dwarf-version.c | 8 +- test/CodeGen/f16c-builtins.c | 4 +- test/CodeGen/fma-builtins.c | 4 +- test/CodeGen/fma4-builtins.c | 4 +- test/CodeGen/fsgsbase-builtins.c | 4 +- test/CodeGen/lifetime2.c | 78 +- test/CodeGen/lzcnt-builtins.c | 4 +- test/CodeGen/mcount.c | 20 +- test/CodeGen/mmx-builtins.c | 6 +- test/CodeGen/ms-barriers-intrinsics.c | 39 + test/CodeGen/ms-inline-asm.c | 33 +- test/CodeGen/ms-intrinsics-rotations.c | 181 + test/CodeGen/ms-intrinsics.c | 394 +- test/CodeGen/ms-mm-align.c | 2 +- test/CodeGen/ms-volatile-arm.c | 13 + test/CodeGen/ms-x86-intrinsics.c | 74 + test/CodeGen/ms_abi.c | 19 +- test/CodeGen/nobuiltin.c | 14 +- test/CodeGen/noexceptionsfpmath.c | 8 + test/CodeGen/object-size.c | 25 +- test/CodeGen/opt-record.c | 33 + test/CodeGen/overloadable.c | 35 + test/CodeGen/pass-object-size.c | 9 +- test/CodeGen/pclmul-builtins.c | 4 +- test/CodeGen/pgo-sample.c | 3 - test/CodeGen/pku.c | 4 +- test/CodeGen/popcnt-builtins.c | 4 +- test/CodeGen/ppc64-dwarf.c | 129 + test/CodeGen/ppc64-soft-float.c | 171 + test/CodeGen/pr27892.c | 4 +- test/CodeGen/prefetchw-builtins.c | 4 +- test/CodeGen/rd-builtins.c | 4 +- test/CodeGen/rdrand-builtins.c | 4 +- test/CodeGen/regcall.c | 120 + test/CodeGen/rtm-builtins.c | 4 +- test/CodeGen/sanitize-init-order.cpp | 3 +- test/CodeGen/sanitize-thread-attr.cpp | 4 +- test/CodeGen/sha-builtins.c | 4 +- test/CodeGen/split-debug-filename.c | 4 +- test/CodeGen/split-debug-inlining.c | 7 + test/CodeGen/sse-builtins.c | 4 +- test/CodeGen/sse.c | 4 +- test/CodeGen/sse2-builtins.c | 16 +- test/CodeGen/sse3-builtins.c | 4 +- test/CodeGen/sse41-builtins.c | 6 +- test/CodeGen/sse42-builtins.c | 6 +- test/CodeGen/sse4a-builtins.c | 4 +- test/CodeGen/ssse3-builtins.c | 4 +- test/CodeGen/systemz-abi-vector.c | 2 + test/CodeGen/systemz-abi.c | 2 + test/CodeGen/target-data.c | 2 + test/CodeGen/tbm-builtins.c | 4 +- test/CodeGen/temporary-lifetime-exceptions.cpp | 12 +- test/CodeGen/temporary-lifetime.cpp | 48 +- test/CodeGen/ubsan-blacklist.c | 5 +- test/CodeGen/vecshift.c | 162 + test/CodeGen/vector.c | 4 +- test/CodeGen/windows-on-arm-itanium-thread-local.c | 11 + test/CodeGen/windows-on-arm-stack-probe-size.c | 2 +- test/CodeGen/windows-swiftcall.c | 458 + test/CodeGen/wrapv-lshr-sanitize.c | 12 + test/CodeGen/x86-inline-asm-v-constraint.c | 30 + test/CodeGen/x86_32-xsave.c | 20 +- test/CodeGen/x86_64-arguments.c | 18 +- test/CodeGen/x86_64-xsave.c | 20 +- test/CodeGen/x86_inlineasm_curly_bracket_escape.c | 8 + test/CodeGen/xop-builtins.c | 6 +- test/CodeGen/xray-attributes-supported-arm.cpp | 13 + test/CodeGenCUDA/convergent.cu | 4 +- test/CodeGenCUDA/cuda-builtin-vars.cu | 2 +- test/CodeGenCUDA/device-stub.cu | 6 +- test/CodeGenCUDA/device-var-init.cu | 6 +- test/CodeGenCUDA/function-overload.cu | 8 - test/CodeGenCUDA/host-device-calls-host.cu | 32 - test/CodeGenCUDA/nothrow.cu | 39 + test/CodeGenCXX/PR26569.cpp | 6 +- test/CodeGenCXX/alias-available-externally.cpp | 20 + test/CodeGenCXX/arm64.cpp | 36 + test/CodeGenCXX/captured-statements.cpp | 1 + test/CodeGenCXX/catch-undef-behavior.cpp | 8 +- test/CodeGenCXX/compound-literals.cpp | 8 + .../constructor-destructor-return-this.cpp | 2 +- test/CodeGenCXX/copy-constructor-elim-2.cpp | 20 + test/CodeGenCXX/cxx1y-initializer-aggregate.cpp | 2 +- test/CodeGenCXX/cxx1z-aligned-allocation.cpp | 206 + test/CodeGenCXX/cxx1z-constexpr-if.cpp | 13 + test/CodeGenCXX/cxx1z-decomposition.cpp | 118 + test/CodeGenCXX/cxx1z-eval-order.cpp | 271 + test/CodeGenCXX/cxx1z-noexcept-function-type.cpp | 9 + test/CodeGenCXX/debug-info-access.cpp | 2 +- test/CodeGenCXX/debug-info-alias.cpp | 5 +- test/CodeGenCXX/debug-info-anon-namespace.cpp | 3 +- test/CodeGenCXX/debug-info-anon-union-vars.cpp | 2 +- test/CodeGenCXX/debug-info-calling-conventions.cpp | 2 +- test/CodeGenCXX/debug-info-class-nolimit.cpp | 24 +- .../debug-info-codeview-injected-class.cpp | 21 + test/CodeGenCXX/debug-info-cxx1y.cpp | 26 +- .../CodeGenCXX/debug-info-dllimport-base-class.cpp | 53 + test/CodeGenCXX/debug-info-enum-class.cpp | 8 +- test/CodeGenCXX/debug-info-flex-member.cpp | 9 - test/CodeGenCXX/debug-info-indirect-field-decl.cpp | 4 +- test/CodeGenCXX/debug-info-line.cpp | 4 +- test/CodeGenCXX/debug-info-method.cpp | 2 +- test/CodeGenCXX/debug-info-ms-abi.cpp | 13 +- test/CodeGenCXX/debug-info-ms-anonymous-tag.cpp | 3 +- test/CodeGenCXX/debug-info-ms-bitfields.cpp | 2 +- test/CodeGenCXX/debug-info-ms-ptr-to-member.cpp | 7 +- test/CodeGenCXX/debug-info-ms-vbase.cpp | 68 + test/CodeGenCXX/debug-info-namespace.cpp | 4 +- test/CodeGenCXX/debug-info-rvalue-ref.cpp | 2 +- test/CodeGenCXX/debug-info-static-member.cpp | 27 +- ...debug-info-template-explicit-specialization.cpp | 7 +- test/CodeGenCXX/debug-info-template-member.cpp | 7 +- test/CodeGenCXX/debug-info-template-quals.cpp | 4 +- test/CodeGenCXX/debug-info-template.cpp | 21 +- test/CodeGenCXX/debug-info-union.cpp | 2 +- test/CodeGenCXX/debug-info-uuid.cpp | 29 +- test/CodeGenCXX/debug-info-vla.cpp | 20 + test/CodeGenCXX/debug-info-zero-length-arrays.cpp | 1 - test/CodeGenCXX/debug-info.cpp | 9 +- test/CodeGenCXX/debug-lambda-expressions.cpp | 10 +- test/CodeGenCXX/debug-lambda-this.cpp | 4 +- test/CodeGenCXX/default-arg-temps.cpp | 9 +- .../devirtualize-virtual-function-calls-final.cpp | 16 + test/CodeGenCXX/dllimport-members.cpp | 2 +- test/CodeGenCXX/dllimport.cpp | 13 +- test/CodeGenCXX/empty-classes.cpp | 21 + test/CodeGenCXX/inline-dllexport-member.cpp | 7 +- test/CodeGenCXX/mangle-abi-tag.cpp | 29 + test/CodeGenCXX/mangle-exception-spec.cpp | 49 + test/CodeGenCXX/mangle-lambdas.cpp | 10 + test/CodeGenCXX/mangle.cpp | 14 + test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp | 48 +- test/CodeGenCXX/microsoft-abi-structors.cpp | 2 +- .../microsoft-abi-virtual-inheritance.cpp | 2 +- ...iple-nonvirtual-inheritance-this-adjustment.cpp | 23 + test/CodeGenCXX/microsoft-uuidof.cpp | 8 + test/CodeGenCXX/modules-ts.cppm | 20 + test/CodeGenCXX/ms-inline-asm-return.cpp | 10 +- test/CodeGenCXX/ms-thread_local.cpp | 5 + test/CodeGenCXX/new-array-init.cpp | 84 +- test/CodeGenCXX/nrvo.cpp | 4 +- test/CodeGenCXX/pr30731.cpp | 21 + test/CodeGenCXX/pragma-loop-distribute.cpp | 23 + test/CodeGenCXX/pragma-loop-safety.cpp | 24 +- test/CodeGenCXX/regcall.cpp | 97 + test/CodeGenCXX/rtti-mingw64.cpp | 13 + test/CodeGenCXX/rtti-qualfn.cpp | 51 + test/CodeGenCXX/switch-case-folding-2.cpp | 82 +- test/CodeGenCXX/ubsan-devirtualized-calls.cpp | 81 + test/CodeGenCXX/virtual-function-calls.cpp | 7 +- test/CodeGenCXX/vla-lambda-capturing.cpp | 4 +- test/CodeGenCXX/windows-itanium-dllexport.cpp | 9 + test/CodeGenCXX/windows-itanium-type-info.cpp | 13 + test/CodeGenCoroutines/coro-alloc.cpp | 114 + test/CodeGenCoroutines/coro-builtins-err.c | 10 + test/CodeGenCoroutines/coro-builtins.c | 56 + .../microsoft-abi-operator-coawait.cpp | 25 + test/CodeGenObjC/arc-linetable-autorelease.m | 5 +- test/CodeGenObjC/block-byref-debuginfo.m | 1 - test/CodeGenObjC/boxing.m | 12 +- test/CodeGenObjC/complex-property.m | 4 +- test/CodeGenObjC/debug-info-block-type.m | 2 +- test/CodeGenObjC/debug-info-ivars-extension.m | 4 +- test/CodeGenObjC/debug-info-ivars-private.m | 4 +- test/CodeGenObjC/debug-info-ivars.m | 8 +- test/CodeGenObjC/encode-cstyle-method.m | 2 +- test/CodeGenObjC/encode-test-6.m | 8 +- test/CodeGenObjC/encode-test.m | 2 +- test/CodeGenObjC/exceptions.m | 2 +- test/CodeGenObjC/fragile-arc.m | 8 +- test/CodeGenObjC/ivar-layout-64.m | 40 +- test/CodeGenObjC/metadata-symbols-32.m | 8 +- test/CodeGenObjC/metadata-symbols-64.m | 8 +- test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m | 2 +- test/CodeGenObjC/nsvalue-objc-boxable-ios.m | 2 +- test/CodeGenObjC/nsvalue-objc-boxable-mac-arc.m | 2 +- test/CodeGenObjC/nsvalue-objc-boxable-mac.m | 2 +- test/CodeGenObjC/objc-asm-attribute-test.m | 6 +- test/CodeGenObjC/os_log.m | 39 + test/CodeGenObjC/property-list-in-extension.m | 10 +- test/CodeGenObjC/protocol-comdat.m | 20 + test/CodeGenObjC/reorder-synthesized-ivars.m | 36 +- test/CodeGenObjC/runtime-abi-match.m | 25 + test/CodeGenObjC/section-name.m | 45 + test/CodeGenObjC/ubsan-array-bounds.m | 59 + test/CodeGenObjC/unqual-copy-restore.m | 14 + test/CodeGenObjCXX/arc-blocks.mm | 2 +- test/CodeGenObjCXX/arc-constexpr.mm | 18 + test/CodeGenObjCXX/debug-info-cyclic.mm | 2 +- test/CodeGenObjCXX/encode.mm | 23 +- test/CodeGenObjCXX/exceptions-legacy.mm | 8 +- test/CodeGenObjCXX/lambda-expressions.mm | 40 +- test/CodeGenObjCXX/property-object-reference-2.mm | 2 +- test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl | 66 + test/CodeGenOpenCL/amdgpu-attrs.cl | 166 + test/CodeGenOpenCL/amdgpu-num-gpr-attr.cl | 48 - test/CodeGenOpenCL/as_type.cl | 39 + test/CodeGenOpenCL/builtins-amdgcn-error.cl | 46 + test/CodeGenOpenCL/builtins-amdgcn.cl | 68 + test/CodeGenOpenCL/cast_image.cl | 18 + test/CodeGenOpenCL/cl20-device-side-enqueue.cl | 12 +- test/CodeGenOpenCL/convergent.cl | 118 + test/CodeGenOpenCL/denorms-are-zero.cl | 16 +- test/CodeGenOpenCL/fpmath.cl | 20 +- test/CodeGenOpenCL/kernel-arg-info.cl | 20 +- test/CodeGenOpenCL/partial_initializer.cl | 66 + test/CodeGenOpenCL/pipe_builtin.cl | 52 +- test/CodeGenOpenCL/pipe_types.cl | 4 +- test/CodeGenOpenCL/private-array-initialization.cl | 9 + test/CodeGenOpenCL/size_t.cl | 110 + test/CodeGenOpenCL/to_addr_builtin.cl | 28 +- test/CoverageMapping/if.c | 28 - test/CoverageMapping/if.cpp | 39 + test/CoverageMapping/macroception.c | 6 - test/CoverageMapping/macros.c | 23 +- test/CoverageMapping/switch.c | 73 - test/CoverageMapping/switch.cpp | 83 + test/CoverageMapping/switchmacro.c | 2 +- ...compute_20.10.bc => libdevice.compute_30.10.bc} | 0 .../cuda/nvvm/libdevice/libdevice.compute_30.10.bc | 0 .../cuda/nvvm/libdevice/libdevice.compute_50.10.bc | 0 .../usr/local/cuda => basic_myriad_tree}/bin/.keep | 0 .../etc/env.d/gcc/config-x86_64-pc-linux-gnu | 1 + .../etc/env.d/gcc/x86_64-pc-linux-gnu-4.9.3 | 10 + .../etc/gentoo-release | 1 + .../usr/include}/.keep | 0 .../lib/gcc/x86_64-pc-linux-gnu/4.9.3}/crtbegin.o | 0 .../4.9.3/include/g++-v4.9.3}/.keep | 0 .../lib/gcc/x86_64-pc-linux-gnu/5.4.0}/crtbegin.o | 0 .../5.4.0/include/g++-v5.4.0}/.keep | 0 .../usr/x86_64-pc-linux-gnu/lib}/.keep | 0 .../local/cuda => hexagon_tree/Tools}/bin/.keep | 0 test/Driver/Inputs/hexagon_tree/Tools/bin/readme | 4 + test/Driver/Inputs/hexagon_tree/Tools/readme | 4 + .../cuda/bin => hexagon_tree/Tools/target}/.keep | 0 .../Tools/target/hexagon/include/c++/readme | 4 + .../Tools/target/hexagon/include/readme | 4 + .../hexagon_tree/Tools/target/hexagon/readme | 4 + .../Driver/Inputs/hexagon_tree/Tools/target/readme | 4 + .../Driver/Inputs/rewrite-1.map | 0 .../Driver/Inputs/rewrite-2.map | 0 .../__init__.py => test/Driver/Inputs/rewrite.map | 0 test/Driver/XRay/lit.local.cfg | 2 + test/Driver/XRay/xray-instrument-cpu.c | 4 + test/Driver/XRay/xray-instrument-os.c | 4 + test/Driver/aarch64-cpus.c | 22 + test/Driver/android-aarch64-link.cpp | 17 + test/Driver/arm-cortex-cpus.c | 35 + test/Driver/cl-link.c | 3 + test/Driver/cl-options.c | 44 +- test/Driver/cl-outputs.c | 2 + test/Driver/cl-pch-errorhandling.cpp | 2 +- test/Driver/cl-pch-search.cpp | 2 +- test/Driver/cl-pch-showincludes.cpp | 10 +- test/Driver/cl-pch.c | 57 +- test/Driver/cl-pch.cpp | 6 +- test/Driver/clang-g-opts.c | 5 +- test/Driver/clang-offload-bundler.c | 260 + test/Driver/clang-offload-bundler.c.o | Bin 0 -> 1921 bytes test/Driver/clang_f_opts.c | 13 +- test/Driver/cloudabi.c | 10 +- test/Driver/cloudabi.cpp | 12 +- test/Driver/coroutines.c | 6 + test/Driver/coroutines.cpp | 9 + test/Driver/coverage_no_integrated_as.c | 8 +- test/Driver/cuda-bad-arch.cu | 5 + test/Driver/cuda-bindings.cu | 137 + test/Driver/cuda-detect.cu | 72 +- test/Driver/cuda-no-sanitizers.cu | 12 + test/Driver/cuda-output-asm.cu | 6 +- test/Driver/cuda-phases.cu | 231 +- test/Driver/cuda-simple.cu | 2 +- test/Driver/darwin-debug-flags.c | 2 +- test/Driver/darwin-ld-dedup.c | 46 + test/Driver/darwin-ld-lto.c | 18 +- test/Driver/darwin-stdlib.cpp | 4 + test/Driver/debug-options.c | 92 +- test/Driver/denormal-fp-math.c | 12 + test/Driver/esan.c | 4 + test/Driver/fast-math.c | 4 + test/Driver/frame-pointer-elim.c | 29 + test/Driver/fsanitize-blacklist.c | 2 +- test/Driver/fsanitize-coverage.c | 12 +- test/Driver/fsanitize.c | 17 +- test/Driver/fuchsia.c | 40 + test/Driver/fuchsia.cpp | 33 + test/Driver/gold-lto-sections.c | 8 + test/Driver/hexagon-long-calls.c | 15 + test/Driver/linux-header-search.cpp | 9 + test/Driver/linux-ld.c | 12 + test/Driver/lto-jobs.c | 11 + test/Driver/mips-cs.cpp | 2 + test/Driver/mips-fsf.cpp | 2 + test/Driver/mips-img-v2.cpp | 2 + test/Driver/mips-img.cpp | 2 + test/Driver/modules-ts.cpp | 38 + test/Driver/modules.m | 11 + test/Driver/montavista-gcc-toolchain.c | 2 +- test/Driver/myriad-toolchain.c | 17 +- test/Driver/offloading-interoperability.c | 2 +- test/Driver/opencl.cl | 2 + test/Driver/openmp-offload.c | 589 ++ test/Driver/opt-record.c | 18 + test/Driver/ppc-dependent-options.cpp | 22 +- test/Driver/ppc-features.cpp | 26 +- test/Driver/print-libgcc-file-name-clangrt.c | 11 + test/Driver/print-libgcc-file-name-libgcc.c | 7 + test/Driver/response-file-extra-whitespace.c | 2 +- test/Driver/rewrite-map-files.c | 2 + test/Driver/ropi-rwpi.c | 38 + test/Driver/sanitizer-ld.c | 33 +- test/Driver/save-stats.c | 20 + test/Driver/show-option-names.c | 7 + test/Driver/split-debug.c | 32 +- test/Driver/sysroot.c | 2 + test/Driver/systemz-march.c | 10 + test/Driver/warning-options.cpp | 4 +- test/Format/remove-duplicate-includes.cpp | 14 + test/Frontend/Inputs/absolute-paths.h | 3 + .../optimization-remark-with-hotness.proftext | 25 + test/Frontend/absolute-paths.c | 17 + test/Frontend/gnu-mcount.c | 64 +- test/Frontend/optimization-remark-with-hotness.c | 45 + test/Frontend/stats-file.c | 8 + test/Headers/ms-intrin.cpp | 6 +- test/Headers/stdatomic.c | 32 + test/Headers/x86intrin.cpp | 11 + test/Index/Core/designated-inits.c | 33 + test/Index/Core/index-source.cpp | 18 + test/Index/Core/index-source.m | 24 + test/Index/Core/index-subkinds.m | 10 +- test/Index/complete-block-property-assignment.m | 68 + test/Index/pr20320.cpp | 2 + test/Index/pr20320.h | 14 + test/Lexer/coroutines.cpp | 2 +- test/Lexer/cxx-features.cpp | 112 +- test/Misc/amdgcn.languageOptsOpenCL.cl | 19 +- test/Misc/ast-print-objectivec.m | 6 + test/Misc/backend-optimization-failure-nodbg.cpp | 4 +- test/Misc/backend-optimization-failure.cpp | 4 +- test/Misc/diag-template-diffing.cpp | 35 + test/Misc/warning-flags.c | 3 +- test/Modules/ExtDebugInfo.cpp | 46 +- test/Modules/ExtDebugInfo.m | 20 +- test/Modules/Inputs/DebugCXX.h | 6 + test/Modules/Inputs/DebugNestedA.h | 8 + test/Modules/Inputs/DebugNestedB.h | 7 + .../Headers/NeedsGNUInlineAsm.h | 1 + .../NeedsGNUInlineAsm.framework/Headers/asm.h | 1 + .../GNUAsm/NeedsGNUInlineAsm.framework/module.map | 8 + test/Modules/Inputs/PR28438/a.h | 1 + test/Modules/Inputs/PR28438/b1.h | 2 + .../Modules/Inputs/PR28438/b2.h | 0 test/Modules/Inputs/PR28438/module.modulemap | 2 + test/Modules/Inputs/PR28752/Subdir1/b.h | 4 + test/Modules/Inputs/PR28752/Subdir1/c.h | 2 + .../Inputs/PR28752/Subdir1/module.modulemap | 5 + test/Modules/Inputs/PR28752/a.h | 1 + test/Modules/Inputs/PR28752/module.modulemap | 1 + test/Modules/Inputs/PR28752/vector | 28 + test/Modules/Inputs/PR28794/LibAHeader.h | 12 + .../{PR27041/Rtypes.h => PR28794/Subdir/Empty.h} | 0 test/Modules/Inputs/PR28794/Subdir/LibBHeader.h | 12 + test/Modules/Inputs/PR28794/module.modulemap | 3 + test/Modules/Inputs/PR28812/Textual.h | 11 + test/Modules/Inputs/PR28812/a.h | 1 + test/Modules/Inputs/PR28812/b.h | 1 + test/Modules/Inputs/PR28812/module.modulemap | 6 + test/Modules/Inputs/libc-libcxx/include/c++/math.h | 2 + .../libc-libcxx/include/c++/module.modulemap | 4 + .../Inputs/libc-libcxx/include/c++/stdlib.h | 1 + test/Modules/Inputs/libc-libcxx/include/math.h | 1 + .../Inputs/libc-libcxx/include/module.modulemap | 4 + test/Modules/Inputs/libc-libcxx/include/stdlib.h | 1 + .../sysroot/Frameworks/A.framework/Headers/A.h | 15 + .../sysroot/Frameworks/A.framework/Headers/int.h | 14 + .../A.framework/Modules/module.modulemap | 4 + .../sysroot/usr/include/c++/v1/__config | 6 + .../libc-libcxx/sysroot/usr/include/c++/v1/math.h | 7 + .../sysroot/usr/include/c++/v1/module.modulemap | 10 + .../sysroot/usr/include/c++/v1/stddef.h | 6 + .../sysroot/usr/include/c++/v1/stdint.h | 6 + .../libc-libcxx/sysroot/usr/include/c++/v1/stdio.h | 6 + .../sysroot/usr/include/c++/v1/stdlib.h | 6 + .../Inputs/libc-libcxx/sysroot/usr/include/math.h | 1 + .../sysroot/usr/include/module.modulemap | 8 + .../libc-libcxx/sysroot/usr/include/stddef.h | 1 + .../libc-libcxx/sysroot/usr/include/stdint.h | 22 + .../Inputs/libc-libcxx/sysroot/usr/include/stdio.h | 4 + .../libc-libcxx/sysroot/usr/include/stdlib.h | 1 + .../Inputs/libc-libcxx/sysroot/usr/include/util.h | 6 + test/Modules/Inputs/lookup-assert/Base.h | 3 + test/Modules/Inputs/lookup-assert/Derive.h | 3 + test/Modules/Inputs/lookup-assert/H3.h | 1 + test/Modules/Inputs/lookup-assert/module.map | 4 + test/Modules/Inputs/merge-decl-context/a.h | 1 + test/Modules/Inputs/merge-fn-prototype-tags/a.h | 2 + test/Modules/Inputs/merge-fn-prototype-tags/b.h | 1 + test/Modules/Inputs/merge-fn-prototype-tags/c.h | 4 + .../merge-fn-prototype-tags/module.modulemap | 5 + .../Inputs/merge-template-pattern-visibility/a.h | 1 + .../Inputs/merge-template-pattern-visibility/b.h | 11 + .../Inputs/merge-template-pattern-visibility/c.h | 9 + .../Inputs/merge-template-pattern-visibility/d.h | 1 + .../module.modulemap | 4 + .../Inputs/merge-template-specializations/a.h | 1 + .../Inputs/merge-template-specializations/b.h | 2 + .../Inputs/merge-template-specializations/c.h | 3 + .../module.modulemap | 0 test/Modules/Inputs/merge-var-template-def/a.h | 8 + test/Modules/Inputs/merge-var-template-def/b1.h | 9 + test/Modules/Inputs/merge-var-template-def/b2.h | 9 + .../Inputs/merge-var-template-def/module.modulemap | 5 + test/Modules/Inputs/module.map | 10 + test/Modules/Inputs/objc-category-2/Base.h | 3 + test/Modules/Inputs/objc-category-2/Category.h | 4 + test/Modules/Inputs/objc-category-2/H3.h | 1 + test/Modules/Inputs/objc-category-2/module.map | 4 + test/Modules/Inputs/objc-category-3/Base.h | 2 + test/Modules/Inputs/objc-category-3/Category.h | 4 + test/Modules/Inputs/objc-category-3/Category_B.h | 4 + test/Modules/Inputs/objc-category-3/H3.h | 1 + test/Modules/Inputs/objc-category-3/module.map | 4 + test/Modules/Inputs/objc-category/Base.h | 2 + test/Modules/Inputs/objc-category/Category.h | 4 + test/Modules/Inputs/objc-category/H3.h | 1 + test/Modules/Inputs/objc-category/module.map | 4 + .../Headers/FakeUnavailableObjCFramework.h | 7 + .../Modules/module.modulemap | 5 + test/Modules/Inputs/objc-hidden/System/X.h | 5 + test/Modules/Inputs/objc-hidden/System/module.map | 4 + test/Modules/Inputs/objc-initializer/X.h | 3 + .../Inputs/objc-initializer/module.modulemap | 7 + test/Modules/Inputs/objc-method-redecl.h | 4 + .../{DiagOutOfDate.h => prebuilt-module/a.h} | 0 .../Inputs/prebuilt-module/module.modulemap | 1 + test/Modules/Inputs/static_assert/a.h | 3 + .../module.map => static_assert/module.modulemap} | 0 test/Modules/Inputs/templates-left.h | 2 + test/Modules/Inputs/templates-right.h | 2 + test/Modules/Inputs/templates-top.h | 5 + test/Modules/ModuleDebugInfo.cpp | 12 +- test/Modules/ModuleDebugInfo.m | 2 +- test/Modules/ModuleModuleDebugInfo.cpp | 18 + test/Modules/compiler_builtins.m | 1 + test/Modules/compiler_builtins_x86.c | 7 + test/Modules/crash-vfs-run-reproducer.m | 1 + test/Modules/cstd.m | 2 +- test/Modules/cxx-templates.cpp | 8 +- test/Modules/dependency-dump-dependent-module.m | 6 - test/Modules/empty.modulemap | 1 - test/Modules/explicit-build-extra-files.cpp | 2 - test/Modules/explicit-build.cpp | 4 +- test/Modules/global-init.cpp | 19 + test/Modules/incomplete-module.m | 2 +- test/Modules/lambda-context.cpp | 22 + test/Modules/libc-libcxx.cpp | 10 + test/Modules/lookup-assert.m | 10 + test/Modules/merge-fn-prototype-tags.c | 8 + test/Modules/merge-name-for-linkage.cpp | 1 + test/Modules/merge-template-pattern-visibility.cpp | 18 +- test/Modules/merge-template-specializations.cpp | 5 + test/Modules/merge-var-template-def.cpp | 7 + test/Modules/module-file-modified.c | 11 + test/Modules/module_file_info.m | 11 +- test/Modules/no-stale-modtime.m | 14 +- test/Modules/objc-category-2.m | 12 + test/Modules/objc-category-3.m | 14 + test/Modules/objc-category.m | 13 + test/Modules/objc-hidden.m | 11 + test/Modules/objc-initializer.m | 15 + test/Modules/objc-method-redecl.m | 8 + test/Modules/pr28438.cpp | 7 + test/Modules/pr28752.cpp | 22 + test/Modules/pr28812.cpp | 22 + test/Modules/prebuilt-module.m | 10 + test/Modules/prune.m | 7 +- test/Modules/requires-gnuinlineasm.m | 16 + test/Modules/signal.m | 2 +- test/Modules/static_assert.cpp | 8 + test/Modules/templates.mm | 7 +- test/Modules/umbrella-header-include-builtin.mm | 6 + test/OpenMP/atomic_capture_codegen.cpp | 1 - test/OpenMP/atomic_update_codegen.cpp | 1 - test/OpenMP/barrier_codegen.cpp | 1 - test/OpenMP/cancel_codegen.cpp | 1 - test/OpenMP/cancellation_point_codegen.cpp | 1 - test/OpenMP/critical_codegen.cpp | 1 - test/OpenMP/debug-info-openmp-array.cpp | 13 + test/OpenMP/declare_simd_codegen.cpp | 1 - .../distribute_parallel_for_reduction_messages.cpp | 8 + ...stribute_parallel_for_simd_aligned_messages.cpp | 3 +- ...ribute_parallel_for_simd_reduction_messages.cpp | 8 + test/OpenMP/distribute_simd_aligned_messages.cpp | 3 +- test/OpenMP/distribute_simd_reduction_messages.cpp | 8 + test/OpenMP/flush_codegen.cpp | 1 - test/OpenMP/for_codegen.cpp | 1 - test/OpenMP/for_firstprivate_codegen.cpp | 1 - test/OpenMP/for_lastprivate_codegen.cpp | 1 - test/OpenMP/for_linear_codegen.cpp | 1 - test/OpenMP/for_private_codegen.cpp | 1 - test/OpenMP/for_reduction_codegen.cpp | 5 +- test/OpenMP/for_reduction_codegen_UDR.cpp | 5 +- test/OpenMP/for_reduction_messages.cpp | 7 + test/OpenMP/for_simd_aligned_messages.cpp | 3 +- test/OpenMP/for_simd_codegen.cpp | 1 - test/OpenMP/for_simd_reduction_messages.cpp | 7 + test/OpenMP/master_codegen.cpp | 1 - test/OpenMP/nesting_of_regions.cpp | 6517 +++++++----- test/OpenMP/ordered_codegen.cpp | 1 - test/OpenMP/ordered_doacross_codegen.cpp | 1 - test/OpenMP/parallel_codegen.cpp | 1 - test/OpenMP/parallel_for_codegen.cpp | 1 - test/OpenMP/parallel_for_linear_codegen.cpp | 1 - test/OpenMP/parallel_for_reduction_messages.cpp | 6 + test/OpenMP/parallel_for_simd_aligned_messages.cpp | 3 +- test/OpenMP/parallel_for_simd_codegen.cpp | 1 - .../parallel_for_simd_reduction_messages.cpp | 6 + test/OpenMP/parallel_private_codegen.cpp | 1 - test/OpenMP/parallel_reduction_codegen.cpp | 1 - test/OpenMP/parallel_reduction_messages.cpp | 5 + test/OpenMP/parallel_sections_codegen.cpp | 1 - .../parallel_sections_reduction_messages.cpp | 7 + test/OpenMP/sections_codegen.cpp | 1 - test/OpenMP/sections_firstprivate_codegen.cpp | 1 - test/OpenMP/sections_lastprivate_codegen.cpp | 1 - test/OpenMP/sections_private_codegen.cpp | 1 - test/OpenMP/sections_reduction_codegen.cpp | 1 - test/OpenMP/sections_reduction_messages.cpp | 8 + test/OpenMP/simd_aligned_messages.cpp | 3 +- test/OpenMP/simd_codegen.cpp | 1 - test/OpenMP/simd_reduction_messages.cpp | 6 + test/OpenMP/single_codegen.cpp | 1 - test/OpenMP/single_firstprivate_codegen.cpp | 1 - test/OpenMP/single_private_codegen.cpp | 1 - test/OpenMP/target_firstprivate_codegen.cpp | 2 +- test/OpenMP/target_map_codegen.cpp | 6 +- test/OpenMP/target_map_messages.cpp | 12 + .../target_parallel_for_reduction_messages.cpp | 6 + .../target_parallel_for_simd_aligned_messages.cpp | 3 +- ...target_parallel_for_simd_reduction_messages.cpp | 6 + test/OpenMP/target_parallel_reduction_messages.cpp | 5 + test/OpenMP/target_simd_aligned_messages.cpp | 3 +- test/OpenMP/target_simd_reduction_messages.cpp | 6 + test/OpenMP/task_codegen.cpp | 1 - test/OpenMP/task_firstprivate_codegen.cpp | 1 - test/OpenMP/task_if_codegen.cpp | 1 - test/OpenMP/task_private_codegen.cpp | 1 - test/OpenMP/taskgroup_codegen.cpp | 1 - test/OpenMP/taskloop_codegen.cpp | 1 - test/OpenMP/taskloop_firstprivate_codegen.cpp | 1 - test/OpenMP/taskloop_lastprivate_codegen.cpp | 1 - test/OpenMP/taskloop_private_codegen.cpp | 1 - test/OpenMP/taskloop_simd_aligned_messages.cpp | 3 +- test/OpenMP/taskloop_simd_codegen.cpp | 1 - test/OpenMP/taskloop_simd_firstprivate_codegen.cpp | 1 - test/OpenMP/taskloop_simd_lastprivate_codegen.cpp | 1 - test/OpenMP/taskloop_simd_private_codegen.cpp | 1 - test/OpenMP/taskwait_codegen.cpp | 1 - test/OpenMP/taskyield_codegen.cpp | 1 - test/OpenMP/teams_distribute_ast_print.cpp | 179 + test/OpenMP/teams_distribute_collapse_messages.cpp | 150 + test/OpenMP/teams_distribute_default_messages.cpp | 30 + .../teams_distribute_dist_schedule_messages.cpp | 104 + .../teams_distribute_firstprivate_messages.cpp | 152 + .../teams_distribute_lastprivate_messages.cpp | 272 + test/OpenMP/teams_distribute_loop_messages.cpp | 716 ++ .../OpenMP/teams_distribute_num_teams_messages.cpp | 111 + test/OpenMP/teams_distribute_private_messages.cpp | 146 + .../OpenMP/teams_distribute_reduction_messages.cpp | 309 + test/OpenMP/teams_distribute_shared_messages.cpp | 133 + .../teams_distribute_simd_aligned_messages.cpp | 271 + test/OpenMP/teams_distribute_simd_ast_print.cpp | 239 + .../teams_distribute_simd_collapse_messages.cpp | 150 + .../teams_distribute_simd_default_messages.cpp | 30 + ...eams_distribute_simd_dist_schedule_messages.cpp | 104 + ...teams_distribute_simd_firstprivate_messages.cpp | 152 + .../teams_distribute_simd_lastprivate_messages.cpp | 272 + .../teams_distribute_simd_linear_messages.cpp | 293 + .../OpenMP/teams_distribute_simd_loop_messages.cpp | 716 ++ test/OpenMP/teams_distribute_simd_messages.cpp | 109 + .../teams_distribute_simd_num_teams_messages.cpp | 111 + .../teams_distribute_simd_private_messages.cpp | 146 + .../teams_distribute_simd_reduction_messages.cpp | 303 + .../teams_distribute_simd_safelen_messages.cpp | 155 + .../teams_distribute_simd_shared_messages.cpp | 127 + .../teams_distribute_simd_simdlen_messages.cpp | 155 + ...teams_distribute_simd_thread_limit_messages.cpp | 111 + .../teams_distribute_thread_limit_messages.cpp | 111 + test/OpenMP/teams_reduction_messages.cpp | 6 + test/OpenMP/threadprivate_ast_print.cpp | 1 - test/OpenMP/threadprivate_codegen.cpp | 2 +- test/PCH/cxx11-lambdas.mm | 7 + test/PCH/cxx1y-default-initializer.cpp | 27 +- test/PCH/cxx1z-aligned-alloc.cpp | 35 + test/PCH/cxx1z-decomposition.cpp | 32 + test/PCH/debug-info-pch-path.c | 2 - test/PCH/no-validate-pch.cl | 39 + test/PCH/pragma-cuda-force-host-device.cu | 27 + test/Parser/MicrosoftExtensions.c | 9 + test/Parser/MicrosoftExtensions.cpp | 4 + test/Parser/backtrack-off-by-one.cpp | 17 + test/Parser/cuda-force-host-device-templates.cu | 40 + test/Parser/cuda-force-host-device.cu | 36 + test/Parser/cxx-modules-import.cpp | 58 + test/Parser/cxx-modules-interface.cppm | 32 + test/Parser/cxx1z-coroutines.cpp | 2 +- test/Parser/cxx1z-decomposition.cpp | 17 +- test/Parser/cxx1z-fold-expressions.cpp | 7 + test/Parser/lambda-attr.cu | 42 + test/Parser/ms-inline-asm.c | 8 +- test/Parser/ms-square-bracket-attributes.mm | 174 + test/Parser/objc-available.m | 2 - test/Preprocessor/aarch64-target-features.c | 1 + test/Preprocessor/arm-target-features.c | 9 + test/Preprocessor/cuda-approx-transcendentals.cu | 6 +- test/Preprocessor/cuda-preprocess.cu | 8 +- test/Preprocessor/cuda-types.cu | 45 +- test/Preprocessor/header_is_main_file.c | 8 + test/Preprocessor/init.c | 123 +- test/Preprocessor/missing-include-range-check.h | 8 + test/Preprocessor/pragma_microsoft.c | 28 + test/Preprocessor/predefined-arch-macros.c | 9 + test/Profile/c-linkage-available_externally.c | 2 +- test/Profile/cxx-stmt-initializers.cpp | 29 + test/Sema/MicrosoftExtensions.c | 2 + test/Sema/address-packed-member-memops.c | 26 + test/Sema/address-packed.c | 198 + test/Sema/arm-interrupt-attr.c | 3 + test/Sema/attr-availability.c | 2 +- test/Sema/attr-naked.c | 18 + test/Sema/attr-selectany.c | 8 + test/Sema/attr-swiftcall.c | 5 +- test/Sema/bitfield.c | 2 +- test/Sema/builtin-alloca-with-align.c | 33 + test/Sema/builtin-unary-fp.c | 1 + test/Sema/builtins-x86.c | 8 +- test/Sema/builtins-x86_64.c | 60 + test/Sema/compound-literal.c | 8 +- test/Sema/constant-conversion.c | 20 +- test/Sema/enable_if.c | 21 + test/Sema/format-strings-enum.c | 16 + test/Sema/format-strings.c | 40 + test/Sema/generic-selection.c | 10 +- test/Sema/implicit-intel-builtin-decl.c | 40 + test/Sema/implicit-ms-builtin-decl.c | 44 + test/Sema/initialize-noreturn.c | 11 + test/Sema/negative-shift-wrapv.c | 9 + test/Sema/no-warn-unused-const-variables.c | 4 + test/Sema/overloadable.c | 31 +- test/Sema/pass-object-size.c | 2 +- test/Sema/pr30372.c | 12 + test/Sema/shift.c | 11 + test/Sema/transparent-union.c | 9 + test/Sema/varargs.c | 20 +- test/Sema/vecshift.c | 99 + test/Sema/vector-cast.c | 9 +- test/Sema/warn-documentation-unknown-command.cpp | 4 + test/Sema/warn-documentation.cpp | 95 + test/SemaCUDA/Inputs/cuda.h | 7 + test/SemaCUDA/amdgpu-attrs.cu | 110 + test/SemaCUDA/amdgpu-num-gpr-attr.cu | 14 - test/SemaCUDA/bad-attributes.cu | 11 + test/SemaCUDA/bad-calls-on-same-line.cu | 40 + test/SemaCUDA/call-device-fn-from-host.cu | 85 + test/SemaCUDA/call-host-fn-from-device.cu | 140 + test/SemaCUDA/call-overloaded-destructor.cu | 17 - test/SemaCUDA/call-stack-for-deferred-err.cu | 18 + test/SemaCUDA/cuda-builtin-vars.cu | 12 +- test/SemaCUDA/device-var-init.cu | 18 +- test/SemaCUDA/exceptions.cu | 55 + test/SemaCUDA/extern-shared.cu | 23 + test/SemaCUDA/function-overload.cu | 97 +- test/SemaCUDA/global-initializers-host.cu | 32 + test/SemaCUDA/gnu-inline.cu | 10 + test/SemaCUDA/implicit-device-lambda.cu | 106 + test/SemaCUDA/method-target.cu | 10 +- test/SemaCUDA/no-call-stack-for-immediate-errs.cu | 17 + test/SemaCUDA/no-destructor-overload.cu | 33 + test/SemaCUDA/overloaded-delete.cu | 46 +- test/SemaCUDA/reference-to-kernel-fn.cu | 29 + test/SemaCUDA/target_attr_inheritance.cu | 29 + test/SemaCUDA/trace-through-global.cu | 48 + test/SemaCUDA/vla.cu | 25 + test/SemaCXX/MicrosoftCompatibility.cpp | 11 + test/SemaCXX/MicrosoftExtensions.cpp | 19 +- test/SemaCXX/PR25848.cpp | 16 + test/SemaCXX/PR29152.cpp | 15 + test/SemaCXX/address-packed-member-memops.cpp | 28 + test/SemaCXX/address-packed.cpp | 114 + test/SemaCXX/ambig-user-defined-conversions.cpp | 5 + test/SemaCXX/attr-gnu.cpp | 16 + test/SemaCXX/attr-no-sanitize-address.cpp | 3 - test/SemaCXX/attr-no-sanitize.cpp | 2 - test/SemaCXX/attr-noreturn.cpp | 2 +- .../attr-require-constant-initialization.cpp | 282 + test/SemaCXX/attr-swiftcall.cpp | 4 +- test/SemaCXX/compare.cpp | 3 +- test/SemaCXX/composite-pointer-type.cpp | 4 +- test/SemaCXX/compound-literal.cpp | 10 + test/SemaCXX/conditional-expr.cpp | 2 +- test/SemaCXX/constant-expression-cxx11.cpp | 16 +- test/SemaCXX/constant-expression-cxx1z.cpp | 14 + test/SemaCXX/constexpr-value-init.cpp | 9 + test/SemaCXX/conversion-function.cpp | 6 +- test/SemaCXX/copy-initialization.cpp | 11 +- test/SemaCXX/coreturn.cpp | 73 + test/SemaCXX/coroutines.cpp | 155 +- test/SemaCXX/cxx0x-defaulted-functions.cpp | 88 +- test/SemaCXX/cxx0x-initializer-constructor.cpp | 5 +- test/SemaCXX/cxx11-ast-print.cpp | 8 + test/SemaCXX/cxx11-inheriting-ctors.cpp | 32 +- test/SemaCXX/cxx1y-variable-templates_in_class.cpp | 8 +- .../SemaCXX/cxx1y-variable-templates_top_level.cpp | 6 +- test/SemaCXX/cxx1z-decomposition.cpp | 55 +- test/SemaCXX/cxx1z-noexcept-function-type.cpp | 99 + test/SemaCXX/cxx98-compat-flags.cpp | 2 +- test/SemaCXX/cxx98-compat-pedantic.cpp | 6 +- test/SemaCXX/cxx98-compat.cpp | 4 +- test/SemaCXX/deprecated.cpp | 6 +- test/SemaCXX/derived-to-base-ambig.cpp | 4 +- test/SemaCXX/designated-initializers.cpp | 31 + test/SemaCXX/elaborated-type-specifier.cpp | 9 + test/SemaCXX/enable_if.cpp | 23 + test/SemaCXX/friend.cpp | 9 + test/SemaCXX/friend2.cpp | 172 + test/SemaCXX/function-redecl-2.cpp | 19 + test/SemaCXX/libstdcxx_libcxx_less_hack.cpp | 67 + test/SemaCXX/libstdcxx_pair_swap_hack.cpp | 24 +- test/SemaCXX/member-pointer-ms.cpp | 8 + test/SemaCXX/modules-ts.cppm | 83 + test/SemaCXX/ms-uuid.cpp | 95 + test/SemaCXX/nested-name-spec.cpp | 18 + test/SemaCXX/new-delete-cxx0x.cpp | 48 +- test/SemaCXX/null_in_arithmetic_ops.cpp | 4 +- test/SemaCXX/nullptr.cpp | 46 +- test/SemaCXX/nullptr_in_arithmetic_ops.cpp | 8 +- test/SemaCXX/overload-call.cpp | 11 + test/SemaCXX/return-stack-addr-2.cpp | 61 +- test/SemaCXX/rval-references.cpp | 10 +- test/SemaCXX/using-decl-templates.cpp | 9 + test/SemaCXX/warn-c++1z-extensions.cpp | 8 + test/SemaCXX/warn-everthing.cpp | 2 +- test/SemaCXX/warn-logical-not-compare.cpp | 41 +- test/SemaCXX/warn-memset-bad-sizeof.cpp | 43 + test/SemaCXX/warn-memsize-comparison.cpp | 8 +- test/SemaCXX/warn-range-loop-analysis.cpp | 2 +- test/SemaCXX/warn-thread-safety-analysis.cpp | 15 + test/SemaCXX/warn-unsequenced.cpp | 55 + test/SemaCXX/warn-unused-variables.cpp | 44 + test/SemaObjC/arc.m | 9 +- test/SemaObjC/attr-availability.m | 19 +- test/SemaObjC/call-super-2.m | 15 + test/SemaObjC/class-unavail-warning.m | 25 +- test/SemaObjC/crash-on-type-args-protocols.m | 40 + test/SemaObjC/format-strings-objc.m | 38 + test/SemaObjC/format-strings-oslog.m | 65 + test/SemaObjC/kindof.m | 10 +- test/SemaObjC/nsobject-attribute.m | 2 + test/SemaObjC/parameterized_classes_subst.m | 33 + test/SemaObjC/property-deprecated-warning.m | 20 +- test/SemaObjC/subclassing-restricted-attr.m | 36 + test/SemaObjC/unguarded-availability.m | 179 + test/SemaObjCXX/Inputs/nullability-consistency-1.h | 8 + test/SemaObjCXX/null_objc_pointer.mm | 5 +- test/SemaOpenCL/amdgpu-attrs.cl | 66 + test/SemaOpenCL/amdgpu-num-register-attrs.cl | 40 - test/SemaOpenCL/builtin.cl | 2 +- test/SemaOpenCL/convergent.cl | 12 + test/SemaOpenCL/event_t_overload.cl | 6 +- test/SemaOpenCL/extension-version.cl | 14 + test/SemaOpenCL/extensions.cl | 26 +- test/SemaOpenCL/func.cl | 26 + test/SemaOpenCL/func_ptr.cl | 19 - test/SemaOpenCL/half.cl | 15 +- test/SemaOpenCL/invalid-block.cl | 27 +- test/SemaOpenCL/invalid-kernel-parameters.cl | 5 +- test/SemaTemplate/alias-templates.cpp | 17 + test/SemaTemplate/array-redeclaration.cpp | 33 + test/SemaTemplate/class-template-decl.cpp | 6 +- test/SemaTemplate/cxx1z-decomposition.cpp | 33 + test/SemaTemplate/deduction.cpp | 10 +- test/SemaTemplate/dependent-type-identity.cpp | 9 + .../instantiate-exception-spec-cxx11.cpp | 18 +- test/SemaTemplate/instantiate-self.cpp | 103 +- test/SemaTemplate/instantiation-depth-default.cpp | 17 + .../instantiation-depth-exception-spec.cpp | 15 +- test/SemaTemplate/instantiation-depth.cpp | 9 +- test/SemaTemplate/temp_arg_nontype_cxx11.cpp | 4 + test/SemaTemplate/temp_arg_nontype_cxx1z.cpp | 112 +- test/SemaTemplate/temp_explicit.cpp | 2 +- test/VFS/Inputs/Bar.framework/Headers/A.h | 1 + .../Inputs/Bar.framework}/Headers/B.h | 0 .../Inputs/Bar.framework/Headers}/C.h | 0 .../Inputs/Bar.framework/Modules/module.modulemap | 6 + test/VFS/Inputs/Nonmodular/A.h | 1 + test/VFS/Inputs/Nonmodular/Nonmodular.modulemap | 5 + test/VFS/Inputs/Nonmodular/nonmodular-headers.yaml | 34 + test/VFS/Inputs/Nonmodular/test.c | 3 + test/VFS/Inputs/Nonmodular/umbrella.h | 5 + test/VFS/Inputs/bar-headers.yaml | 39 + test/VFS/Inputs/vfsoverlay2.yaml | 1 + test/VFS/test_nonmodular.c | 11 + test/VFS/umbrella-framework-import-skipnonexist.m | 14 + test/lit.cfg | 11 +- test/lit.site.cfg.in | 1 + tools/CMakeLists.txt | 1 + tools/c-index-test/core_main.cpp | 3 +- tools/clang-format-vs/ClangFormat.sln | 4 +- .../clang-format-vs/ClangFormat/ClangFormat.csproj | 4 +- .../ClangFormat/Resources.Designer.cs | 2 +- tools/clang-format/ClangFormat.cpp | 13 +- tools/clang-format/clang-format.el | 89 +- tools/clang-format/clang-format.py | 22 +- tools/clang-format/git-clang-format | 148 +- tools/clang-offload-bundler/CMakeLists.txt | 17 + .../clang-offload-bundler/ClangOffloadBundler.cpp | 1012 ++ tools/driver/CMakeLists.txt | 13 +- tools/driver/Info.plist.in | 2 +- tools/driver/cc1_main.cpp | 105 + tools/driver/driver.cpp | 2 +- tools/libclang/CIndex.cpp | 62 +- tools/libclang/CIndexHigh.cpp | 4 +- tools/libclang/CLog.h | 2 +- tools/libclang/CXCursor.cpp | 6 + tools/libclang/CXIndexDataConsumer.cpp | 8 + tools/libclang/CXSourceLocation.cpp | 9 +- tools/libclang/CXType.cpp | 1 + tools/libclang/libclang.exports | 1 + tools/scan-build-py/bin/analyze-build | 0 tools/scan-build-py/bin/analyze-c++ | 0 tools/scan-build-py/bin/analyze-cc | 0 tools/scan-build-py/bin/intercept-build | 0 tools/scan-build-py/bin/intercept-c++ | 0 tools/scan-build-py/bin/intercept-cc | 0 tools/scan-build-py/bin/scan-build | 0 tools/scan-build-py/libscanbuild/analyze.py | 3 + tools/scan-build-py/libscanbuild/clang.py | 191 +- tools/scan-build-py/libscanbuild/report.py | 4 +- tools/scan-build-py/libscanbuild/runner.py | 13 +- tools/scan-build-py/tests/unit/test_clang.py | 62 +- tools/scan-build-py/tests/unit/test_report.py | 13 + tools/scan-build-py/tests/unit/test_runner.py | 14 - tools/scan-build/bin/scan-build | 32 +- unittests/AST/ASTImporterTest.cpp | 22 +- unittests/AST/SourceLocationTest.cpp | 90 + unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp | 35 +- unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 5 + unittests/ASTMatchers/ASTMatchersTest.h | 2 +- unittests/ASTMatchers/ASTMatchersTraversalTest.cpp | 123 + unittests/Basic/FileManagerTest.cpp | 20 +- unittests/Driver/ToolChainTest.cpp | 25 + unittests/Format/CleanupTest.cpp | 368 +- unittests/Format/FormatTest.cpp | 93 +- unittests/Format/FormatTestJS.cpp | 168 +- unittests/Format/SortImportsTestJS.cpp | 55 +- unittests/Format/SortIncludesTest.cpp | 105 +- unittests/Tooling/CMakeLists.txt | 1 + unittests/Tooling/CompilationDatabaseTest.cpp | 82 +- unittests/Tooling/RecursiveASTVisitorTest.cpp | 17 + .../Tooling/RecursiveASTVisitorTestExprVisitor.cpp | 48 + unittests/Tooling/RefactoringTest.cpp | 773 +- unittests/Tooling/ReplacementTest.h | 56 + unittests/Tooling/RewriterTest.cpp | 7 +- unittests/Tooling/TestVisitor.h | 29 +- unittests/Tooling/ToolingTest.cpp | 38 + unittests/libclang/LibclangTest.cpp | 82 +- utils/TableGen/ClangAttrEmitter.cpp | 40 +- utils/TableGen/ClangDiagnosticsEmitter.cpp | 447 + utils/TableGen/TableGen.cpp | 10 +- utils/TableGen/TableGenBackends.h | 1 + utils/analyzer/SATestBuild.py | 8 + utils/clang-completion-mode.el | 249 - utils/perf-training/order-files.lit.cfg | 5 + utils/perf-training/perf-helper.py | 2 +- www/analyzer/alpha_checks.html | 82 +- www/analyzer/annotations.html | 2 +- www/analyzer/faq.html | 64 + www/analyzer/potential_checkers.html | 61 +- www/cxx_dr_status.html | 12 +- www/cxx_status.html | 154 +- www/get_started.html | 5 + www/make_cxx_dr_status | 8 +- www/menu.html.incl | 2 +- 1619 files changed, 92478 insertions(+), 20951 deletions(-) create mode 100644 cmake/caches/DistributionExample-stage2.cmake create mode 100644 cmake/caches/DistributionExample.cmake create mode 100644 docs/DiagnosticsReference.rst create mode 100644 docs/ThinLTO.rst create mode 100644 docs/Toolchain.rst create mode 100644 include/clang/Analysis/Analyses/OSLog.h create mode 100644 include/clang/Basic/BuiltinsX86_64.def create mode 100644 include/clang/Basic/DiagnosticDocs.td create mode 100644 lib/Analysis/OSLog.cpp create mode 100644 lib/CodeGen/CGCoroutine.cpp create mode 100644 lib/CodeGen/VarBypassDetector.cpp create mode 100644 lib/CodeGen/VarBypassDetector.h create mode 100644 lib/Format/Comments.cpp create mode 100644 lib/Format/Comments.h rename lib/Headers/{cuda_builtin_vars.h => __clang_cuda_builtin_vars.h} (100%) create mode 100644 lib/Headers/__clang_cuda_complex_builtins.h create mode 100644 lib/Headers/armintr.h create mode 100644 lib/Headers/cuda_wrappers/algorithm create mode 100644 lib/Headers/cuda_wrappers/complex create mode 100644 lib/Headers/cuda_wrappers/new create mode 100644 lib/Headers/msa.h create mode 100644 lib/StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp create mode 100644 lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp create mode 100644 lib/StaticAnalyzer/Checkers/ConversionChecker.cpp create mode 100644 lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp create mode 100644 lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp create mode 100644 lib/StaticAnalyzer/Checkers/ValistChecker.cpp create mode 100644 test/ASTMerge/Inputs/asm-function.cpp create mode 100644 test/ASTMerge/Inputs/class3.cpp create mode 100644 test/ASTMerge/Inputs/exprs3.cpp create mode 100644 test/ASTMerge/asm.cpp create mode 100644 test/ASTMerge/class2.cpp create mode 100644 test/ASTMerge/exprs.cpp create mode 100644 test/Analysis/Inputs/localization-pch.h create mode 100644 test/Analysis/Inputs/system-header-simulator-for-valist.h delete mode 100644 test/Analysis/analyze_display_progress.cpp create mode 100644 test/Analysis/analyzer-display-progress.cpp create mode 100644 test/Analysis/analyzer-display-progress.m create mode 100644 test/Analysis/analyzer-enabled-checkers.c create mode 100644 test/Analysis/block-in-critical-section.cpp create mode 100644 test/Analysis/cast-to-struct.cpp create mode 100644 test/Analysis/castexpr-callback.c create mode 100644 test/Analysis/conversion.c create mode 100644 test/Analysis/copypaste/asm.cpp create mode 100644 test/Analysis/copypaste/attributes.cpp create mode 100644 test/Analysis/copypaste/call.cpp create mode 100644 test/Analysis/copypaste/catch.cpp create mode 100644 test/Analysis/copypaste/delete.cpp create mode 100644 test/Analysis/copypaste/dependent-exist.cpp create mode 100644 test/Analysis/copypaste/expr-types.cpp delete mode 100644 test/Analysis/copypaste/false-positives.cpp create mode 100644 test/Analysis/copypaste/fold.cpp create mode 100644 test/Analysis/copypaste/function-try-block.cpp create mode 100644 test/Analysis/copypaste/generic.c create mode 100644 test/Analysis/copypaste/labels.cpp create mode 100644 test/Analysis/copypaste/lambda.cpp create mode 100644 test/Analysis/copypaste/macro-complexity.cpp create mode 100644 test/Analysis/copypaste/macros.cpp create mode 100644 test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp create mode 100644 test/Analysis/copypaste/plist-diagnostics.cpp create mode 100644 test/Analysis/copypaste/suspicious-clones.cpp create mode 100644 test/Analysis/copypaste/text-diagnostics.cpp create mode 100644 test/Analysis/diagnostics/Inputs/include/plist-diagnostics-incl [...] create mode 100644 test/Analysis/diagnostics/Inputs/include/plist-diagnostics-incl [...] create mode 100644 test/Analysis/diagnostics/diag-cross-file-boundaries.c create mode 100644 test/Analysis/diagnostics/diag-cross-file-boundaries.h create mode 100644 test/Analysis/diagnostics/plist-diagnostics-include-check.cpp create mode 100644 test/Analysis/dispatch-once.m create mode 100644 test/Analysis/malloc-custom.c create mode 100644 test/Analysis/non-diagnosable-assumptions.c create mode 100644 test/Analysis/number-object-conversion.c create mode 100644 test/Analysis/number-object-conversion.cpp create mode 100644 test/Analysis/number-object-conversion.m create mode 100644 test/Analysis/out-of-bounds-new.cpp create mode 100644 test/Analysis/std-c-library-functions.c create mode 100644 test/Analysis/std-c-library-functions.cpp create mode 100644 test/Analysis/uninit-vals.cpp create mode 100644 test/Analysis/valist-uninitialized.c create mode 100644 test/Analysis/valist-unterminated.c create mode 100644 test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.de [...] create mode 100644 test/CXX/conv/conv.fctptr/p1.cpp create mode 100644 test/CXX/cpp/cpp.predefined/p1.cpp create mode 100644 test/CXX/dcl.decl/dcl.decomp/p2.cpp create mode 100644 test/CXX/dcl.decl/dcl.decomp/p3.cpp create mode 100644 test/CXX/dcl.decl/dcl.decomp/p4.cpp create mode 100644 test/CXX/dcl.decl/dcl.init/dcl.init.ref/p4.cpp create mode 100644 test/CXX/except/except.spec/p2-places-1z.cpp create mode 100644 test/CXX/expr/expr.post/expr.static.cast/p3-p4-0x.cpp create mode 100644 test/CXX/expr/expr.post/expr.static.cast/p7.cpp create mode 100644 test/CXX/expr/expr.unary/expr.delete/p10.cpp create mode 100644 test/CXX/expr/expr.unary/expr.new/p14.cpp create mode 100644 test/CXX/expr/p13.cpp create mode 100644 test/CXX/over/over.built/p15.cpp create mode 100644 test/CXX/over/over.built/p16.cpp create mode 100644 test/CXX/over/over.match/over.match.best/over.best.ics/over.ics [...] create mode 100644 test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p5.cpp create mode 100644 test/CodeCompletion/objc-protocol-member-access.m create mode 100644 test/CodeGen/64bit-swiftcall.c create mode 100644 test/CodeGen/Inputs/opt-record.proftext create mode 100644 test/CodeGen/attr-mrecip.c create mode 100644 test/CodeGen/avx512-inline-asm-kregisters-basics.c create mode 100644 test/CodeGen/avx512-kconstraints-att_inline_asm.c create mode 100644 test/CodeGen/avx512-reduceIntrin.c create mode 100644 test/CodeGen/avx512-reduceMinMaxIntrin.c create mode 100644 test/CodeGen/builtins-mips-msa-error.c create mode 100644 test/CodeGen/builtins-ppc-p9vector.c delete mode 100644 test/CodeGen/builtins-x86-disabled.c create mode 100644 test/CodeGen/cfi-icall-cross-dso2.c create mode 100644 test/CodeGen/debug-info-atomic.c create mode 100644 test/CodeGen/denormalfpmode.c create mode 100644 test/CodeGen/ms-barriers-intrinsics.c create mode 100644 test/CodeGen/ms-intrinsics-rotations.c create mode 100644 test/CodeGen/ms-volatile-arm.c create mode 100644 test/CodeGen/ms-x86-intrinsics.c create mode 100644 test/CodeGen/noexceptionsfpmath.c create mode 100644 test/CodeGen/opt-record.c create mode 100644 test/CodeGen/ppc64-dwarf.c create mode 100644 test/CodeGen/ppc64-soft-float.c create mode 100644 test/CodeGen/regcall.c create mode 100644 test/CodeGen/split-debug-inlining.c create mode 100644 test/CodeGen/vecshift.c create mode 100644 test/CodeGen/windows-on-arm-itanium-thread-local.c create mode 100644 test/CodeGen/windows-swiftcall.c create mode 100644 test/CodeGen/wrapv-lshr-sanitize.c create mode 100644 test/CodeGen/x86-inline-asm-v-constraint.c create mode 100644 test/CodeGen/x86_inlineasm_curly_bracket_escape.c create mode 100644 test/CodeGen/xray-attributes-supported-arm.cpp delete mode 100644 test/CodeGenCUDA/host-device-calls-host.cu create mode 100644 test/CodeGenCUDA/nothrow.cu create mode 100644 test/CodeGenCXX/alias-available-externally.cpp create mode 100644 test/CodeGenCXX/cxx1z-aligned-allocation.cpp create mode 100644 test/CodeGenCXX/cxx1z-decomposition.cpp create mode 100644 test/CodeGenCXX/cxx1z-eval-order.cpp create mode 100644 test/CodeGenCXX/cxx1z-noexcept-function-type.cpp create mode 100644 test/CodeGenCXX/debug-info-codeview-injected-class.cpp create mode 100644 test/CodeGenCXX/debug-info-dllimport-base-class.cpp delete mode 100644 test/CodeGenCXX/debug-info-flex-member.cpp create mode 100644 test/CodeGenCXX/debug-info-ms-vbase.cpp create mode 100644 test/CodeGenCXX/debug-info-vla.cpp create mode 100644 test/CodeGenCXX/mangle-exception-spec.cpp create mode 100644 test/CodeGenCXX/modules-ts.cppm create mode 100644 test/CodeGenCXX/pr30731.cpp create mode 100644 test/CodeGenCXX/pragma-loop-distribute.cpp create mode 100644 test/CodeGenCXX/regcall.cpp create mode 100644 test/CodeGenCXX/rtti-mingw64.cpp create mode 100644 test/CodeGenCXX/rtti-qualfn.cpp create mode 100644 test/CodeGenCXX/ubsan-devirtualized-calls.cpp create mode 100644 test/CodeGenCXX/windows-itanium-dllexport.cpp create mode 100644 test/CodeGenCXX/windows-itanium-type-info.cpp create mode 100644 test/CodeGenCoroutines/coro-alloc.cpp create mode 100644 test/CodeGenCoroutines/coro-builtins-err.c create mode 100644 test/CodeGenCoroutines/coro-builtins.c create mode 100644 test/CodeGenCoroutines/microsoft-abi-operator-coawait.cpp create mode 100644 test/CodeGenObjC/os_log.m create mode 100644 test/CodeGenObjC/protocol-comdat.m create mode 100644 test/CodeGenObjC/runtime-abi-match.m create mode 100644 test/CodeGenObjC/section-name.m create mode 100644 test/CodeGenObjC/ubsan-array-bounds.m create mode 100644 test/CodeGenObjC/unqual-copy-restore.m create mode 100644 test/CodeGenObjCXX/arc-constexpr.mm create mode 100644 test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl create mode 100644 test/CodeGenOpenCL/amdgpu-attrs.cl delete mode 100644 test/CodeGenOpenCL/amdgpu-num-gpr-attr.cl create mode 100644 test/CodeGenOpenCL/cast_image.cl create mode 100644 test/CodeGenOpenCL/convergent.cl create mode 100644 test/CodeGenOpenCL/partial_initializer.cl create mode 100644 test/CodeGenOpenCL/private-array-initialization.cl create mode 100644 test/CodeGenOpenCL/size_t.cl delete mode 100644 test/CoverageMapping/if.c create mode 100644 test/CoverageMapping/if.cpp delete mode 100644 test/CoverageMapping/switch.c create mode 100644 test/CoverageMapping/switch.cpp rename test/Driver/Inputs/CUDA/usr/local/cuda/nvvm/libdevice/{libdevice.compute_20 [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/CUDA_80/usr/local/cud [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/CUDA_80/usr/local/cud [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda => basic_myriad_tree}/bin/.keep (100%) create mode 100644 test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/etc/env. [...] create mode 100644 test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/etc/env. [...] create mode 100644 test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/etc/gent [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => gentoo_linux_gcc_multi_version [...] copy test/Driver/Inputs/{basic_android_ndk_tree/lib/gcc/aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => gentoo_linux_gcc_multi_version [...] copy test/Driver/Inputs/{basic_android_ndk_tree/lib/gcc/aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => gentoo_linux_gcc_multi_version [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => gentoo_linux_gcc_multi_version [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda => hexagon_tree/Tools}/bin/.keep (100%) create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/bin/readme create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/readme copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => hexagon_tree/Tools/target}/.ke [...] create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/c+ [...] create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/readme create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/readme create mode 100644 test/Driver/Inputs/hexagon_tree/Tools/target/readme copy bindings/python/tests/__init__.py => test/Driver/Inputs/rewrite-1.map (100%) copy bindings/python/tests/__init__.py => test/Driver/Inputs/rewrite-2.map (100%) copy bindings/python/tests/__init__.py => test/Driver/Inputs/rewrite.map (100%) create mode 100644 test/Driver/XRay/lit.local.cfg create mode 100644 test/Driver/XRay/xray-instrument-cpu.c create mode 100644 test/Driver/XRay/xray-instrument-os.c create mode 100644 test/Driver/android-aarch64-link.cpp create mode 100644 test/Driver/clang-offload-bundler.c create mode 100644 test/Driver/clang-offload-bundler.c.o create mode 100644 test/Driver/coroutines.c create mode 100644 test/Driver/coroutines.cpp create mode 100644 test/Driver/cuda-bindings.cu create mode 100644 test/Driver/cuda-no-sanitizers.cu create mode 100644 test/Driver/darwin-ld-dedup.c create mode 100644 test/Driver/denormal-fp-math.c create mode 100644 test/Driver/fuchsia.c create mode 100644 test/Driver/fuchsia.cpp create mode 100644 test/Driver/gold-lto-sections.c create mode 100644 test/Driver/hexagon-long-calls.c create mode 100644 test/Driver/lto-jobs.c create mode 100644 test/Driver/modules-ts.cpp create mode 100644 test/Driver/openmp-offload.c create mode 100644 test/Driver/opt-record.c create mode 100644 test/Driver/print-libgcc-file-name-clangrt.c create mode 100644 test/Driver/print-libgcc-file-name-libgcc.c create mode 100644 test/Driver/rewrite-map-files.c create mode 100644 test/Driver/ropi-rwpi.c create mode 100644 test/Driver/save-stats.c create mode 100644 test/Driver/show-option-names.c create mode 100644 test/Format/remove-duplicate-includes.cpp create mode 100644 test/Frontend/Inputs/absolute-paths.h create mode 100644 test/Frontend/Inputs/optimization-remark-with-hotness.proftext create mode 100644 test/Frontend/absolute-paths.c create mode 100644 test/Frontend/optimization-remark-with-hotness.c create mode 100644 test/Frontend/stats-file.c create mode 100644 test/Headers/stdatomic.c create mode 100644 test/Headers/x86intrin.cpp create mode 100644 test/Index/Core/designated-inits.c create mode 100644 test/Index/complete-block-property-assignment.m create mode 100644 test/Index/pr20320.cpp create mode 100644 test/Index/pr20320.h create mode 100644 test/Modules/Inputs/DebugNestedA.h create mode 100644 test/Modules/Inputs/DebugNestedB.h create mode 100644 test/Modules/Inputs/GNUAsm/NeedsGNUInlineAsm.framework/Headers/ [...] create mode 100644 test/Modules/Inputs/GNUAsm/NeedsGNUInlineAsm.framework/Headers/asm.h create mode 100644 test/Modules/Inputs/GNUAsm/NeedsGNUInlineAsm.framework/module.map create mode 100644 test/Modules/Inputs/PR28438/a.h create mode 100644 test/Modules/Inputs/PR28438/b1.h copy bindings/python/tests/__init__.py => test/Modules/Inputs/PR28438/b2.h (100%) create mode 100644 test/Modules/Inputs/PR28438/module.modulemap create mode 100644 test/Modules/Inputs/PR28752/Subdir1/b.h create mode 100644 test/Modules/Inputs/PR28752/Subdir1/c.h create mode 100644 test/Modules/Inputs/PR28752/Subdir1/module.modulemap create mode 100644 test/Modules/Inputs/PR28752/a.h create mode 100644 test/Modules/Inputs/PR28752/module.modulemap create mode 100644 test/Modules/Inputs/PR28752/vector create mode 100644 test/Modules/Inputs/PR28794/LibAHeader.h copy test/Modules/Inputs/{PR27041/Rtypes.h => PR28794/Subdir/Empty.h} (100%) create mode 100644 test/Modules/Inputs/PR28794/Subdir/LibBHeader.h create mode 100644 test/Modules/Inputs/PR28794/module.modulemap create mode 100644 test/Modules/Inputs/PR28812/Textual.h create mode 100644 test/Modules/Inputs/PR28812/a.h create mode 100644 test/Modules/Inputs/PR28812/b.h create mode 100644 test/Modules/Inputs/PR28812/module.modulemap create mode 100644 test/Modules/Inputs/libc-libcxx/include/c++/math.h create mode 100644 test/Modules/Inputs/libc-libcxx/include/c++/module.modulemap create mode 100644 test/Modules/Inputs/libc-libcxx/include/c++/stdlib.h create mode 100644 test/Modules/Inputs/libc-libcxx/include/math.h create mode 100644 test/Modules/Inputs/libc-libcxx/include/module.modulemap create mode 100644 test/Modules/Inputs/libc-libcxx/include/stdlib.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/Frameworks/A.framework/ [...] create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/Frameworks/A.framework/ [...] create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/Frameworks/A.framework/ [...] create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/__config create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/math.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/modu [...] create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/stddef.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/stdint.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/stdio.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/stdlib.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/math.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/stddef.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/stdint.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/stdio.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/stdlib.h create mode 100644 test/Modules/Inputs/libc-libcxx/sysroot/usr/include/util.h create mode 100644 test/Modules/Inputs/lookup-assert/Base.h create mode 100644 test/Modules/Inputs/lookup-assert/Derive.h create mode 100644 test/Modules/Inputs/lookup-assert/H3.h create mode 100644 test/Modules/Inputs/lookup-assert/module.map create mode 100644 test/Modules/Inputs/merge-fn-prototype-tags/a.h create mode 100644 test/Modules/Inputs/merge-fn-prototype-tags/b.h create mode 100644 test/Modules/Inputs/merge-fn-prototype-tags/c.h create mode 100644 test/Modules/Inputs/merge-fn-prototype-tags/module.modulemap create mode 100644 test/Modules/Inputs/merge-template-pattern-visibility/c.h create mode 100644 test/Modules/Inputs/merge-template-pattern-visibility/d.h create mode 100644 test/Modules/Inputs/merge-template-specializations/a.h create mode 100644 test/Modules/Inputs/merge-template-specializations/b.h create mode 100644 test/Modules/Inputs/merge-template-specializations/c.h copy test/Modules/Inputs/{PR21687 => merge-template-specializations}/module.module [...] create mode 100644 test/Modules/Inputs/merge-var-template-def/a.h create mode 100644 test/Modules/Inputs/merge-var-template-def/b1.h create mode 100644 test/Modules/Inputs/merge-var-template-def/b2.h create mode 100644 test/Modules/Inputs/merge-var-template-def/module.modulemap create mode 100644 test/Modules/Inputs/objc-category-2/Base.h create mode 100644 test/Modules/Inputs/objc-category-2/Category.h create mode 100644 test/Modules/Inputs/objc-category-2/H3.h create mode 100644 test/Modules/Inputs/objc-category-2/module.map create mode 100644 test/Modules/Inputs/objc-category-3/Base.h create mode 100644 test/Modules/Inputs/objc-category-3/Category.h create mode 100644 test/Modules/Inputs/objc-category-3/Category_B.h create mode 100644 test/Modules/Inputs/objc-category-3/H3.h create mode 100644 test/Modules/Inputs/objc-category-3/module.map create mode 100644 test/Modules/Inputs/objc-category/Base.h create mode 100644 test/Modules/Inputs/objc-category/Category.h create mode 100644 test/Modules/Inputs/objc-category/H3.h create mode 100644 test/Modules/Inputs/objc-category/module.map create mode 100644 test/Modules/Inputs/objc-hidden/FakeUnavailableObjCFramework.fr [...] create mode 100644 test/Modules/Inputs/objc-hidden/FakeUnavailableObjCFramework.fr [...] create mode 100644 test/Modules/Inputs/objc-hidden/System/X.h create mode 100644 test/Modules/Inputs/objc-hidden/System/module.map create mode 100644 test/Modules/Inputs/objc-initializer/X.h create mode 100644 test/Modules/Inputs/objc-initializer/module.modulemap create mode 100644 test/Modules/Inputs/objc-method-redecl.h copy test/Modules/Inputs/{DiagOutOfDate.h => prebuilt-module/a.h} (100%) create mode 100644 test/Modules/Inputs/prebuilt-module/module.modulemap create mode 100644 test/Modules/Inputs/static_assert/a.h copy test/Modules/Inputs/{include-relative/module.map => static_assert/module.modu [...] create mode 100644 test/Modules/ModuleModuleDebugInfo.cpp create mode 100644 test/Modules/compiler_builtins_x86.c create mode 100644 test/Modules/global-init.cpp create mode 100644 test/Modules/lambda-context.cpp create mode 100644 test/Modules/libc-libcxx.cpp create mode 100644 test/Modules/lookup-assert.m create mode 100644 test/Modules/merge-fn-prototype-tags.c create mode 100644 test/Modules/merge-template-specializations.cpp create mode 100644 test/Modules/merge-var-template-def.cpp create mode 100644 test/Modules/module-file-modified.c create mode 100644 test/Modules/objc-category-2.m create mode 100644 test/Modules/objc-category-3.m create mode 100644 test/Modules/objc-category.m create mode 100644 test/Modules/objc-hidden.m create mode 100644 test/Modules/objc-initializer.m create mode 100644 test/Modules/objc-method-redecl.m create mode 100644 test/Modules/pr28438.cpp create mode 100644 test/Modules/pr28752.cpp create mode 100644 test/Modules/pr28812.cpp create mode 100644 test/Modules/prebuilt-module.m create mode 100644 test/Modules/requires-gnuinlineasm.m create mode 100644 test/Modules/static_assert.cpp create mode 100644 test/Modules/umbrella-header-include-builtin.mm create mode 100644 test/OpenMP/debug-info-openmp-array.cpp create mode 100644 test/OpenMP/teams_distribute_ast_print.cpp create mode 100644 test/OpenMP/teams_distribute_collapse_messages.cpp create mode 100644 test/OpenMP/teams_distribute_default_messages.cpp create mode 100644 test/OpenMP/teams_distribute_dist_schedule_messages.cpp create mode 100644 test/OpenMP/teams_distribute_firstprivate_messages.cpp create mode 100644 test/OpenMP/teams_distribute_lastprivate_messages.cpp create mode 100644 test/OpenMP/teams_distribute_loop_messages.cpp create mode 100644 test/OpenMP/teams_distribute_num_teams_messages.cpp create mode 100644 test/OpenMP/teams_distribute_private_messages.cpp create mode 100644 test/OpenMP/teams_distribute_reduction_messages.cpp create mode 100644 test/OpenMP/teams_distribute_shared_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_aligned_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_ast_print.cpp create mode 100644 test/OpenMP/teams_distribute_simd_collapse_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_default_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_dist_schedule_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_firstprivate_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_lastprivate_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_linear_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_loop_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_num_teams_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_private_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_reduction_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_safelen_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_shared_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_simdlen_messages.cpp create mode 100644 test/OpenMP/teams_distribute_simd_thread_limit_messages.cpp create mode 100644 test/OpenMP/teams_distribute_thread_limit_messages.cpp create mode 100644 test/PCH/cxx1z-aligned-alloc.cpp create mode 100644 test/PCH/cxx1z-decomposition.cpp create mode 100644 test/PCH/no-validate-pch.cl create mode 100644 test/PCH/pragma-cuda-force-host-device.cu create mode 100644 test/Parser/backtrack-off-by-one.cpp create mode 100644 test/Parser/cuda-force-host-device-templates.cu create mode 100644 test/Parser/cuda-force-host-device.cu create mode 100644 test/Parser/cxx-modules-import.cpp create mode 100644 test/Parser/cxx-modules-interface.cppm create mode 100644 test/Parser/lambda-attr.cu create mode 100644 test/Parser/ms-square-bracket-attributes.mm create mode 100644 test/Preprocessor/header_is_main_file.c create mode 100644 test/Preprocessor/missing-include-range-check.h create mode 100644 test/Profile/cxx-stmt-initializers.cpp create mode 100644 test/Sema/address-packed-member-memops.c create mode 100644 test/Sema/address-packed.c create mode 100644 test/Sema/attr-selectany.c create mode 100644 test/Sema/builtin-alloca-with-align.c create mode 100644 test/Sema/builtins-x86_64.c create mode 100644 test/Sema/implicit-intel-builtin-decl.c create mode 100644 test/Sema/implicit-ms-builtin-decl.c create mode 100644 test/Sema/negative-shift-wrapv.c create mode 100644 test/Sema/no-warn-unused-const-variables.c create mode 100644 test/Sema/pr30372.c create mode 100644 test/Sema/vecshift.c create mode 100644 test/SemaCUDA/amdgpu-attrs.cu delete mode 100644 test/SemaCUDA/amdgpu-num-gpr-attr.cu create mode 100644 test/SemaCUDA/bad-calls-on-same-line.cu create mode 100644 test/SemaCUDA/call-device-fn-from-host.cu create mode 100644 test/SemaCUDA/call-host-fn-from-device.cu delete mode 100644 test/SemaCUDA/call-overloaded-destructor.cu create mode 100644 test/SemaCUDA/call-stack-for-deferred-err.cu create mode 100644 test/SemaCUDA/exceptions.cu create mode 100644 test/SemaCUDA/extern-shared.cu create mode 100644 test/SemaCUDA/global-initializers-host.cu create mode 100644 test/SemaCUDA/gnu-inline.cu create mode 100644 test/SemaCUDA/implicit-device-lambda.cu create mode 100644 test/SemaCUDA/no-call-stack-for-immediate-errs.cu create mode 100644 test/SemaCUDA/no-destructor-overload.cu create mode 100644 test/SemaCUDA/reference-to-kernel-fn.cu create mode 100644 test/SemaCUDA/target_attr_inheritance.cu create mode 100644 test/SemaCUDA/trace-through-global.cu create mode 100644 test/SemaCUDA/vla.cu create mode 100644 test/SemaCXX/PR25848.cpp create mode 100644 test/SemaCXX/PR29152.cpp create mode 100644 test/SemaCXX/address-packed-member-memops.cpp create mode 100644 test/SemaCXX/address-packed.cpp create mode 100644 test/SemaCXX/attr-require-constant-initialization.cpp create mode 100644 test/SemaCXX/coreturn.cpp create mode 100644 test/SemaCXX/cxx1z-noexcept-function-type.cpp create mode 100644 test/SemaCXX/designated-initializers.cpp create mode 100644 test/SemaCXX/friend2.cpp create mode 100644 test/SemaCXX/function-redecl-2.cpp create mode 100644 test/SemaCXX/libstdcxx_libcxx_less_hack.cpp create mode 100644 test/SemaCXX/modules-ts.cppm create mode 100644 test/SemaCXX/ms-uuid.cpp create mode 100644 test/SemaCXX/warn-c++1z-extensions.cpp create mode 100644 test/SemaObjC/crash-on-type-args-protocols.m create mode 100644 test/SemaObjC/format-strings-oslog.m create mode 100644 test/SemaObjC/subclassing-restricted-attr.m create mode 100644 test/SemaObjC/unguarded-availability.m create mode 100644 test/SemaOpenCL/amdgpu-attrs.cl delete mode 100644 test/SemaOpenCL/amdgpu-num-register-attrs.cl create mode 100644 test/SemaOpenCL/convergent.cl create mode 100644 test/SemaOpenCL/func.cl delete mode 100644 test/SemaOpenCL/func_ptr.cl create mode 100644 test/SemaTemplate/array-redeclaration.cpp create mode 100644 test/SemaTemplate/cxx1z-decomposition.cpp create mode 100644 test/SemaTemplate/instantiation-depth-default.cpp create mode 100644 test/VFS/Inputs/Bar.framework/Headers/A.h copy test/{Modules/Inputs/crash-recovery/Frameworks/B.framework => VFS/Inputs/Bar. [...] copy test/{Modules/Inputs/require-modular-includes => VFS/Inputs/Bar.framework/Hea [...] create mode 100644 test/VFS/Inputs/Bar.framework/Modules/module.modulemap create mode 100644 test/VFS/Inputs/Nonmodular/A.h create mode 100644 test/VFS/Inputs/Nonmodular/Nonmodular.modulemap create mode 100644 test/VFS/Inputs/Nonmodular/nonmodular-headers.yaml create mode 100644 test/VFS/Inputs/Nonmodular/test.c create mode 100644 test/VFS/Inputs/Nonmodular/umbrella.h create mode 100644 test/VFS/Inputs/bar-headers.yaml create mode 100644 test/VFS/test_nonmodular.c create mode 100644 test/VFS/umbrella-framework-import-skipnonexist.m create mode 100644 tools/clang-offload-bundler/CMakeLists.txt create mode 100644 tools/clang-offload-bundler/ClangOffloadBundler.cpp mode change 100644 => 100755 tools/scan-build-py/bin/analyze-build mode change 100644 => 100755 tools/scan-build-py/bin/analyze-c++ mode change 100644 => 100755 tools/scan-build-py/bin/analyze-cc mode change 100644 => 100755 tools/scan-build-py/bin/intercept-build mode change 100644 => 100755 tools/scan-build-py/bin/intercept-c++ mode change 100644 => 100755 tools/scan-build-py/bin/intercept-cc mode change 100644 => 100755 tools/scan-build-py/bin/scan-build create mode 100644 unittests/Tooling/ReplacementTest.h delete mode 100644 utils/clang-completion-mode.el