This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/stable in repository clang.
from 5d752c0d24 Creating branches/google/stable and tags/google/stable/2018- [...] adds 7a2e99a914 [ASTImporter] Test for importing condition variable from a ForStmt adds 5b14cddec6 [OPENMP][BLOCKS]Fix PR38923: reference to a global variable [...] adds ae679b05d3 [ASTImporter] Add test for C++ casts and fix broken const_ca [...] adds 6f4f824d56 Close FileEntries of cached files in ModuleManager::addModule(). adds b1704c4407 [OPENMP] Fix crash on the emission of the weak function decl [...] adds fef69ae4fb Rename -mlink-cuda-bitcode to -mlink-builtin-bitcode adds 5c15d24300 [Lex] Make HeaderMaps a unique_ptr vector adds 6eed53ab5d DebugInfo: Add the ability to disable DWARF name tables entirely adds 98caebcbd8 Model type attributes as regular Attrs. adds e20516350f [ASTImporter] Add test for C++'s try/catch statements. adds 359d77b672 libclang: add install/distribution targets for python adds 43e71a0b50 [WebAssembly] Revert type of wake count in atomic.wake to i32 adds 3025b837ed [analyzer] [NFC] Split up RetainSummaryManager from RetainCo [...] adds 5e499dd14c Removed unused variable [NFC] adds 01b8a31de3 [analyzer][UninitializedObjectChecker] Refactoring p6.: Move [...] adds 1bdc37d05e [analyzer][UninitializedObjectChecker] Added documentation t [...] adds 1e3b037611 Add missing library dependency to fix build break after rC340247 adds e46b1b616d [analyzer][UninitializedObjectChecker] Explicit namespace re [...] adds 131bd243b4 [ASTImporter] Adding some friend function related unittests. adds 33d03d9e30 [analyzer] Correctly marked a virtual function 'override' adds b643de0113 [clang][NFC] Fix typo in the name of a note adds df3559c872 AMDGPU: Move target code into TargetParser adds 4b752d0315 [ASTImporter] Add test for CXXForRangeStmt adds d43e8cc026 [Parser] Support alternative operator token keyword args in [...] adds d45c4ab78c [ASTImporter] Add test for CXXNoexceptExpr adds de7be6a701 Add a new flag and attributes to control static destructor r [...] adds 446ad58736 Address Aaron Ballman's post-commit review comments from r34 [...] adds 3a0f5464a1 [CodeGen] Implicitly set stackrealign on the main function, [...] adds e73e540b40 Eliminate instances of `EmitScalarExpr(E->getArg(n))` in Emi [...] adds 06183e02cc Add space to TemplateArgument dump adds 919ae42e8b Update the docs for using LLVM toolset in Visual Studio adds 6caf120a02 [analyzer] [NFC] Extract a method for creating RefVal from R [...] adds fbb11e8822 [analyzer] [NFC] Fix minor formatting issues in RetainCountChecker adds f30eaa88ef [AST] correct the behavior of -fvisibility-inlines-hidden op [...] adds 30d47f64ec [clang-tblgen] Add -print-records and -dump-json modes. adds 7aca6c1a08 [clang][mips] Set __mips_fpr correctly for -mfpxx adds ff09bf0a1c Fix Wdocumentation warnings. NFCI. adds 58b109b02d [AArch64] Add Tiny Code Model for AArch64 adds bf823b798d Fix import of class templates partial specialization adds 0e012984b0 [Preamble] Fix an undefined behavior when checking an empty [...] adds ce918162e6 [analyzer] Improve `CallDescription` to handle c++ method. adds f79d769607 [CodeGen] Look at the type of a block capture field rather t [...] adds 0b363e9e82 [Tooling] Allow -flto flags and filter out -Wa, flags adds 6b133f8fc6 [Android] Default to -fno-math-errno adds 6a00520d81 Currently clang does not emit unused static constants. GCC e [...] adds 2c4b8ea78f [NFC] Test commit adds 4f97b44dc0 Thread safety analysis: Allow relockable scopes adds 7930896ba3 [ASTImporter] Add test for ObjCAutoreleasePoolStmt adds a991a09bec [ASTImporter] Add test for SwitchStmt adds 56304207e9 [ASTImporter] Add test for ObjCTypeParamDecl adds 342aa6e5c2 [ASTImporter] Remove duplicated and dead CXXNamedCastExpr ha [...] adds 0a451ff781 [ASTImporter] Actually test ArrayInitLoopExpr in the array-i [...] adds dcb6b80cd3 [ASTImporter] Add test for ObjCAtTryStmt/ObjCAtCatchStmt/Obj [...] adds 2fe3058f3a [Driver] Check normalized triples for multiarch runtime path adds b5bc540693 [analyzer] [NFC] Minor refactoring of BugReporterVisitors adds 5278b274d7 [analyzer] Track the problematic subexpression in UndefResul [...] adds a7bd158152 [analyzer] Track non-zero values in ReturnVisitor adds 72222ffe7c [NFC] Add tags file to .gitignore adds abd2f858ec Revert "[ASTImporter] Add test for ObjCAtTryStmt/ObjCAtCatch [...] adds 4f1a245294 win: Omit ".exe" from clang and clang-cl driver-level diagnostics. adds 866f9c4479 Revert "[CStringSyntaxChecker] Reduces space around error me [...] adds 0a2e96aedf Revert "[CStringSyntaxChecker] Check strlcat sizeof check" adds 9924c72c9a [analyzer] Preliminary version of retain count checking for [...] adds 3de69fea50 Improve incompatible triple error adds e88b17c0ef Missing quote in previous commit adds 2d4513605a [x86/retpoline] Split the LLVM concept of retpolines into se [...] adds 41f404f7ac [libclang] Fix cursors for arguments of Subscript and Call o [...] adds 5d1055e822 Update avr attributes test for output change in r340519 adds e6df27459b Removed unused variable [NFC] adds 4b32941328 Change dyn_cast<CXXMethodDecl>(FD) to isa<CXXMethodDecl>(FD) [NFC] adds 1aaf4d6efd [analyzer] Delete SMTContext. NFC. adds 420fb7b516 [analyzer] Templatefy SMTConstraintManager so more generic c [...] adds 60783c8623 [analyzer] Moved all CSA code from the SMT API to a new head [...] adds e29bf81102 [analyzer] added cache for SMT queries in the SMTConstraintManager adds 982848fd65 Re-land [ASTImporter] Add test for ObjCAtTryStmt/ObjCAtCatch [...] adds 43ee86bb6e [ASTMatchers] Let hasObjectExpression also support Unresolve [...] adds 85e4484647 Driver: Enable address-significance tables by default when t [...] adds c316b0cb6f [options] Document -(static|shared)-libsan adds d95e5231fa [docs] Regenerate ClangCommandLineReference.rst adds d2725d7944 Remove unnecessary const_cast [NFC] adds 9e76707bc9 Revert r340552, "Driver: Enable address-significance tables [...] adds 72f50eabcd Remove more const_casts by using ConstStmtVisitor [NFC] adds c24435dfc1 Fix typo adds 505c66c318 [RISCV] RISC-V using -fuse-init-array by default adds e24ad3390f [AVR] Fix inline asm calls now that the addrspace(0) there i [...] adds 18c0403c9a [FileManager] Do not call 'real_path' in getFile(). adds 8d110b092d [Tooling] Add a isSingleProcess() helper to ToolExecutor adds 6093fea79d Fix build bot after r340598. adds 7512f991f4 [Hexagon] Remove unneeded strings from builtin definitions, NFC adds 053b38af4b [clang-format] fix PR38525 - Extraneous continuation indent [...] adds e3951d8886 [clang-format] fix PR38557 - comments between "default" and [...] adds 3ad50fd19c [ASTImporter] Add test for PackExpansionExpr adds 8e7c1967e0 Thread safety analysis no longer hands when analyzing a self [...] adds 2574b3b303 [LTO] Fix -save-temps with LTO and unnamed globals. adds 258a80b9ad Add REQUIRES: x86-registered-target to test. adds a80ce5895a Reland r340552, "Driver: Enable address-significance tables [...] adds 905c589291 Revert r323281 "Adjust MaxAtomicInlineWidth for i386/i486 targets." adds 1bdec838c5 [CUDA/OpenMP] Define only some host macros during device com [...] adds 1e8f9cd0c0 [index] Introduce 'ProtocolInterface' as part of SymbolPropertySet adds 8476a32dc7 [Driver] Change MipsLinux default linker from "lld" to "ld.lld" adds 37975d5918 [Xray] Darwin - Enable in the driver side adds fd9d523e83 [X86] Don't set min_vector_width to 512 on intrinsics that o [...] adds ca1d71cf0b [X86] Undef __DEFAULT_FN_ATTRS in avx512fintrin.h. adds 4729e0a2cf [X86] Rename __DEFAULT_FN_ATTRS to a__DEFAULT_FN_ATTRS512 in [...] adds 6faba02b55 [X86] Remove min_vector_width 512 from some intrinsics that [...] adds 119327d467 [X86] Add intrinsics for kand/kandn/knot/kor/kxnor/kxor with [...] adds ffdfd4c9a6 Try to fix this clang driver test case after r340709. adds 3a27fd7b06 fix comment typo adds 5e8d6f98ab [Sema/Attribute] Make types declared with address_space an A [...] adds 260967ebf6 [PPC] Remove Darwin support from POWER backend. This patch r [...] adds 56b1cc8d60 [OpenMP][NVPTX] Use appropriate _CALL_ELF macro when offloading adds 4d1a672881 [X86] Add kortest intrinsics for 8, 32, and 64 bit masks. Ad [...] adds d0fc178812 [Analyzer] Iterator Checker - Part 3: Invalidation check, fi [...] adds b55f3a17ca Parse compile commands lazily in InterpolatingCompilationDatabase adds 52da60728b [Driver] Delete last reference of lld -flavor old-gnu adds 76b0fc13b4 [ubsan] Enable -fsanitize=vptr on Apple devices and simulators adds 5238fd66d4 Define variables in test case rather than using values from [...] adds cbe85b393c [libFuzzer] Port to Windows adds 0d9b8928f9 Revert "[libFuzzer] Port to Windows" adds bc0fa1d5d5 [HIP] Fix output file extension adds 1d39f2e5ad [X86] Add kadd intrinsics to match gcc and icc. adds 7324e18b8a Start reserving x18 by default on Android targets. adds 17172e0af3 [ARM] Set __ARM_FEATURE_SIMD32 for +dsp cores adds 927ea8cf44 [Preamble] Fix incorrect usage of std::error_category adds f7e11f2036 [OPENMP] Create non-const ident_t objects. adds 6509b6d9b6 [Tooling] Do not restore working dir in ClangTool adds c510fac569 [MinGW] Don't mark external variables as DSO local adds f4fb4ed5a4 [libFuzzer] Port to Windows adds d9c61e0b62 [OPENMP][NVPTX] Add support for lightweight runtime. adds dc879fa93a Revert "[libFuzzer] Port to Windows" adds 01c0d176c0 [analyzer] [NFC] Follow the convention when naming classes adds 9af55c6d39 [analyzer] Better retain count rules for OSObjects adds d2d7786ce5 [analyzer] [NFC] Remove unused "state" argument from makeSym [...] adds faff2291a9 [analyzer] Move analyzer-eagerly-assume to AnalyzerOptions, [...] adds b1014a1a42 [analyzer] [NFC] Move class definition out of the function adds ee49cd21c4 [analyzer] Resolve the crash in ReturnUndefChecker adds b8a2d224a8 Add predefined macro __gnu_linux__ for proper aux-triple adds b6aa47d20b [OPENMP] Do not create offloading entry for declare target v [...] adds 33ec25fc8d [analyzer] Fix tests on 32-bit platforms by specifying the t [...] adds c8b31d0d00 [CFG] [analyzer] Disable argument construction contexts for [...] adds 2483f1c915 [CFG] [analyzer] Disable argument construction contexts for [...] adds 19ada6cb9b [analyzer] CFRetainReleaseChecker: Don't check C++ methods w [...] adds 0d516dba5e [analyzer] Support modeling no-op BaseToDerived casts in Exp [...] adds 11b8f23212 [analyzer] Improve tracing for uninitialized struct fields adds e385b93e1a [AttrDocs]: document gnu_inline function attribute adds bd078dd963 [analyzer] Document that pointer arithmetic is not represent [...] adds 8d011e6b9a [AttrDocs] Fix build bots: add missing GNUInline pragma to test. adds b9ef8cb5d0 Adjust Attr representation so that changes to documentation [...] adds 35db833915 Ensure canonical type is actually canonical. adds 1e76ac204b AMDGPU: Default to hidden visibility adds 8cd8ed88f9 [CodeComplete] Report location of opening parens for signature help adds 38d46ffb86 [OPENMP][NVPTX] Add options -f[no-]openmp-cuda-force-full-runtime. adds 5204bd3692 [Sema][NFC] Trivial cleanup in ActOnCallExpr adds 982b970546 [HIP] Add -fvisibility hidden option to clang adds 13f92347b3 [libFuzzer] Port to Windows adds 570e134429 Test the cross-product of how libgcc-related arguments are p [...] adds 914b703238 [analyzer] InnerPointerChecker: Fix a segfault when checking [...] adds c029fb7612 [OPENMP] Fix PR38710: static functions are not emitted as im [...] adds 8cee2e93e1 Improve attribute documentation to list which spellings are [...] adds dbbd7fa9de Add missing -Wc++11-compat / -Wc++14-compat warnings for: adds d224345530 Add test file missed from r341097. adds 1122a64e3e Update FIXME as requested in code review. adds 5e2855204f Change %clang++ to %clangxx in test run line as it was expan [...] adds 035b8fde98 Refactor Addlibgcc to make the when and what logic more stra [...] adds 359e932350 [cxx_status] Use the correct color for a feature in "SVN" status adds 4ff1ad2346 Revert r341107. That change breaks lto-android in a way is u [...] adds dfb6e35a90 Reverted the "[CUDA/OpenMP] Define only some host macros dur [...] adds f6b7bbdfa1 [MS ABI] Fix mangling issue with dynamic initializer stubs. adds d17c3edf3d Revert the tests that should've been reverted in rL341115 adds a12d0b0e01 Remove LIT_SITE_CFG_IN_FOOTER, clang adds d0fdb4f35f Add dump() method for SourceRange adds 6cc61e5fd4 Extract parseBindID method adds e6e8fef281 Allow binding to NamedValue resulting from let expression adds cfc1004a85 Remove vestiges of configure buildsystem adds 0743501077 Import lit.llvm after rC341132 adds 3413bef1da [DEBUGINFO] Add support for emission of the debug directives only. adds ccbe637df0 Refactor Addlibgcc to make the when and what logic more stra [...] adds ead0755dee [X86] Add kshift intrinsics to match gcc and icc. adds 8bd548f654 Tests: fix tests encoding specific hash values for 32-bit systems. adds 5b7dd9bf04 [X86] Add k-mask conversion and load/store instrinsics to ma [...] adds 48b19b29ab [WebAssembly] clang-format (NFC) adds 0b68110dff [X86] Add ktest intrinsics to match gcc and icc. adds 1bc73590ad Fix Bug 38713: clang-format mishandles a short block after " [...] adds 325385cbbe [OpenCL] Traverse vector types for ocl extensions support adds 3c3905b5f7 [Aarch64] Fix linker emulation for Aarch64 big endian adds 6015562f5f [Index] Update tests allowing double4 type to be "invalid" adds 66c9a41573 [ASTImporter] Merge ExprBits adds 00b0309754 Add header guards to some headers that are missing them adds 84324ddfde Removing -debug-info-macros from option suggestions test adds fe9f121881 Disable the GNUstep v2 ABI on Windows. adds 2e2e8b670f Revert "Disable the GNUstep v2 ABI on Windows." adds 3243cbdaea [x86/SLH] Add a real Clang flag and LLVM IR attribute for Sp [...] adds e2216479d4 Adding HardLink Support to VirtualFileSystem. adds c03910f82b Fix the -print-multi-directory flag to print the selected multilib. adds 3fea6c196b clang-cl: Pass /Brepro to linker if it was passed to the compiler adds 931878d99f Revert r341373, since it fails on some targets. adds a9d72d6c52 [ODRHash] Extend hash to support all Type's. adds 6164bba681 Allow all supportable non-type attributes to be used with #p [...] adds 024b9a4311 clang-format: Fix formatting C++ namespaces with preceding ' [...] adds 1143a41d6e [VFS] Cache the current working directory for the real FS. adds 94bebbfde4 Fix -Wdocumentation warning. NFCI. adds 2a4357b081 Enable DWARF accelerator tables by default when tuning for l [...] adds 2d5c20fae3 Fix arm_neon.h and arm_fp16.h generation for compiling with std=c89 adds e680dc2798 [Sema] Store MacroInfo in CodeCompletionResult for macro results. adds 877be362f8 [OPENMP][NVPTX] Disable runtime-type info for CUDA devices. adds f742fbf832 Test Commit for git-svn-cleanup comment. adds 11fd5cf9fd Add -Wobjc-property-assign-on-object-type. adds d129f5ed08 [Sema] Don't warn about omitting unavailable enum constants [...] adds 8c8125ea1c Forbid address spaces on compound literals in local scope. adds c72ce85b08 Revert "Enable DWARF accelerator tables by default when tuni [...] adds f36dcdac5b Add triple to test case. adds b9640bc0c2 Remove unnecessary options from test RUN lines. adds 5786130f48 PR38627: Fix handling of exception specification adjustment [...] adds 84c42fee1b [DebugInfo] Generate debug information for labels. (Fix PR37395) adds 23a0e9ffba [OpenCL] Disallow negative attribute arguments adds 7699dded74 Fix the -print-multi-directory flag to print the selected multilib. adds 449d2608f8 Fix march triple used test from rL341475 adds ee2b0839d5 Revert "[DebugInfo] Generate debug information for labels. ( [...] adds 118ff51dae [OpenCL] Relax diagnostics on OpenCL access qualifiers adds 2386bc5d57 Remove unnecessary semicolon to silence -Wpedantic warning. NFCI. adds 7414d2028d Reverting r 341390 because it is causing test failures on Gr [...] adds 1f430570d2 Re-commit "Enable DWARF accelerator tables by default when t [...] adds 0eb34b9030 [Sema] Clean up some __builtin_*_chk diagnostics adds 20e2260b6c [OPENMP] Fix PR38823: Do not emit vtable if it is not used i [...] adds 02714d5f34 Re-land r334417 "[MS] Use mangled names and comdats for stri [...] adds cdacbfee79 Remove deprecated API adds cc7b7584b5 [analyzer] Dump a reproducible, deterministic ID of program [...] adds 4d1df0a4ae [analyzer] Remove traces of ubigraph visualization adds 960d25b4d9 [analyzer] Dump stable identifiers for exploded nodes adds cb712aff1f [analyzer] [NFC] Move dumping program point into a separate [...] adds 3f0bc9eab1 [analyzer] Skip printing trivial nodes in exploded graph adds 4d7f220123 [analyzer] Push updating-the-executed-lines logic into the B [...] adds 1ee3e10df5 [analyzer] Do not add invalid source location to the coverag [...] adds 5bf7347d5c [analyzer] Executed lines: store file IDs, not hashes. adds 5c31d31323 [analyzer] [NFC] Prefer passing around reference to std::uni [...] adds 0815531dca [analyzer] Add coverage information to plist output, update tests adds 40ee08b1ae Revert "[analyzer] Add coverage information to plist output, [...] adds f0bf1c6f8d Revert "Revert "[analyzer] Add coverage information to plist [...] adds b6dc2efd41 [Sema] Check that the destructor for each element of class t [...] adds bbb410ae0c [MSan] add KMSAN support to Clang driver adds 5884d42f06 Replaces __inline by __inline__ / C89 compatible adds 30f22e0d51 Revert "Revert "Revert "[analyzer] Add coverage information [...] adds bee620fc61 Reland r341390 clang-cl: Pass /Brepro to linker if it was pa [...] adds 19c2c62f60 Differential Revision: https://reviews.llvm.org/D50246 adds 4e24bae3a8 [libclang] Return the proper pointee type for 'auto' deduced [...] adds 96b8b58101 [CodeComplete] Clearly distinguish signature help and code c [...] adds 3335111af9 Revert "[OPENMP][NVPTX] Disable runtime-type info for CUDA d [...] adds 26a2dfb9c8 [X86] Modify addcarry/subborrow builtins to emit an 2 result [...] adds 6bc81b988f warn_stdlibcxx_not_found: suggest '-stdlib=libc++' instead o [...] adds 923d959b17 [X86] Custom emit __builtin_rdtscp so we can emit an explici [...] adds d61a5cefe6 PR38870: Add warning for zero-width unicode characters appea [...] adds 52bc9ec102 Make -Watomic-alignment say whether the atomic operation was [...] adds 71ac9ba16b Revert "Revert "Revert "Revert "[analyzer] Add coverage info [...] adds 43322674ac [analyzer] Remove the "postponed" hack, deal with derived sy [...] adds f53cf284fb [analyzer] [NFC] Use StringRef when returning a large string [...] adds e1e8e05bd9 [analyzer] [NFC] Move methods for dumping the coverage in HT [...] adds bfe49d565c Do not use optimized atomic libcalls for misaligned atomics. adds c500c06792 Distinguish `__block` variables that are captured by escapin [...] adds ff7472e4ed ms: Insert $$Z in mangling between directly consecutive para [...] adds 737b192426 [Parser] Remove an unnecessary `mutable` adds 22354ba448 Revert r341754. adds e978feba76 [Tooling] Improve handling of CL-style options adds a2f63564c9 Fix build bots after a mistake in r341760 adds 51bf0d9b64 [Sema] Make typo correction slightly more efficient adds 660f260a3f [OpenMP] Add support for nested 'declare target' directives adds 3b7400d6f4 Part of PR33222: defer enforcing return type mismatch for de [...] adds 26751adfec PR33222: Require the declared return type not the actual ret [...] adds 0293c7f5c8 ReleaseNotes: update links to use https adds 6475259f54 [Analyzer] Iterator Checker - Part 4: Mismatched iterator ch [...] adds 90174d3815 [Analyzer] Iterator Checker - Part 5: Move Assignment of Containers adds e171ae4858 [Analyzer] Iterator Checker - Part 6: Mismatched iterator ch [...] adds 399a4432e1 [Analyzer] Iterator Checker - Part 7: Support for push and p [...] adds 844a9e7959 [Analyzer] Iterator Checker - Part 8: Support for assign, cl [...] adds cd3fec58a4 [Analyzer] Commit fix for rL341790/rC341790 adds 9a74d9fcc6 [clang] Make sure codecompletion is called for calls even wh [...] adds aa45ce1144 Prevent cpu-specific/cpu-dispatch from giong on a lambda. adds 5df831d387 Remove all uses of DIFlagBlockByrefStruct adds 86148aee51 [clang-cl] Enable -march option adds 5bd39424d4 Enhance -Wc++14-compat for class template argument deduction [...] adds a9b4bbbdc1 Implement -Watomic-implicit-seq-cst adds 6fb021633b Move AESNI generation to Skylake and Goldmont adds e2195ee646 [AST] Fix a crash on invalid. adds fc73f1c464 Fix test regression in r341862 adds 04c9c6990b [Sema][ObjC] Infer availability of +new from availability of -init. adds 7e7b13d3b1 clang-check: rename the local FixItAction adds 163e2f16ea [Modules] Add imported modules to the output of -module-file-info adds 3f141b1ed2 Make test more robust in case the expected output appears in [...] adds da0bf49b45 [Tooling] Restore working dir in ClangTool. adds afd6ff8f05 [python bindings] Expose getNumTemplateArguments adds 09b62391ab [OPENMP] Simplified checks for declarations in declare targe [...] adds 7dfb64163c [CodeCompletion] Enable signature help when initializing cla [...] adds 0a8a76da18 [ASTMatchers] add three matchers for dependent expressions adds 3886719cbb [clang-cl, PCH] Support for /Yc and /Yu without filename and [...] adds a3379dec7b [analyzer] [NFC] Change the tests by making the version chec [...] adds 9a720a493a [gcov] Update a clang test for r341977 adds e878bfeb40 Introduce the VTable interleaving scheme to the CFI design d [...] adds e716a0c90e [analyzer] Add ExprMutationAnalyzer adds 8b92e51e54 [NFC] Fix build breakage caused by D51948 adds eba34ceb25 Fix tracking of merged definitions when the merge target is [...] adds a2e7966958 Consistently create a new declaration when merging a pre-exi [...] adds 78f85fba22 Track definition merging on the canonical declaration even w [...] adds b33330944b Revert r342019, "Track definition merging on the canonical d [...] adds 6208c64db7 [Driver] Search LibraryPaths when handling -print-file-name adds fc01a51bbe [Tooling] Wait for all threads to finish before resetting CWD. adds 082eb3d9bb Fix Check test to avoid output string mismatch adds debfb8a523 [CodeGen][ARM] Coerce FP16 vectors to integer vectors when needed adds d2ada3f873 [CodeGen] Align rtti and vtable data adds 2e989bf873 [RISCV] Explicitly set an empty --sysroot in the test adds cbe41bdb06 [OPENMP] Fix PR38902: support ADL for declare reduction constructs. adds 057568a28a [Diagnostic] Fix a warning typo. NFC. adds 8b335cfaae [Hexagon] Remove fp-contract=fast setting for at O3 adds 3a8c8e45f9 When we leave a module header, make that header visible in i [...] adds 7b26c1cf75 Track definition merging on the canonical declaration even w [...] adds 13d1bd3167 Remove dead code made unnecessary by r342018. adds ca6d65812f [AArch64] Support reserving x1-7 registers. adds 903444bc95 [clang-format] Wrapped block after case label should not be [...] adds 41cad03f42 Fix MSVC "illegal conversion; more than one user-defined con [...] adds 1a7f6a9239 [AArch64] Enable return address signing for static ctors adds a79c7739c3 Print correctly dependency paths on Windows adds c21fea9179 [OPENMP] Fix PR38903: Crash on instantiation of the non-depe [...] adds 9d84dfe6d9 [NFC]Refactor MultiVersion Resolver Emission to combine types adds 731525c242 Support -fno-omit-frame-pointer with -pg. adds a497c8fddd Diagnose likely typos in #include directives. adds b50bc3665d Fix crash on call to __builtin_memcpy with a null pointer to [...] adds d4e462f654 [Sema] Remove location from implicit capture init expr adds 1a5ee756dd Relax alignment assumptions in a test after r342194 adds 7592787111 [ODRHash] Fix early exit that skipped code. adds f544500eef [XRay][clang] Emit "never-instrument" attribute adds 44383fe7b4 gcc is now returning the same output on this example, removi [...] adds 2cf9113b81 update the doc to compare with gcc 4.9 instead of 4.2 adds 6667b4e8eb [analyzer][UninitializedObjectChecker] Fixed dereferencing adds ec483ba064 remove 11 years old videos from the homepage. if you have a [...] adds f2937b1580 [analyzer][UninitializedObjectChecker] Updated comments adds 86a2b603b2 Use Chrome and Firefox as example of success for clang adds fe266159d5 [analyzer][UninitializedObjectChecker] Correct dynamic type [...] adds 91ef6e511f [analyzer][UninitializedObjectChecker] Refactored checker options adds 43cdc8690f [analyzer][UninitializedObjectChecker] New flag to ignore re [...] adds 4e5e136e7e [analyzer][UninitializedObjectChecker] Support for nonloc::L [...] adds f44d2b4e13 [analyzer] Attempt to make a windows buildbot happy. adds fdf354a5a0 [analyzer] Restore final on NeedsCastLocField. NFC adds bff78a489e [Tooling] JSONCompilationDatabasePlugin infers compile comma [...] adds 3442631481 [Driver] Fix missing MultiArch include dir on powerpcspe adds 446fa15e64 [VFS] vfs::directory_iterator yields path and file type inst [...] adds 9aa0baabef [clang] Make sure attributes on member classes are applied properly adds 2f62ceaf73 [clang-cl] Fix PR38934: failing to dllexport class template [...] adds ccd349c348 Remove PseudoConstantAnalysis adds 2530891b27 [analyzer] Handle forwarding reference better in ExprMutatio [...] adds 4abb9733da Relax assumption about default method calling convention in [...] adds 74afe0c677 test/Driver/output-file-cleanup.c: delete non-readable tempo [...] adds 84853833c2 [modules] Frontend support for building a header module from [...] adds 80e197b92b [modules] Driver support for precompiling a collection of fi [...] adds e1fb567d8b [modules] Support use of -E on modules built from the command line. adds ef244e5043 [modules] Don't bother creating a global module fragment whe [...] adds e4d256f38d [analyzer] Skip printing duplicate nodes, even if nodes have [...] adds 03164d3e0e Support generating unique identifiers for Stmt objects adds f702afcb3e [analyzer] Dump unique identifiers for statements in exploded graph adds d046c9fafa StmtPrinter: allow customizing the end-of-line character adds 843c06ec25 [analyzer] Use correct end-of-line character when printing s [...] adds 7d1cca4458 [analyzer] Dump reproducible identifiers for statements in e [...] adds ab961c560a [analyzer] Generate and use stable identifiers for LocationContext adds a495c43386 Generate unique identifiers for Decl objects adds 58cfe5b8b7 [analyzer] Further printing improvements: use declarations, adds 9bc2172b74 [analyzer] Temporary disabling svalbuilder-rearrange-compari [...] adds 3a0edf1ccb [OPENMP] Move OMPClauseReader/Writer classes to ASTReader/Wr [...] adds 71235610d1 [NFC] cosmetic tweaks to ExprMutationAnalyzer to be more con [...] adds e434600b3e Also manages clang-X as tool for scan-build adds c4dcc7785e scan-build: remove trailing whitespaces adds 8f36d6cc15 [NFC] Minor refactoring to setup the stage for supporting po [...] adds 6df2955606 [Lexer] Add xray_instrument feature adds ce5ca6bcf2 scan-build: Add support of the option --exclude like in scan [...] adds d046e91f17 [clang-Format] Fix indentation of member call after block adds aa660b7dd3 [Analyzer] Define and use diff_plist in tests, NFC adds d0960ed3a0 Merge two attribute diagnostics into one adds 4a2af3e42a [OpenCL] Allow blocks to capture arrays in OpenCL adds f98dc5ceb3 [ASTImporter] Fix import of VarDecl init adds 926e91b0e6 [ASTMatchers] Let isArrow also support UnresolvedMemberExpr, [...] adds ccf123b17d [analyzer] Treat std::{move,forward} as casts in ExprMutatio [...] adds b9dbcf4f94 [analyzer] ExplodedGraph printing fixes adds 0fb55e03c7 Thread safety analysis: Run more tests with capability attri [...] adds ae8dcccdd1 [CodeComplete] Add completions for filenames in #include dir [...] adds 0c965af23b [Index] Add an option to collect macros from preprocesor. adds f02ab3c78b cl-options.c: Fix negative -cfguard check adds 16f27fb3e9 [index] Enhance indexing for module references adds bd5ee58406 [Modules] Add platform and environment features to requires clause adds 81fb2fbc3c Fix logic around determining use of frame pointer with -pg. adds d361d13e84 Fix fomit-frame-pointe+pg error adds 51fd40c31f Driver: hoist `-mlimit-float-precision` (NFC) adds 6f42893d10 Driver: extract a local variable for the Toolchain (NFC) adds c8df8c22bd [MS] Defer dllexport inline friend functions like other inli [...] adds 30d3f201ef Add a callback for `__has_include` and use it for dependency [...] adds 4a9b0e9a58 Thread safety analysis: Fix crash for function pointers adds 2282e12e22 [NFC] Fix uncompilable test cases of ExprMutationAnalyzer. adds 51d76e9ec3 [Sema] Do not load macros from preamble when LoadExternal is false. adds 9e910c672d Basic: correct `__WINT_TYPE__` on Windows adds 600775228a [analyzer] Fix nullptr access when processing instantiated f [...] adds 6f0e52207c Sema: handle `wint_t` more carefully for printf checking adds 9e45e2ae46 redirecting to llvm.org/devmtg adds 27a174792c test: improve condition for the check adds 47f7c9f1a7 test: actually fix the condition properly adds bd0e6da3a7 [NFC] Declare instead of define non-void functions in unit tests. adds 86d4513d3e Thread safety analysis: Handle ObjCIvarRefExpr in SExprBuild [...] adds 58b23a6899 Thread Safety Analysis: warnings for attributes without arguments adds b5c04f0632 [PowerPC] [Clang] Add vector int128 pack/unpack builtins adds 50f21abf91 FileCheckify test/Driver/Xarch.c adds 8141e9ffd6 [OpenCL] Diagnose redundant address space conversion adds c981fd3d3c [OPENMP] Add support for mapping memory pointed by member pointer. adds f9cd06406d [OPENMP] Fix spelling of getLoopCounter (NFC) adds 3a5a6148d4 r342177 introduced a hint in cases where an #included file i [...] adds d978d76f50 Add testcases for r342667. adds 272e7ca676 [Sema] Retain __restrict qualifiers when substituting a refe [...] adds f4426c04a2 Fix an assert in -Wquoted-include-in-framework-header adds b24013c5f9 Remove failing test. adds ba1471ee75 [clang-format] Do not merge short case labels if followed by [...] adds d1a487bb6c [XRay][clang] Propagate -fxray-instrumentation-bundle to -cc1 adds 2bc1c8b8c8 [CodeGen] Add to emitted DebugLoc information about coverage [...] adds 362975cf73 [CodeComplete] Generate completion fix-its for C code as well adds 47ffcfa5ce [AST] Various optimizations + refactoring in DeclarationName(Table) adds cde569a876 [AST][NFC] Remove a superfluous enum in ObjCMethodDeclBitfie [...] adds 4486f76832 NFC: deduplicate isRepeatedBytePattern from clang to LLVM's [...] adds 8e012d4f96 [AST][NFC] DeclarationName.h : add missing parentheses to si [...] adds 8f818356d1 [OPENMP][NVPTX] Enable support for lastprivates in SPMD constructs. adds 7853508823 [OPENMP] Disable emission of the class with vptr if they are [...] adds 6e87bc08f5 [CUDA] Ignore uncallable functions when we check for usual d [...] adds 3e252ce1eb [NFC] remove unused variable adds 057446eb82 [CUDA] Fixed parsing of optional template-argument-list. adds 376881c98e Add necessary support for storing code-model to module IR. adds e7f0cee909 [analyzer] [NFC] Dead code removal adds e14e2edda4 [analyzer] Fix bug in isInevitablySinking adds 7e914facd4 [analyzer] [NFC] Prefer make_unique over "new" adds 211d53294b [analyzer] Associate diagnostics created in checkEndFunction [...] adds 9d7fcc690d [analyzer] Highlight sink nodes in red adds 09ffc529b9 [analyzer] Process state in checkEndFunction in RetainCountChecker adds 5061b662eb Make compare function in r342648 have strict weak ordering. adds 7c9855c5f9 Thread safety analysis: Make sure FactEntrys stored in FactM [...] adds c90426129d Fix codemodels.c test case (only test mcmodel-kernel on x86) adds 167b402df5 Thread safety analysis: Make printSCFG compile again [NFC] adds d05cbec4c2 [Lexer] Add udefined_behavior_sanitizer feature adds 797bc2cafc Update smart pointer detection for thread safety analysis. adds 464ba00d1d update the links to use https adds 22be91269b use the current url for bugzilla adds 0b9709a03e Fix codemodels.c test case (only test mcmodel=medium on X86). adds 1463fc0340 Eliminate some unneeded signed/unsigned conversions adds 6a7c82519b [Index] Fix header guard naming adds c90c4215d7 Fix modules build with shared library. adds 592222551a [Index] Report specialization bases as references when Index [...] adds 62d19fada4 [CStringSyntaxChecker] Check strlcat sizeof check adds 080cb3f08e [CMake] Use internal_linkage rather than always_inline for libc++ adds 4de08b666e [analyzer][UninitializedObjectChecker] Using the new const m [...] adds 9884fc1d08 Add inherited attributes before parsed attributes. adds 4eca03e7d2 [ARM][AArch64] Add feature +fp16fml adds 0823fab785 Fix Wundef NDEBUG warning; NFC adds 3d7d3e103a [Clang][CodeGen][ObjC]: Fix CoreFoundation on ELF with `-fco [...] adds e0d61134f0 Revert "We allow implicit function declarations as an extens [...] adds 0d307ba3af [VFS] Use llvm::StringMap instead of std::map. NFC adds ba2abefa80 [CFString][ELF] Fix a missed test causing buildbot failures [...] adds fd30cc84f2 Revert "rL342883: [Clang][CodeGen][ObjC]: Fix CoreFoundation [...] adds d6a4d2389d [python] [tests] Update test_code_completion adds 741801da75 Fix the type of 1<<31 integer constants. adds 544685ca6d [Power9] [CLANG] Add __float128 exponent GET and SET builtins adds fa0bcfc365 [CodeGen] Revert commit https://reviews.llvm.org/rL342717 adds b358e2f24a [analyzer] Prevent crashes in FindLastStoreBRVisitor adds 252ecba16a [CUDA] Added basic support for compiling with CUDA-10.0 adds 1a2d5c6f5a P0962R1: only use the member form of 'begin' and 'end' in a [...] adds 368ce89594 [www] Update cxx_status to mark P0962R1 as done. adds 16e31db3b4 [www] Change 'Clang 7' items from yellow to green now Clang [...] adds f3fac30693 Driver: render arguments for the embedded bitcode correctly adds 35fee8ed33 Annotate LookupResult::clear() as LLVM_ATTRIBUTE_REINITIALIZ [...] adds bb7689b583 [OpenCL] Allow zero assignment and comparisons between queue [...] adds 3c607d94b4 [AST] Squeeze some bits in LinkageComputer::QueryType adds bbb11065cb [VFS] Add a proxy FS that delegates calls to underlying FS b [...] adds d6cae43ad5 [clang-cl] Provide separate flags for all the /O variants adds 260dbbf385 [AArch64] Support adding X[8-15,18] registers as CSRs. adds 85a2860cfa [DRIVER][OFFLOAD] Do not invoke unbundler on unsupported fil [...] adds 0f35199af8 [OPENMP] Fix failed test, NFC. adds 82ff8699c6 [OPENMP] Fix the test, NFC. adds 852234a879 Revert "[DRIVER][OFFLOAD] Do not invoke unbundler on unsuppo [...] adds 2b97f3cfc8 [analyzer] NFC: Legalize state manager factory injection. adds 730c7ae40e P0969R0: allow structured binding of accessible members, not [...] adds 7c8e954f27 [analyzer] NFC: CallDescription: Improve array management. adds 23803581ed Reland "[Clang][CodeGen][ObjC]: Fix CoreFoundation on ELF wi [...] adds 730ec60204 Don't emit "will be treated as an identifier character" warn [...] adds 70014ee171 [Sema] Use a more civilized hash map to implement -Wduplicate-enum. adds 77c4d242ac [clang-check-codegen][cfstring] Accept either @ or % for pro [...] adds 5f807c640f [analyzer] Add a testing facility for testing relationships [...] adds c531bbd2d9 Fix a bot failure from r343042. adds 8e0f894a0e [analyzer] Fix a crash on casting symbolic pointers to deriv [...] adds ac26bee66c [OPENMP] Add support for OMP5 requires directive + unified_a [...] adds 471124bcd9 P0859R0: List-initialization is potentially-constant-evaluat [...] adds 721671a641 [Frontend] Tidy up -print-decl-contexts conditions adds 0049e3f051 [CUDA] Fix two failed test cases using --cuda-path-ignore-env adds 620c7e3e3b [clang-cl] Make /Gs imply default stack probes, not /Gs0 (PR39074) adds a723865994 clang-format: [JS] space after parameter naming. adds c6913c45e4 Removed extra semicolon to fix Wpedantic. (NFCI). adds 564f50e753 [analyzer] scan-build: if --status-bugs is passed, don't for [...] adds f10f8c29df [ARM/AArch64][v8.5A] Add Armv8.5-A target adds 26346fbcb9 [X86] For lzcnt/tzcnt intrinsics use cttz/ctlz intrinsics wi [...] adds de8e63fd00 P1008R1 Classes with user-declared constructors are never ag [...] adds 2bc7aaa80d llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) adds 11ebe64f8b [DebugInfo] Generate debug information for labels. adds b840b16580 Init LookupResult::AmbiguityKind adds f2c74bbcc0 Remove trailing space in rC343150 adds 0bf92b1fff [analyzer] [testing] Pass through an extra argument for spec [...] adds 4b70c6059f [analyzer] [NFC] Heavy refactoring of trackNullOrUndefValue adds 7bee69dec5 [analyzer] [NFC] Move the code for dumping the program point [...] adds a7f40c6379 [driver][mips] Adjust target triple accordingly to provided [...] adds c5b26a575f clang-format: [JS] conditional types. adds 080ad1cf45 Revert "[DebugInfo] Generate debug information for labels." adds 4d8a679e36 [Sema] Handle __va_start for Windows/ARM64 in the same way a [...] adds f21be14334 [Lex] TokenConcatenation now takes const Preprocessor adds e6b3cbefe6 Revert untintentionally commited changes adds c34ba24749 [OpenCL] Improve extension-version.cl and to_addr_builtin.cl tests adds 38932860b8 [AArch64][v8.5A] Test optional Armv8.5-A random number extension adds c104c07a62 [Tooling] Get rid of uses of llvm::Twine::str which is slow. NFC adds 7a37247afe [OpenMP] Improve search for libomptarget-nvptx adds 5d226e27d0 [analyzer] Highlight nodes which have error reports in them [...] adds ac0302ca82 Fix greedy FileCheck expression in test/Driver/mips-abi.c adds 4ba5566b9c [clang][ubsan][NFC] Slight test cleanup in preparation for D50901 adds 05efbb779e [OpenMP] Make default distribute schedule for NVPTX target r [...] adds f90b1bf197 Test commit. NFC adds eaf1c4d9ce [OpenMP] Make default parallel for schedule in NVPTX target [...] adds 6294c3497b NFC: Fix some darwin linker warnings introduced in r338385 adds e3f8429a58 [analyzer] Hotfix for the bug in exploded graph printing adds 5f18238038 [cxx2a] P0624R2: Lambdas with no capture-default are default [...] adds aaf502f80a [cxx2a] P0641R2: (Some) type mismatches on defaulted functio [...] adds a6e89874ca Handle dependent class template names in class template argu [...] adds d4b76a11e2 [ARM] Alter test to account for change to armv6k default CPU adds 784cbe17ca [ClangFormat] 'try' of function-try-block doesn't obey Brace [...] adds 7d533b5c8b [ARM] Prevent DSP and SIM32 being set for v6m adds 40ec5c4d12 [DRIVER][OFFLOAD] Do not invoke unbundler on unsupported fil [...] adds 255ed1c534 AST: add missing ObjC extensions to MS style name decoration adds ef72cd73f3 [X86] Add the movbe instruction intrinsics from icc. adds 250f67c3f9 [cxx2a] P0614R1: Support init-statements in range-based for loops. adds 08f8ea6baf [analyzer] Provide an option to dump generated exploded grap [...] adds b0be6606a0 [analyzer] [NFC] Remove unused parameters, as found by -Wunu [...] adds ab569aeab4 [OPENMP]Fix PR39084: Check datasharing attributes of reducti [...] adds da396cc184 Support enums with a fixed underlying type in all language modes. new 9fa0a1f211 Creating branches/google/stable and tags/google/stable/2018- [...]
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: .gitignore | 1 + CMakeLists.txt | 19 +- bindings/python/clang/cindex.py | 15 + .../python/tests/cindex/test_code_completion.py | 8 +- bindings/python/tests/cindex/test_type.py | 25 + cmake/caches/Fuchsia-stage2.cmake | 2 + docs/ClangCommandLineReference.rst | 352 +- docs/ControlFlowIntegrityDesign.rst | 148 + docs/DiagnosticsReference.rst | 6 +- docs/LibASTMatchersReference.html | 129 + docs/Modules.rst | 7 +- docs/ReleaseNotes.rst | 23 +- docs/UsersManual.rst | 19 +- docs/analyzer/DebugChecks.rst | 17 + include/clang-c/Index.h | 7 +- include/clang/AST/ASTContext.h | 10 +- include/clang/AST/Attr.h | 13 + include/clang/AST/Comment.h | 8 - include/clang/AST/Decl.h | 34 +- include/clang/AST/DeclBase.h | 27 +- include/clang/AST/DeclCXX.h | 39 +- include/clang/AST/DeclObjC.h | 15 +- include/clang/AST/DeclOpenMP.h | 105 +- include/clang/AST/DeclarationName.h | 643 ++- include/clang/AST/Expr.h | 375 +- include/clang/AST/ExprCXX.h | 348 -- include/clang/AST/ExprObjC.h | 128 - include/clang/AST/ExprOpenMP.h | 8 - include/clang/AST/NSAPI.h | 11 +- include/clang/AST/ODRHash.h | 10 +- include/clang/AST/OpenMPClause.h | 80 +- include/clang/AST/RawCommentList.h | 8 - include/clang/AST/RecursiveASTVisitor.h | 14 + include/clang/AST/Stmt.h | 224 +- include/clang/AST/StmtCXX.h | 65 +- include/clang/AST/StmtObjC.h | 56 - include/clang/AST/StmtOpenMP.h | 8 - include/clang/AST/StmtVisitor.h | 35 - include/clang/AST/Type.h | 75 +- include/clang/AST/TypeLoc.h | 99 +- include/clang/ASTMatchers/ASTMatchers.h | 87 +- include/clang/ASTMatchers/Dynamic/Parser.h | 1 + .../clang/Analysis/Analyses/ExprMutationAnalyzer.h | 96 + .../Analysis/Analyses/PseudoConstantAnalysis.h | 45 - .../clang/Analysis/Analyses/ThreadSafetyCommon.h | 2 + include/clang/Analysis/Analyses/ThreadSafetyTIL.h | 8 +- .../clang/Analysis/Analyses/ThreadSafetyTraverse.h | 21 +- include/clang/Analysis/AnalysisDeclContext.h | 32 +- include/clang/Analysis/CloneDetection.h | 4 - include/clang/Analysis/ObjCRetainCount.h | 231 - include/clang/Analysis/ProgramPoint.h | 30 + .../clang/Analysis}/SelectorExtras.h | 13 +- include/clang/Basic/Attr.td | 94 +- include/clang/Basic/AttrDocs.td | 84 +- include/clang/Basic/BuiltinsHexagon.def | 1630 +++--- include/clang/Basic/BuiltinsPPC.def | 6 + include/clang/Basic/BuiltinsWebAssembly.def | 2 +- include/clang/Basic/BuiltinsX86.def | 54 + include/clang/Basic/BuiltinsX86_64.def | 2 + include/clang/Basic/Cuda.h | 5 +- include/clang/Basic/DebugInfoOptions.h | 1 + include/clang/Basic/DeclNodes.td | 1 + include/clang/Basic/DiagnosticASTKinds.td | 4 + include/clang/Basic/DiagnosticCommonKinds.td | 3 + include/clang/Basic/DiagnosticDriverKinds.td | 8 +- include/clang/Basic/DiagnosticFrontendKinds.td | 8 +- include/clang/Basic/DiagnosticGroups.td | 1 + include/clang/Basic/DiagnosticIDs.h | 2 +- include/clang/Basic/DiagnosticLexKinds.td | 14 +- include/clang/Basic/DiagnosticParseKinds.td | 13 +- include/clang/Basic/DiagnosticSemaKinds.td | 109 +- include/clang/Basic/Features.def | 10 +- include/clang/Basic/IdentifierTable.h | 121 +- include/clang/Basic/LangOptions.def | 3 + include/clang/Basic/LangOptions.h | 5 +- include/clang/Basic/OpenMPKinds.def | 9 + include/clang/Basic/PlistSupport.h | 25 +- include/clang/Basic/Sanitizers.def | 3 + include/clang/Basic/SourceLocation.h | 4 + include/clang/Basic/SourceManager.h | 4 +- include/clang/Basic/VirtualFileSystem.h | 93 +- include/clang/Basic/XRayInstr.h | 2 + include/clang/Driver/Action.h | 27 +- include/clang/Driver/CC1Options.td | 23 +- include/clang/Driver/CLCompatOptions.td | 62 +- include/clang/Driver/Options.td | 48 +- include/clang/Driver/ToolChain.h | 9 + include/clang/Frontend/CodeGenOptions.def | 6 +- include/clang/Frontend/FrontendAction.h | 20 +- include/clang/Frontend/FrontendActions.h | 13 + include/clang/Frontend/FrontendOptions.h | 3 + include/clang/Index/IndexDataConsumer.h | 5 + include/clang/Index/IndexSymbol.h | 6 +- include/clang/Index/IndexingAction.h | 11 +- include/clang/Index/USRGeneration.h | 19 +- include/clang/Lex/CodeCompletionHandler.h | 7 + include/clang/Lex/HeaderMap.h | 3 +- include/clang/Lex/HeaderSearch.h | 8 +- include/clang/Lex/Lexer.h | 14 +- include/clang/Lex/ModuleMap.h | 12 +- include/clang/Lex/PPCallbacks.h | 13 + include/clang/Lex/Preprocessor.h | 24 +- include/clang/Lex/PreprocessorOptions.h | 10 + include/clang/Lex/TokenConcatenation.h | 4 +- include/clang/Lex/TokenLexer.h | 2 +- include/clang/Parse/Parser.h | 21 +- include/clang/Sema/CodeCompleteConsumer.h | 22 +- include/clang/Sema/CodeCompleteOptions.h | 3 +- include/clang/Sema/DeclSpec.h | 24 - include/clang/Sema/Lookup.h | 6 +- include/clang/Sema/Sema.h | 125 +- include/clang/Serialization/ASTBitCodes.h | 3 + include/clang/Serialization/ASTReader.h | 26 +- include/clang/Serialization/ASTWriter.h | 16 + include/clang/StaticAnalyzer/Checkers/Checkers.td | 8 + .../clang/StaticAnalyzer/Core/AnalyzerOptions.h | 29 +- .../Core/BugReporter/BugReporterVisitors.h | 25 +- .../StaticAnalyzer/Core/BugReporter/BugType.h | 2 - .../Core/BugReporter/PathDiagnostic.h | 14 +- .../Core/PathSensitive/AnalysisManager.h | 3 +- .../StaticAnalyzer/Core/PathSensitive/CallEvent.h | 16 +- .../Core/PathSensitive/CheckerContext.h | 50 - .../Core/PathSensitive/Environment.h | 1 + .../Core/PathSensitive/ExplodedGraph.h | 63 +- .../StaticAnalyzer/Core/PathSensitive/ExprEngine.h | 43 +- .../StaticAnalyzer/Core/PathSensitive/MemRegion.h | 58 +- .../Core/PathSensitive/ProgramState.h | 5 +- .../Core/PathSensitive/ProgramStateTrait.h | 108 +- .../StaticAnalyzer/Core/PathSensitive/Regions.def | 1 + .../Core/PathSensitive/SMTConstraintManager.h | 235 +- .../StaticAnalyzer/Core/PathSensitive/SMTContext.h | 31 - .../StaticAnalyzer/Core/PathSensitive/SMTConv.h | 750 +++ .../StaticAnalyzer/Core/PathSensitive/SMTSolver.h | 690 +-- .../Core/PathSensitive/SValBuilder.h | 4 +- .../StaticAnalyzer/Core/PathSensitive/Store.h | 5 +- .../StaticAnalyzer/Core/PathSensitive/SubEngine.h | 5 +- .../Core/PathSensitive/SymbolManager.h | 7 +- .../StaticAnalyzer/Core/RetainSummaryManager.h | 298 +- include/clang/Tooling/AllTUsExecution.h | 2 + include/clang/Tooling/Execution.h | 7 + include/clang/Tooling/StandaloneExecution.h | 2 + include/clang/Tooling/Tooling.h | 11 + include/clang/module.modulemap | 6 + lib/ARCMigrate/CMakeLists.txt | 1 + lib/ARCMigrate/ObjCMT.cpp | 4 +- lib/ARCMigrate/TransGCAttrs.cpp | 15 +- lib/ARCMigrate/Transforms.cpp | 2 +- lib/AST/APValue.cpp | 20 +- lib/AST/ASTContext.cpp | 21 +- lib/AST/ASTDumper.cpp | 32 +- lib/AST/ASTImporter.cpp | 283 +- lib/AST/Decl.cpp | 16 + lib/AST/DeclBase.cpp | 31 + lib/AST/DeclCXX.cpp | 49 +- lib/AST/DeclObjC.cpp | 8 + lib/AST/DeclOpenMP.cpp | 32 + lib/AST/DeclPrinter.cpp | 17 +- lib/AST/DeclarationName.cpp | 296 +- lib/AST/ExprConstant.cpp | 25 +- lib/AST/ItaniumMangle.cpp | 4 +- lib/AST/Linkage.h | 11 +- lib/AST/MicrosoftMangle.cpp | 53 +- lib/AST/NSAPI.cpp | 8 + lib/AST/NestedNameSpecifier.cpp | 1 + lib/AST/ODRHash.cpp | 262 +- lib/AST/OpenMPClause.cpp | 6 +- lib/AST/Stmt.cpp | 7 + lib/AST/StmtCXX.cpp | 3 +- lib/AST/StmtPrinter.cpp | 179 +- lib/AST/StmtProfile.cpp | 5 +- lib/AST/Type.cpp | 177 +- lib/AST/TypeLoc.cpp | 10 +- lib/AST/TypePrinter.cpp | 166 +- lib/AST/VTableBuilder.cpp | 6 +- lib/ASTMatchers/ASTMatchersInternal.cpp | 3 + lib/ASTMatchers/Dynamic/Parser.cpp | 92 +- lib/ASTMatchers/Dynamic/Registry.cpp | 3 + lib/Analysis/AnalysisDeclContext.cpp | 13 +- lib/Analysis/CFG.cpp | 14 +- lib/Analysis/CMakeLists.txt | 3 +- lib/Analysis/ExprMutationAnalyzer.cpp | 445 ++ lib/Analysis/FormatString.cpp | 10 +- lib/Analysis/LiveVariables.cpp | 9 +- lib/Analysis/ProgramPoint.cpp | 171 + lib/Analysis/PseudoConstantAnalysis.cpp | 226 - lib/Analysis/ThreadSafety.cpp | 150 +- lib/Analysis/ThreadSafetyCommon.cpp | 54 +- lib/Analysis/ThreadSafetyTIL.cpp | 18 +- lib/Basic/Cuda.cpp | 12 + lib/Basic/FileManager.cpp | 16 +- lib/Basic/IdentifierTable.cpp | 29 +- lib/Basic/Module.cpp | 45 +- lib/Basic/OpenMPKinds.cpp | 13 + lib/Basic/SourceLocation.cpp | 54 + lib/Basic/Targets/AMDGPU.cpp | 76 +- lib/Basic/Targets/AMDGPU.h | 194 +- lib/Basic/Targets/ARM.cpp | 4 +- lib/Basic/Targets/Mips.cpp | 65 +- lib/Basic/Targets/Mips.h | 14 +- lib/Basic/Targets/NVPTX.cpp | 2 + lib/Basic/Targets/OSTargets.h | 1 + lib/Basic/Targets/X86.cpp | 10 +- lib/Basic/Targets/X86.h | 9 +- lib/Basic/VirtualFileSystem.cpp | 270 +- lib/CodeGen/BackendUtil.cpp | 31 +- lib/CodeGen/CGAtomic.cpp | 26 +- lib/CodeGen/CGBlocks.cpp | 34 +- lib/CodeGen/CGBlocks.h | 2 +- lib/CodeGen/CGBuiltin.cpp | 288 +- lib/CodeGen/CGCall.cpp | 3 + lib/CodeGen/CGDebugInfo.cpp | 40 +- lib/CodeGen/CGDebugInfo.h | 11 +- lib/CodeGen/CGDecl.cpp | 119 +- lib/CodeGen/CGDeclCXX.cpp | 10 + lib/CodeGen/CGExpr.cpp | 3 +- lib/CodeGen/CGObjCGNU.cpp | 2 +- lib/CodeGen/CGOpenMPRuntime.cpp | 344 +- lib/CodeGen/CGOpenMPRuntime.h | 18 +- lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 557 +- lib/CodeGen/CGOpenMPRuntimeNVPTX.h | 16 +- lib/CodeGen/CGStmt.cpp | 2 + lib/CodeGen/CGStmtOpenMP.cpp | 13 +- lib/CodeGen/CGVTT.cpp | 6 +- lib/CodeGen/CGVTables.cpp | 8 +- lib/CodeGen/CodeGenFunction.cpp | 113 +- lib/CodeGen/CodeGenFunction.h | 41 +- lib/CodeGen/CodeGenModule.cpp | 196 +- lib/CodeGen/CodeGenModule.h | 7 +- lib/CodeGen/CodeGenPGO.cpp | 2 + lib/CodeGen/CoverageMappingGen.cpp | 6 +- lib/CodeGen/ItaniumCXXABI.cpp | 26 +- lib/CodeGen/MacroPPCallbacks.h | 5 + lib/CodeGen/MicrosoftCXXABI.cpp | 9 +- lib/CodeGen/ModuleBuilder.cpp | 29 +- lib/CodeGen/TargetInfo.cpp | 96 +- lib/Driver/Action.cpp | 16 +- lib/Driver/CMakeLists.txt | 2 +- lib/Driver/Driver.cpp | 202 +- lib/Driver/SanitizerArgs.cpp | 11 +- lib/Driver/ToolChain.cpp | 25 +- lib/Driver/ToolChains/AMDGPU.cpp | 13 + lib/Driver/ToolChains/AMDGPU.h | 4 + lib/Driver/ToolChains/Arch/AArch64.cpp | 74 + lib/Driver/ToolChains/Arch/ARM.cpp | 29 +- lib/Driver/ToolChains/Arch/X86.cpp | 28 + lib/Driver/ToolChains/BareMetal.cpp | 2 +- lib/Driver/ToolChains/Clang.cpp | 403 +- lib/Driver/ToolChains/CommonArgs.cpp | 43 +- lib/Driver/ToolChains/Cuda.cpp | 31 +- lib/Driver/ToolChains/Darwin.cpp | 17 +- lib/Driver/ToolChains/Darwin.h | 1 + lib/Driver/ToolChains/Gnu.cpp | 23 +- lib/Driver/ToolChains/HIP.cpp | 6 + lib/Driver/ToolChains/Hexagon.cpp | 5 - lib/Driver/ToolChains/Linux.cpp | 20 +- lib/Driver/ToolChains/Linux.h | 1 + lib/Driver/ToolChains/MSVC.cpp | 23 + lib/Driver/ToolChains/MipsLinux.h | 2 +- .../ToolChains/{RISCV.cpp => RISCVToolchain.cpp} | 38 +- .../ToolChains/{RISCV.h => RISCVToolchain.h} | 14 +- lib/Driver/ToolChains/WebAssembly.cpp | 15 +- lib/Driver/ToolChains/WebAssembly.h | 13 +- lib/Driver/Types.cpp | 2 + lib/Driver/XRayArgs.cpp | 20 +- lib/Format/ContinuationIndenter.cpp | 7 +- lib/Format/Format.cpp | 7 +- lib/Format/FormatToken.h | 14 +- lib/Format/FormatTokenLexer.cpp | 2 +- lib/Format/NamespaceEndCommentsFixer.cpp | 7 +- lib/Format/TokenAnnotator.cpp | 10 +- lib/Format/TokenAnnotator.h | 7 + lib/Format/UnwrappedLineFormatter.cpp | 16 +- lib/Format/UnwrappedLineParser.cpp | 24 +- lib/Format/WhitespaceManager.cpp | 2 +- lib/Frontend/ASTConsumers.cpp | 105 +- lib/Frontend/ASTUnit.cpp | 7 +- lib/Frontend/CompilerInstance.cpp | 26 +- lib/Frontend/CompilerInvocation.cpp | 42 +- lib/Frontend/DependencyFile.cpp | 37 +- lib/Frontend/DiagnosticRenderer.cpp | 4 +- lib/Frontend/FrontendAction.cpp | 31 +- lib/Frontend/FrontendActions.cpp | 87 +- lib/Frontend/PrecompiledPreamble.cpp | 8 +- lib/Frontend/Rewrite/FrontendActions.cpp | 7 +- lib/FrontendTool/ExecuteCompilerInvocation.cpp | 2 + lib/Headers/__clang_cuda_runtime_wrapper.h | 8 +- lib/Headers/avx512bwintrin.h | 626 ++- lib/Headers/avx512dqintrin.h | 302 +- lib/Headers/avx512fintrin.h | 77 +- lib/Headers/bmiintrin.h | 10 +- lib/Headers/immintrin.h | 59 + lib/Headers/lzcntintrin.h | 10 +- lib/Index/IndexSymbol.cpp | 5 + lib/Index/IndexTypeSourceInfo.cpp | 11 +- lib/Index/IndexingAction.cpp | 24 +- lib/Index/IndexingContext.cpp | 26 +- lib/Index/USRGeneration.cpp | 26 + lib/Lex/HeaderMap.cpp | 5 +- lib/Lex/HeaderSearch.cpp | 29 +- lib/Lex/Lexer.cpp | 74 +- lib/Lex/ModuleMap.cpp | 48 +- lib/Lex/PPDirectives.cpp | 63 +- lib/Lex/PPLexerChange.cpp | 4 +- lib/Lex/PPMacroExpansion.cpp | 8 + lib/Lex/Pragma.cpp | 41 + lib/Lex/Preprocessor.cpp | 51 +- lib/Lex/TokenConcatenation.cpp | 4 +- lib/Parse/ParseAST.cpp | 34 +- lib/Parse/ParseDecl.cpp | 40 +- lib/Parse/ParseDeclCXX.cpp | 16 +- lib/Parse/ParseExpr.cpp | 36 +- lib/Parse/ParseExprCXX.cpp | 49 +- lib/Parse/ParseOpenMP.cpp | 83 +- lib/Parse/ParseStmt.cpp | 63 +- lib/Parse/ParseTemplate.cpp | 4 +- lib/Parse/ParseTentative.cpp | 85 +- lib/Parse/Parser.cpp | 4 + lib/Sema/AnalysisBasedWarnings.cpp | 2 +- lib/Sema/CodeCompleteConsumer.cpp | 32 +- lib/Sema/IdentifierResolver.cpp | 14 +- lib/Sema/ParsedAttr.cpp | 2 +- lib/Sema/Sema.cpp | 20 +- lib/Sema/SemaAccess.cpp | 16 + lib/Sema/SemaChecking.cpp | 138 +- lib/Sema/SemaCodeComplete.cpp | 240 +- lib/Sema/SemaDecl.cpp | 166 +- lib/Sema/SemaDeclAttr.cpp | 203 +- lib/Sema/SemaDeclCXX.cpp | 246 +- lib/Sema/SemaExceptionSpec.cpp | 47 +- lib/Sema/SemaExpr.cpp | 69 +- lib/Sema/SemaExprCXX.cpp | 26 +- lib/Sema/SemaExprObjC.cpp | 12 +- lib/Sema/SemaInit.cpp | 134 +- lib/Sema/SemaLambda.cpp | 13 +- lib/Sema/SemaLookup.cpp | 105 +- lib/Sema/SemaObjCProperty.cpp | 12 +- lib/Sema/SemaOpenMP.cpp | 486 +- lib/Sema/SemaOverload.cpp | 6 +- lib/Sema/SemaStmt.cpp | 213 +- lib/Sema/SemaStmtAttr.cpp | 2 +- lib/Sema/SemaTemplate.cpp | 61 +- lib/Sema/SemaTemplateInstantiate.cpp | 13 + lib/Sema/SemaTemplateInstantiateDecl.cpp | 95 +- lib/Sema/SemaType.cpp | 658 +-- lib/Sema/TreeTransform.h | 121 +- lib/Serialization/ASTCommon.cpp | 1 + lib/Serialization/ASTReader.cpp | 918 +++- lib/Serialization/ASTReaderDecl.cpp | 123 +- lib/Serialization/ASTReaderStmt.cpp | 893 +--- lib/Serialization/ASTWriter.cpp | 518 +- lib/Serialization/ASTWriterDecl.cpp | 15 + lib/Serialization/ASTWriterStmt.cpp | 480 +- lib/Serialization/ModuleManager.cpp | 13 +- .../Checkers/BasicObjCFoundationChecks.cpp | 91 +- lib/StaticAnalyzer/Checkers/CMakeLists.txt | 4 - .../Checkers/CStringSyntaxChecker.cpp | 56 +- .../Checkers/CallAndMessageChecker.cpp | 83 +- lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp | 10 +- .../Checkers/DeleteWithNonVirtualDtorChecker.cpp | 3 +- lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp | 6 +- .../Checkers/DynamicTypePropagation.cpp | 4 +- .../Checkers/ExprInspectionChecker.cpp | 98 + .../Checkers/InnerPointerChecker.cpp | 111 +- lib/StaticAnalyzer/Checkers/IteratorChecker.cpp | 1168 ++++- .../Checkers/LocalizationChecker.cpp | 2 - .../Checkers/MPI-Checker/MPIBugReporter.cpp | 5 +- .../Checkers/MPI-Checker/MPIBugReporter.h | 1 - .../Checkers/MacOSKeychainAPIChecker.cpp | 7 +- lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 6 +- .../Checkers/MisusedMovedObjectChecker.cpp | 6 +- .../Checkers/NoReturnFunctionChecker.cpp | 2 +- lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp | 4 +- .../Checkers/ObjCSuperDeallocChecker.cpp | 7 +- lib/StaticAnalyzer/Checkers/PaddingChecker.cpp | 2 +- .../RetainCountChecker/RetainCountChecker.cpp | 249 +- .../RetainCountChecker/RetainCountChecker.h | 44 +- .../RetainCountChecker/RetainCountDiagnostics.cpp | 10 +- .../RetainCountChecker/RetainCountDiagnostics.h | 3 +- .../Checkers/TestAfterDivZeroChecker.cpp | 5 +- .../Checkers/TrustNonnullChecker.cpp | 2 +- lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp | 5 + .../UninitializedObject/UninitializedObject.h | 187 +- .../UninitializedObjectChecker.cpp | 232 +- .../UninitializedObject/UninitializedPointee.cpp | 204 +- lib/StaticAnalyzer/Checkers/ValistChecker.cpp | 5 +- lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp | 4 +- lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | 7 + lib/StaticAnalyzer/Core/BugReporter.cpp | 105 +- lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 331 +- lib/StaticAnalyzer/Core/CMakeLists.txt | 2 +- lib/StaticAnalyzer/Core/CallEvent.cpp | 32 +- lib/StaticAnalyzer/Core/CheckerHelpers.cpp | 4 +- lib/StaticAnalyzer/Core/CheckerManager.cpp | 5 +- lib/StaticAnalyzer/Core/CheckerRegistry.cpp | 6 +- lib/StaticAnalyzer/Core/CoreEngine.cpp | 6 +- lib/StaticAnalyzer/Core/Environment.cpp | 13 +- lib/StaticAnalyzer/Core/ExplodedGraph.cpp | 32 +- lib/StaticAnalyzer/Core/ExprEngine.cpp | 390 +- .../Core/ExprEngineCallAndReturn.cpp | 5 +- lib/StaticAnalyzer/Core/ExprEngineObjC.cpp | 2 +- lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp | 56 +- lib/StaticAnalyzer/Core/MemRegion.cpp | 67 +- lib/StaticAnalyzer/Core/PathDiagnostic.cpp | 22 +- lib/StaticAnalyzer/Core/PlistDiagnostics.cpp | 50 +- lib/StaticAnalyzer/Core/ProgramState.cpp | 24 +- lib/StaticAnalyzer/Core/RegionStore.cpp | 115 +- .../RetainSummaryManager.cpp} | 139 +- lib/StaticAnalyzer/Core/SMTConstraintManager.cpp | 181 - lib/StaticAnalyzer/Core/SValBuilder.cpp | 3 +- lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp | 11 +- lib/StaticAnalyzer/Core/Store.cpp | 32 +- lib/StaticAnalyzer/Core/SymbolManager.cpp | 5 +- lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp | 80 +- lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | 141 +- lib/Tooling/ASTDiff/ASTDiff.cpp | 2 +- lib/Tooling/AllTUsExecution.cpp | 16 +- lib/Tooling/CompilationDatabase.cpp | 20 +- lib/Tooling/Core/Replacement.cpp | 11 +- lib/Tooling/Inclusions/HeaderIncludes.cpp | 9 +- lib/Tooling/InterpolatingCompilationDatabase.cpp | 277 +- lib/Tooling/JSONCompilationDatabase.cpp | 5 +- lib/Tooling/Tooling.cpp | 63 +- .../expected-plists/NewDelete-path-notes.cpp.plist | 32 + .../expected-plists/conditional-path-notes.c.plist | 89 + .../Inputs/expected-plists/cxx-for-range.cpp.plist | 371 ++ .../Inputs/expected-plists/edges-new.mm.plist | 696 +++ .../Inputs/expected-plists/generics.m.plist | 492 ++ .../Inputs/expected-plists/inline-plist.c.plist | 88 + .../expected-plists/inline-unique-reports.c.plist | 21 + .../Inputs/expected-plists/lambda-notes.cpp.plist | 205 + .../expected-plists/malloc-plist.c.plist} | 4259 ++++++++-------- .../method-call-path-notes.cpp.plist | 66 + .../Inputs/expected-plists/model-file.cpp.plist | 27 + .../expected-plists/null-deref-path-notes.m.plist | 52 + .../expected-plists/nullability-notes.m.plist | 20 + .../Inputs/expected-plists/objc-arc.m.plist | 177 + .../Inputs/expected-plists/plist-macros.cpp.plist | 94 + .../expected-plists/plist-output-alternate.m.plist | 81 + .../Inputs/expected-plists/plist-output.m.plist | 246 + .../retain-release-path-notes.m.plist | 528 +- .../Inputs/expected-plists/unix-fns.c.plist | 5364 ++++++++++---------- test/Analysis/Inputs/system-header-simulator-cxx.h | 125 +- test/Analysis/MismatchedDeallocator-path-notes.cpp | 292 +- test/Analysis/MisusedMovedObject.cpp | 4 +- test/Analysis/NewDelete-path-notes.cpp | 2 +- test/Analysis/PR24184.cpp | 2 +- test/Analysis/PR37855.c | 4 +- test/Analysis/additive-folding-range-constraints.c | 2 +- test/Analysis/additive-folding.cpp | 2 +- test/Analysis/analyzer-config.c | 3 +- test/Analysis/analyzer-config.cpp | 3 +- test/Analysis/array-struct-region.c | 2 +- test/Analysis/atomics.c | 2 +- test/Analysis/blocks-no-inline.c | 4 +- test/Analysis/bstring.c | 8 +- test/Analysis/bstring.cpp | 10 +- test/Analysis/call-invalidation.cpp | 2 +- test/Analysis/casts.c | 29 +- test/Analysis/casts.cpp | 63 +- test/Analysis/cfg-rich-constructors.cpp | 15 + test/Analysis/conditional-operator.cpp | 4 +- test/Analysis/conditional-path-notes.c | 2 +- test/Analysis/const-method-call.cpp | 2 +- test/Analysis/constant-folding.c | 2 +- test/Analysis/copy-elision.cpp | 8 +- .../MismatchedDeallocator-path-notes.cpp.plist} | 217 +- .../plist-diagnostics-notes-as-events.cpp.plist | 18 + .../expected-plists/plist-diagnostics.cpp.plist | 18 + .../plist-diagnostics-notes-as-events.cpp | 2 +- test/Analysis/copypaste/plist-diagnostics.cpp | 2 +- test/Analysis/cstring-plist.c | 3 + test/Analysis/cstring-syntax.c | 16 +- test/Analysis/ctor.mm | 8 +- test/Analysis/cxx-for-range.cpp | 9 +- .../cxx-uninitialized-object-inheritance.cpp | 86 +- test/Analysis/cxx-uninitialized-object-ptr-ref.cpp | 121 +- ...x-uninitialized-object-unionlike-constructs.cpp | 136 + test/Analysis/cxx-uninitialized-object.cpp | 41 +- .../deref-track-symbolic-region.c.plist | 35 + .../plist-diagnostics-include-check.cpp.plist | 147 + .../expected-plists/plist-multi-file.c.plist | 212 + .../report-issues-within-main-file.cpp.plist} | 1529 +++--- .../expected-plists/undef-value-caller.c.plist | 25 + .../expected-plists/undef-value-param.c.plist | 55 + .../expected-plists/undef-value-param.m.plist | 43 + .../diagnostics/deref-track-symbolic-region.c | 2 +- test/Analysis/diagnostics/explicit-suppression.cpp | 2 +- test/Analysis/diagnostics/find_last_store.c | 17 + .../plist-diagnostics-include-check.cpp | 132 +- test/Analysis/diagnostics/plist-multi-file.c | 199 +- .../diagnostics/report-issues-within-main-file.cpp | 1709 +------ test/Analysis/diagnostics/track_subexpressions.cpp | 19 + test/Analysis/diagnostics/undef-value-caller.c | 2 +- test/Analysis/diagnostics/undef-value-param.c | 2 +- test/Analysis/diagnostics/undef-value-param.m | 2 +- test/Analysis/dtor.cpp | 2 +- test/Analysis/dump_egraph.c | 15 + test/Analysis/edges-new.mm | 4 +- test/Analysis/expr-inspection.cpp | 30 + test/Analysis/func.c | 2 +- test/Analysis/generics.m | 2 +- test/Analysis/global-region-invalidation.c | 2 +- test/Analysis/global_region_invalidation.mm | 2 +- test/Analysis/gtest.cpp | 4 +- .../relevant_lines/synthesized_body.cpp | 25 + test/Analysis/inline-plist.c | 6 +- test/Analysis/inline-unique-reports.c | 2 +- test/Analysis/inline.cpp | 2 +- test/Analysis/inlining/InlineObjCClassMethod.m | 2 +- .../eager-reclamation-path-notes.c.plist | 38 + .../eager-reclamation-path-notes.cpp.plist | 23 + .../Inputs/expected-plists/path-notes.c.plist | 152 + .../Inputs/expected-plists/path-notes.cpp.plist | 236 + .../Inputs/expected-plists/path-notes.m.plist | 81 + test/Analysis/inlining/containers.cpp | 8 +- test/Analysis/inlining/dyn-dispatch-bifurcate.cpp | 2 +- .../inlining/eager-reclamation-path-notes.c | 2 +- .../inlining/eager-reclamation-path-notes.cpp | 2 +- .../Analysis/inlining/false-positive-suppression.c | 6 +- test/Analysis/inlining/path-notes.c | 2 +- test/Analysis/inlining/path-notes.cpp | 2 +- test/Analysis/inlining/path-notes.m | 2 +- test/Analysis/inlining/stl.cpp | 4 +- test/Analysis/inner-pointer.cpp | 9 +- test/Analysis/invalidated-iterator.cpp | 399 ++ test/Analysis/iterator-range.cpp | 62 +- test/Analysis/ivars.m | 2 +- test/Analysis/lambda-notes.cpp | 195 +- test/Analysis/lifetime-extension.cpp | 12 +- test/Analysis/lit.local.cfg | 5 + test/Analysis/logical-ops.c | 2 +- test/Analysis/loop-widening-notes.cpp | 2 +- test/Analysis/loop-widening.c | 4 +- test/Analysis/malloc-free-after-return.cpp | 4 +- test/Analysis/malloc-plist.c | 5039 +----------------- test/Analysis/method-call-path-notes.cpp | 2 +- test/Analysis/misc-ps-eager-assume.m | 8 +- test/Analysis/misc-ps.c | 2 +- test/Analysis/mismatched-iterator.cpp | 175 + test/Analysis/missing-bind-temporary.cpp | 4 +- test/Analysis/model-file.cpp | 2 +- test/Analysis/new-ctor-conservative.cpp | 2 +- test/Analysis/new-ctor-inlined.cpp | 2 +- test/Analysis/new-ctor-recursive.cpp | 2 +- test/Analysis/new-ctor-symbolic.cpp | 2 +- test/Analysis/new.cpp | 4 +- test/Analysis/null-deref-path-notes.cpp | 2 +- test/Analysis/null-deref-path-notes.m | 2 +- test/Analysis/nullability-notes.m | 2 +- test/Analysis/objc-arc.m | 2 +- test/Analysis/objc-for.m | 2 +- test/Analysis/objcpp-uninitialized-object.mm | 2 +- test/Analysis/osobject-retain-release.cpp | 105 + test/Analysis/plist-macros.cpp | 6 +- test/Analysis/plist-output-alternate.m | 2 +- test/Analysis/plist-output.m | 4 +- test/Analysis/plist-stats-output.c | 3 + test/Analysis/pr22954.c | 2 +- test/Analysis/properties.m | 4 +- test/Analysis/ptr-arith.c | 4 +- test/Analysis/reference.cpp | 2 +- test/Analysis/region-store.c | 2 +- test/Analysis/retain-release-arc.m | 3 +- test/Analysis/retain-release-path-notes.m | 14 +- test/Analysis/retain-release.mm | 15 + test/Analysis/scopes-cfg-output.cpp | 5 +- test/Analysis/self-assign.cpp | 2 +- test/Analysis/std-c-library-functions.c | 10 +- test/Analysis/string.c | 10 +- test/Analysis/svalbuilder-rearrange-comparisons.c | 1083 ++-- test/Analysis/switch-case.c | 2 +- test/Analysis/temp-obj-dtors-option.cpp | 4 +- test/Analysis/templates.cpp | 4 +- test/Analysis/temporaries.cpp | 28 +- test/Analysis/test-after-div-zero.c | 4 +- test/Analysis/ubigraph-viz.cpp | 7 - test/Analysis/uninit-const.cpp | 10 +- test/Analysis/uninit-vals-ps-region.m | 93 - test/Analysis/{uninit-vals-ps.c => uninit-vals.c} | 58 +- test/Analysis/uninit-vals.cpp | 3 +- test/Analysis/uninit-vals.m | 173 +- test/Analysis/unions.cpp | 2 +- test/Analysis/unix-fns.c | 2837 +---------- test/Analysis/weak-functions.c | 2 +- test/CXX/class.derived/class.abstract/p16.cpp | 4 +- test/CXX/dcl.decl/dcl.decomp/p4.cpp | 51 +- .../dcl.fct.def/dcl.fct.def.default/p1.cpp | 51 +- test/CXX/drs/dr13xx.cpp | 6 +- test/CXX/drs/dr6xx.cpp | 4 +- test/CXX/expr/expr.const/p6.cpp | 39 + test/CXX/expr/expr.prim/expr.prim.lambda/p14.cpp | 4 +- .../expr/expr.prim/expr.prim.lambda/templates.cpp | 8 +- test/CXX/special/class.copy/p12-0x.cpp | 2 +- test/CXX/special/class.copy/p23-cxx11.cpp | 2 +- test/CXX/special/class.ctor/p5-0x.cpp | 2 +- test/CXX/special/class.dtor/p5-0x.cpp | 2 +- test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp | 59 +- test/CXX/temp/temp.spec/temp.inst/p7.cpp | 12 + test/CodeCompletion/call.cpp | 2 +- test/CodeCompletion/ctor-initializer.cpp | 24 + test/CodeCompletion/function-overloads.cpp | 27 + test/CodeCompletion/included-files.cpp | 29 + test/CodeCompletion/member-access.c | 19 + test/CodeCompletion/paren_locs.cpp | 33 + test/CodeGen/adc-builtins.c | 20 +- test/CodeGen/adx-builtins.c | 10 +- test/CodeGen/arm-vfp16-arguments.c | 76 + test/CodeGen/arm_neon_intrinsics.c | 237 +- test/CodeGen/asan-strings.c | 17 + test/CodeGen/atomic-ops.c | 47 +- test/CodeGen/atomics-sema-alignment.c | 8 +- test/CodeGen/attr-speculative-load-hardening.c | 10 + test/CodeGen/attr-target-x86.c | 2 +- test/CodeGen/avr-inline-asm-constraints.c | 48 +- test/CodeGen/avr/attributes/interrupt.c | 2 +- test/CodeGen/avr/attributes/signal.c | 2 +- test/CodeGen/avx512bw-builtins.c | 398 ++ test/CodeGen/avx512dq-builtins.c | 246 + test/CodeGen/avx512f-builtins.c | 156 + test/CodeGen/bmi-builtins.c | 26 +- test/CodeGen/bool_test.c | 14 +- test/CodeGen/builtins-ppc-error.c | 6 + test/CodeGen/builtins-ppc-p7-disabled.c | 8 + test/CodeGen/builtins-ppc-p9-f128.c | 12 + test/CodeGen/builtins-ppc-vsx.c | 29 + test/CodeGen/builtins-wasm.c | 46 +- .../catch-implicit-integer-conversions-basics.c | 16 - ...implicit-integer-truncations-basics-negatives.c | 58 + .../catch-implicit-integer-truncations-basics.c | 16 - test/CodeGen/catch-implicit-integer-truncations.c | 63 +- test/CodeGen/cfstring-elf-cfbuild-x86_64.c | 36 + test/CodeGen/cfstring-elf-sections-x86_64.c | 23 + test/CodeGen/{CFStrings.c => cfstring3.c} | 20 +- test/CodeGen/cleanup-destslot-simple.c | 1 + test/CodeGen/code-coverage.c | 3 +- test/CodeGen/codemodels.c | 18 + test/CodeGen/darwin-ppc-varargs.c | 28 - test/CodeGen/darwin-string-literals.c | 8 - test/CodeGen/debug-info-gline-tables-only.c | 3 +- test/CodeGen/debug-info-gline-tables-only2.c | 3 +- test/CodeGen/debug-info-global-constant.c | 2 +- test/CodeGen/debug-info-line.c | 1 + test/CodeGen/debug-info-macro.c | 3 +- test/CodeGen/debug-info-names.c | 10 + test/CodeGen/debug-info-scope.c | 1 + test/CodeGen/dllimport.c | 3 +- test/CodeGen/dso-local-executable.c | 11 + test/CodeGen/keep-static-consts.cpp | 6 + test/CodeGen/lifetime-debuginfo-1.c | 1 + test/CodeGen/lifetime-debuginfo-2.c | 1 + test/CodeGen/lzcnt-builtins.c | 10 +- test/CodeGen/movbe-builtins.c | 49 + test/CodeGen/ms-intrinsics.c | 19 +- test/CodeGen/ms-x86-intrinsics.c | 40 +- test/CodeGen/pch-dllexport.cpp | 12 + test/CodeGen/pr18235.c | 2 +- test/CodeGen/rd-builtins.c | 9 + test/CodeGen/stackrealign-main.c | 19 + test/CodeGen/summary-index-unnamed-global.ll | 11 + test/CodeGen/target-data.c | 8 - test/CodeGen/wasm-arguments.c | 1 - test/CodeGen/wasm-varargs.c | 6 +- test/CodeGen/xray-attributes-noxray-supported.cpp | 29 + test/CodeGen/xray-attributes-supported.cpp | 21 +- test/CodeGenCUDA/link-device-bitcode.cu | 10 +- test/CodeGenCUDA/propagate-metadata.cu | 8 +- test/CodeGenCUDA/usual-deallocators.cu | 133 + .../aarch64-sign-return-address-static-ctor.cpp | 21 + test/CodeGenCXX/always_destroy.cpp | 31 + test/CodeGenCXX/atomic-inline.cpp | 61 +- test/CodeGenCXX/block-byref.cpp | 15 + test/CodeGenCXX/catch-undef-behavior.cpp | 4 +- test/CodeGenCXX/crash.cpp | 1 + test/CodeGenCXX/cxx2a-init-statement.cpp | 10 + test/CodeGenCXX/debug-info-blocks.cpp | 5 +- test/CodeGenCXX/debug-info-gline-tables-only.cpp | 3 +- test/CodeGenCXX/debug-info-lambda.cpp | 16 + test/CodeGenCXX/debug-info-line.cpp | 2 + test/CodeGenCXX/debug-info-ms-dtor-thunks.cpp | 1 + test/CodeGenCXX/debug-info-namespace.cpp | 5 + ...debug-info-template-explicit-specialization.cpp | 3 +- test/CodeGenCXX/debug-info-windows-dtor.cpp | 1 + test/CodeGenCXX/dllexport.cpp | 4 +- test/CodeGenCXX/dllimport-members.cpp | 2 +- test/CodeGenCXX/dllimport.cpp | 4 +- test/CodeGenCXX/dso-local-executable.cpp | 18 + test/CodeGenCXX/linetable-virtual-variadic.cpp | 1 + test/CodeGenCXX/mangle-long-double.cpp | 4 - test/CodeGenCXX/mangle-ms-templates.cpp | 28 +- .../microsoft-abi-static-initializers.cpp | 10 +- test/CodeGenCXX/microsoft-abi-vbtables.cpp | 2 +- test/CodeGenCXX/no_destroy.cpp | 31 + test/CodeGenCXX/pragma-init_seg.cpp | 4 +- test/CodeGenCXX/static-init-wasm.cpp | 2 +- .../visibility-inlines-hidden-staticvar.cpp | 65 + test/CodeGenCXX/vtable-align.cpp | 5 +- test/CodeGenCXX/vtable-linkage.cpp | 28 +- test/CodeGenCXX/wasm-args-returns.cpp | 26 +- test/CodeGenObjC/block-byref-debuginfo.m | 27 +- test/CodeGenObjCXX/arc-blocks.mm | 4 +- test/CodeGenObjCXX/arc-list-init-destruct.mm | 34 + test/CodeGenObjCXX/block-nested-in-lambda.cpp | 23 - test/CodeGenObjCXX/block-nested-in-lambda.mm | 82 + test/CodeGenObjCXX/debug-info-line.mm | 1 + test/CodeGenObjCXX/msabi-objc-extensions.mm | 32 + test/CodeGenObjCXX/pr14474-gline-tables-only.mm | 2 + test/Coverage/targets.c | 2 - .../PR27041/Rtypes.h => Driver/Inputs/in.so} | 0 .../aarch64-fuchsia/lib/libclang_rt.asan-preinit.a | 0 .../aarch64-fuchsia/lib/libclang_rt.asan.so | 0 .../aarch64-fuchsia/lib/libclang_rt.builtins.a | 0 .../aarch64-fuchsia/lib/libclang_rt.fuzzer.a | 0 .../aarch64-fuchsia/lib/libclang_rt.scudo.so | 0 .../i386-linux-gnu/lib/libclang_rt.builtins.a | 0 .../x86_64-fuchsia/lib/libclang_rt.asan-preinit.a | 0 .../x86_64-fuchsia/lib/libclang_rt.asan.so | 0 .../x86_64-fuchsia/lib/libclang_rt.builtins.a | 0 .../x86_64-fuchsia/lib/libclang_rt.fuzzer.a | 0 .../x86_64-fuchsia/lib/libclang_rt.scudo.so | 0 .../x86_64-linux-gnu/lib/libclang_rt.builtins.a | 0 test/Driver/XRay/lit.local.cfg | 2 +- test/Driver/XRay/xray-instrument-os.c | 2 +- .../XRay/xray-instrumentation-bundles-flags.cpp | 11 + test/Driver/Xarch.c | 19 +- test/Driver/aarch64-call-saved-x-register.c | 58 + test/Driver/aarch64-cpus.c | 133 +- test/Driver/aarch64-fixed-call-saved-x-register.c | 8 + test/Driver/aarch64-fixed-x-register.c | 71 + test/Driver/aarch64-fixed-x18.c | 4 - test/Driver/aarch64-fixed-x20.c | 4 - test/Driver/aarch64-rand.c | 13 + test/Driver/addrsig.c | 1 + test/Driver/amdgpu-visibility.cl | 7 + test/Driver/arm-cortex-cpus.c | 130 +- test/Driver/cl-options.c | 5 +- test/Driver/cl-pch.cpp | 65 + test/Driver/clang_f_opts.c | 5 + test/Driver/code-model.c | 2 + test/Driver/cuda-detect.cu | 8 +- test/Driver/cuda-macosx.cu | 2 +- test/Driver/debug-options.c | 60 +- test/Driver/fast-math.c | 2 + test/Driver/fembed-bitcode.c | 28 + test/Driver/fsanitize-coverage.c | 1 + test/Driver/fsanitize.c | 37 + test/Driver/header-module.cpp | 13 + test/Driver/hexagon-toolchain-elf.c | 2 +- test/Driver/hip-output-file-name.hip | 9 + test/Driver/hip-toolchain.hip | 6 +- test/Driver/linux-ld.c | 114 + test/Driver/linux-per-target-runtime-dir.c | 6 + test/Driver/mips-abi.c | 25 + test/Driver/mips-mti-linux.c | 4 +- test/Driver/msan.c | 28 +- test/Driver/msvc-link.c | 12 + test/Driver/openmp-offload-gpu.c | 50 +- test/Driver/openmp-offload.c | 6 +- test/Driver/output-file-cleanup.c | 1 + test/Driver/print-multi-directory.c | 28 + test/Driver/riscv32-toolchain.c | 37 +- test/Driver/sanitizer-ld.c | 3 + test/Driver/unknown-arg.c | 2 +- test/Driver/wasm32-unknown-unknown.cpp | 17 +- test/Driver/wasm64-unknown-unknown.cpp | 17 +- test/Driver/x86-target-features.c | 13 +- test/Frontend/dependency-gen-escaping.c | 2 +- test/Frontend/dependency-gen-has-include.c | 40 + test/Frontend/dependency-gen.c | 10 +- test/Frontend/warning-stdlibcxx-darwin.cpp | 2 +- test/Headers/arm-fp16-header.c | 19 + test/Headers/arm-neon-header.c | 18 + test/Import/array-init-loop-expr/Inputs/S.cpp | 5 + test/Import/array-init-loop-expr/test.cpp | 3 +- test/Import/cxx-casts/Inputs/F.cpp | 12 + test/Import/cxx-casts/test.cpp | 21 + test/Import/cxx-for-range/Inputs/F.cpp | 10 + test/Import/cxx-for-range/test.cpp | 58 + test/Import/cxx-noexcept-expr/Inputs/F.cpp | 1 + test/Import/cxx-noexcept-expr/test.cpp | 8 + test/Import/cxx-try-catch/Inputs/F.cpp | 18 + test/Import/cxx-try-catch/test.cpp | 39 + test/Import/for-stmt/Inputs/F.cpp | 2 + test/Import/for-stmt/test.cpp | 12 + test/Import/objc-autoreleasepool/Inputs/F.m | 5 + test/Import/objc-autoreleasepool/test.m | 9 + test/Import/objc-param-decl/Inputs/S.m | 5 + test/Import/objc-param-decl/test.m | 11 + test/Import/objc-try-catch/Inputs/F.m | 28 + test/Import/objc-try-catch/test.m | 43 + test/Import/pack-expansion-expr/Inputs/F.cpp | 11 + test/Import/pack-expansion-expr/test.cpp | 12 + test/Import/switch-stmt/Inputs/F.cpp | 18 + test/Import/switch-stmt/test.cpp | 47 + test/Index/Core/Inputs/module/SubModA.h | 2 + test/Index/Core/Inputs/module/SubSubModA.h | 2 + test/Index/Core/Inputs/module/module.modulemap | 12 +- test/Index/Core/external-source-symbol-attr.m | 2 +- test/Index/Core/index-source.m | 4 +- test/Index/Core/index-with-module.m | 10 +- test/Index/annotate-operator-call-expr.cpp | 84 + test/Index/complete-block-property-assignment.m | 9 +- test/Index/complete-pch-skip.cpp | 9 +- test/Index/index-template-specialization.cpp | 10 + test/Index/opencl-types.cl | 2 +- test/Index/print-type.cpp | 3 + test/Lexer/has_feature_memory_sanitizer.cpp | 1 + .../has_feature_undefined_behavior_sanitizer.cpp | 13 + test/Lexer/has_feature_xray_instrument.cpp | 11 + test/Lexer/unicode.c | 12 + test/Misc/ast-dump-attr.cpp | 21 + ...pragma-attribute-supported-attributes-list.test | 58 +- .../NotAFramework/Headers/Headers/Thing1.h | 1 + .../NotAFramework/Headers/Headers/Thing2.h | 1 + test/Modules/Inputs/no-module-map/a.h | 4 + test/Modules/Inputs/no-module-map/b.h | 5 + test/Modules/Inputs/odr_hash-Unresolved/class.h | 1 + .../Inputs/unavailable-local-visibility/a.h | 4 + .../Inputs/unavailable-local-visibility/b.h | 13 + .../unavailable-local-visibility/module.modulemap | 9 + .../Inputs/unavailable-local-visibility/x.h | 4 + test/Modules/cxx-templates.cpp | 2 + test/Modules/double-quotes.m | 3 + test/Modules/exception-spec.cpp | 36 + .../merge-template-pattern-visibility-2.cpp | 34 + .../merge-template-pattern-visibility-3.cpp | 34 + test/Modules/module_file_info.m | 1 + test/Modules/no-module-map.cpp | 48 + test/Modules/odr_hash-Friend.cpp | 10 +- test/Modules/odr_hash-blocks.cpp | 4 +- test/Modules/odr_hash-gnu.cpp | 130 + test/Modules/odr_hash-vector.cpp | 128 + test/Modules/odr_hash.cl | 80 + test/Modules/odr_hash.cpp | 566 ++- test/Modules/odr_hash.mm | 299 ++ test/Modules/relative-dep-gen.cpp | 6 +- test/Modules/submodules-merge-defs.cpp | 2 +- test/Modules/target-platform-features.m | 79 + test/Modules/unavailable-local-visibility.test | 2 + test/OpenMP/Inputs/declare_target_include.h | 3 + test/OpenMP/declare_reduction_ast_print.cpp | 14 + test/OpenMP/declare_reduction_messages.cpp | 22 +- test/OpenMP/declare_target_ast_print.cpp | 38 +- test/OpenMP/declare_target_codegen.cpp | 51 +- .../declare_target_codegen_globalization.cpp | 16 +- test/OpenMP/declare_target_messages.cpp | 22 +- test/OpenMP/distribute_codegen.cpp | 4 +- ...distribute_parallel_for_num_threads_codegen.cpp | 2 +- .../distribute_parallel_for_proc_bind_codegen.cpp | 2 +- ...ibute_parallel_for_simd_num_threads_codegen.cpp | 2 +- ...tribute_parallel_for_simd_proc_bind_codegen.cpp | 2 +- test/OpenMP/distribute_simd_codegen.cpp | 4 +- test/OpenMP/for_ast_print.cpp | 4 +- test/OpenMP/for_codegen.cpp | 4 +- test/OpenMP/for_firstprivate_codegen.cpp | 2 +- test/OpenMP/for_lastprivate_codegen.cpp | 2 +- test/OpenMP/for_linear_codegen.cpp | 2 +- test/OpenMP/for_reduction_codegen.cpp | 6 +- test/OpenMP/for_reduction_codegen_UDR.cpp | 6 +- test/OpenMP/for_reduction_messages.cpp | 12 +- test/OpenMP/nvptx_SPMD_codegen.cpp | 326 ++ .../nvptx_force_full_runtime_SPMD_codegen.cpp | 326 ++ test/OpenMP/nvptx_target_codegen.cpp | 18 +- test/OpenMP/nvptx_target_parallel_codegen.cpp | 4 +- .../nvptx_target_parallel_proc_bind_codegen.cpp | 6 +- .../nvptx_target_parallel_reduction_codegen.cpp | 6 +- test/OpenMP/nvptx_target_teams_codegen.cpp | 6 +- ...arget_teams_distribute_parallel_for_codegen.cpp | 33 +- ..._teams_distribute_parallel_for_simd_codegen.cpp | 33 +- test/OpenMP/ordered_codegen.cpp | 2 +- test/OpenMP/parallel_codegen.cpp | 4 +- test/OpenMP/parallel_copyin_codegen.cpp | 4 +- test/OpenMP/parallel_for_codegen.cpp | 2 +- test/OpenMP/parallel_num_threads_codegen.cpp | 2 +- test/OpenMP/parallel_proc_bind_codegen.cpp | 2 +- test/OpenMP/parallel_reduction_codegen.cpp | 2 +- test/OpenMP/requires_unified_address_ast_print.cpp | 16 + test/OpenMP/requires_unified_address_messages.cpp | 36 + test/OpenMP/sections_codegen.cpp | 4 +- test/OpenMP/sections_firstprivate_codegen.cpp | 2 +- test/OpenMP/sections_lastprivate_codegen.cpp | 2 +- test/OpenMP/sections_reduction_codegen.cpp | 4 +- test/OpenMP/single_codegen.cpp | 2 +- test/OpenMP/single_firstprivate_codegen.cpp | 2 +- test/OpenMP/target_map_codegen.cpp | 157 + test/OpenMP/target_map_messages.cpp | 2 - test/OpenMP/target_parallel_codegen.cpp | 2 +- test/OpenMP/target_parallel_for_codegen.cpp | 2 +- test/OpenMP/target_parallel_for_simd_codegen.cpp | 2 +- test/OpenMP/target_parallel_if_codegen.cpp | 2 +- .../OpenMP/target_parallel_num_threads_codegen.cpp | 2 +- test/OpenMP/target_teams_codegen.cpp | 2 +- test/OpenMP/target_teams_distribute_codegen.cpp | 2 +- ...s_distribute_parallel_for_proc_bind_codegen.cpp | 2 +- ...tribute_parallel_for_simd_proc_bind_codegen.cpp | 2 +- .../target_teams_distribute_simd_codegen.cpp | 2 +- test/OpenMP/target_teams_num_teams_codegen.cpp | 2 +- test/OpenMP/target_teams_thread_limit_codegen.cpp | 2 +- test/OpenMP/teams_codegen.cpp | 4 +- ...distribute_parallel_for_num_threads_codegen.cpp | 2 +- ...s_distribute_parallel_for_proc_bind_codegen.cpp | 2 +- ...ibute_parallel_for_simd_num_threads_codegen.cpp | 2 +- ...tribute_parallel_for_simd_proc_bind_codegen.cpp | 2 +- test/OpenMP/threadprivate_codegen.cpp | 2 +- test/PCH/Inputs/pch-hdrstop-use.cpp | 13 + test/PCH/Inputs/pch-no-hdrstop-use.cpp | 11 + test/PCH/cxx2a-for-init-statement.cpp | 8 + test/PCH/pch-hdrstop-err.cpp | 14 + test/PCH/pch-hdrstop-warn.cpp | 10 + test/PCH/pch-hdrstop.cpp | 28 + test/PCH/pch-no-hdrstop.cpp | 18 + test/Parser/cuda-kernel-call-c++11.cu | 6 +- test/Parser/cuda-kernel-call.cu | 4 +- test/Parser/cxx2a-init-statement.cpp | 34 + test/Parser/message-expr-alt-op.mm | 41 + test/Parser/pragma-attribute.cpp | 4 +- test/Preprocessor/aarch64-target-features.c | 31 +- test/Preprocessor/arm-acle-6.4.c | 19 +- test/Preprocessor/arm-target-features.c | 61 +- test/Preprocessor/empty_file_to_include.h | 7 + .../include-leading-nonalpha-no-suggest.c | 3 + test/Preprocessor/include-likely-typo.c | 3 + test/Preprocessor/init.c | 47 +- test/Preprocessor/predefined-arch-macros.c | 42 +- test/Preprocessor/woa-defaults.c | 2 +- test/Sema/Inputs/pragma-pack1.h | 2 +- test/Sema/address_spaces.c | 14 + test/Sema/atomic-implicit-seq_cst.c | 325 ++ test/Sema/attr-availability-ios.c | 4 +- test/Sema/attr-availability-tvos.c | 8 +- test/Sema/attr-availability-watchos.c | 4 +- test/Sema/attr-capabilities.c | 14 +- test/Sema/builtin-object-size.c | 4 +- test/Sema/builtins.c | 19 +- test/Sema/fixed-enum.c | 18 + test/Sema/format-strings-ms.c | 2 +- test/Sema/format-strings.c | 4 + test/Sema/suspicious-pragma-pack.c | 2 +- test/Sema/switch-availability.c | 27 + test/Sema/sync-implicit-seq_cst.c | 26 + test/Sema/warn-duplicate-enum.c | 10 +- test/SemaCUDA/call-host-fn-from-device.cu | 6 +- test/SemaCUDA/implicit-member-target.cu | 2 +- test/SemaCUDA/usual-deallocators.cu | 95 + test/SemaCXX/PR38913.cpp | 12 + test/SemaCXX/aggregate-initialization.cpp | 48 + test/SemaCXX/attr-cpuspecific.cpp | 3 + test/SemaCXX/calling-conv-compat.cpp | 43 +- test/SemaCXX/constant-expression-cxx11.cpp | 6 +- test/SemaCXX/constant-expression-cxx2a.cpp | 7 + test/SemaCXX/constexpr-string.cpp | 17 + test/SemaCXX/cxx0x-defaulted-functions.cpp | 8 +- test/SemaCXX/cxx0x-deleted-default-ctor.cpp | 6 +- .../SemaCXX/{cxx0x-compat.cpp => cxx11-compat.cpp} | 26 +- test/SemaCXX/cxx14-compat.cpp | 34 + test/SemaCXX/cxx17-compat.cpp | 38 +- test/SemaCXX/cxx1y-deduced-return-type.cpp | 70 + .../cxx1z-class-template-argument-deduction.cpp | 7 + test/SemaCXX/cxx2a-compat.cpp | 23 + test/SemaCXX/cxx2a-initializer-aggregates.cpp | 23 + test/SemaCXX/cxx2a-lambda-default-ctor-assign.cpp | 37 + test/SemaCXX/cxx98-compat.cpp | 3 +- test/SemaCXX/dr1301.cpp | 6 +- test/SemaCXX/exception-spec.cpp | 47 + test/SemaCXX/for-range-dereference.cpp | 6 +- test/SemaCXX/friend.cpp | 23 + test/SemaCXX/implicit-exception-spec.cpp | 22 +- test/SemaCXX/member-init.cpp | 20 +- test/SemaCXX/microsoft-dtor-lookup-cxx11.cpp | 4 +- test/SemaCXX/microsoft-varargs.cpp | 1 + test/SemaCXX/no_destroy.cpp | 46 + test/SemaCXX/rdar42746401.cpp | 7 + test/SemaCXX/subst-restrict.cpp | 18 + test/SemaCXX/thread-safety-annotations.h | 42 + test/SemaCXX/uninitialized.cpp | 6 +- test/SemaCXX/warn-exit-time-destructors.cpp | 5 + test/SemaCXX/warn-thread-safety-analysis.cpp | 309 +- test/SemaCXX/warn-thread-safety-negative.cpp | 42 +- test/SemaCXX/warn-thread-safety-parsing.cpp | 82 +- test/SemaCXX/warn-thread-safety-verbose.cpp | 40 +- test/SemaObjC/enum-fixed-type.m | 5 + test/SemaObjC/infer-availability-from-init.m | 58 + test/SemaObjC/property-assign-on-object-type.m | 19 + test/SemaObjC/property-in-class-extension-1.m | 4 +- test/SemaObjCXX/foreach.mm | 8 + test/SemaObjCXX/warn-thread-safety-analysis.mm | 44 + test/SemaOpenCL/access-qualifier.cl | 32 +- test/SemaOpenCL/block-array-capturing.cl | 16 + test/SemaOpenCL/clang-builtin-version.cl | 2 +- test/SemaOpenCL/extension-version.cl | 12 + test/SemaOpenCL/extensions.cl | 7 + test/SemaOpenCL/invalid-kernel-attrs.cl | 7 + test/SemaOpenCL/null_queue.cl | 26 +- test/SemaOpenCL/to_addr_builtin.cl | 82 +- test/SemaTemplate/exception-spec-crash.cpp | 4 +- test/SemaTemplate/instantiate-init.cpp | 6 +- test/Tooling/auto-detect-from-source.cpp | 10 +- test/Tooling/clang-check-analyzer.cpp | 3 + test/lit.site.cfg.py.in | 3 +- tools/c-index-test/core_main.cpp | 15 +- tools/clang-check/ClangCheck.cpp | 4 +- tools/clang-import-test/clang-import-test.cpp | 4 + tools/diagtool/DiagTool.cpp | 2 +- tools/driver/driver.cpp | 6 +- tools/libclang/CIndex.cpp | 142 +- tools/libclang/CIndexCodeCompletion.cpp | 7 +- tools/libclang/CMakeLists.txt | 19 + tools/libclang/CXCursor.cpp | 18 +- tools/libclang/CXIndexDataConsumer.cpp | 4 +- tools/libclang/CXIndexDataConsumer.h | 2 +- tools/libclang/CXType.cpp | 7 + tools/scan-build-py/libscanbuild/analyze.py | 2 - tools/scan-build/bin/scan-build | 44 +- tools/scan-build/libexec/ccc-analyzer | 5 - unittests/AST/ASTImporterTest.cpp | 632 ++- unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp | 75 + unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 2 +- unittests/ASTMatchers/Dynamic/ParserTest.cpp | 38 + unittests/ASTMatchers/Dynamic/RegistryTest.cpp | 3 +- unittests/Analysis/CMakeLists.txt | 1 + unittests/Analysis/ExprMutationAnalyzerTest.cpp | 1109 ++++ unittests/Basic/SourceManagerTest.cpp | 48 + unittests/Basic/VirtualFileSystemTest.cpp | 172 +- unittests/CMakeLists.txt | 1 + unittests/Format/FormatTest.cpp | 215 + unittests/Format/FormatTestJS.cpp | 13 + unittests/Index/CMakeLists.txt | 18 + unittests/Index/IndexTests.cpp | 125 + unittests/Rename/ClangRenameTest.h | 5 + unittests/Tooling/CompilationDatabaseTest.cpp | 42 +- unittests/Tooling/ExecutionTest.cpp | 2 + .../RecursiveASTVisitorTests/DeclRefExpr.cpp | 10 +- utils/TableGen/ClangAttrEmitter.cpp | 188 +- ...ngCommentHTMLNamedCharacterReferenceEmitter.cpp | 2 +- utils/TableGen/ClangDiagnosticsEmitter.cpp | 16 +- utils/TableGen/ClangOptionDocEmitter.cpp | 6 +- utils/TableGen/NeonEmitter.cpp | 6 +- utils/TableGen/TableGen.cpp | 12 + utils/analyzer/SATestBuild.py | 38 +- utils/analyzer/ubiviz | 76 - www/analyzer/alpha_checks.html | 119 + www/clang_video-05-25-2007.html | 16 +- www/clang_video-07-25-2007.html | 19 +- www/cxx_dr_status.html | 18 +- www/cxx_status.html | 22 +- www/diagnostics.html | 6 - www/features.html | 7 +- www/get_involved.html | 2 +- www/get_started.html | 12 +- www/index.html | 20 +- www/make_cxx_dr_status | 3 - www/menu.html.incl | 2 +- 1051 files changed, 42473 insertions(+), 30010 deletions(-) create mode 100644 include/clang/Analysis/Analyses/ExprMutationAnalyzer.h delete mode 100644 include/clang/Analysis/Analyses/PseudoConstantAnalysis.h delete mode 100644 include/clang/Analysis/ObjCRetainCount.h rename {lib/StaticAnalyzer/Checkers => include/clang/Analysis}/SelectorExtras.h (74%) delete mode 100644 include/clang/StaticAnalyzer/Core/PathSensitive/SMTContext.h create mode 100644 include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h rename lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountSummaries.h => in [...] create mode 100644 lib/Analysis/ExprMutationAnalyzer.cpp delete mode 100644 lib/Analysis/PseudoConstantAnalysis.cpp rename lib/Driver/ToolChains/{RISCV.cpp => RISCVToolchain.cpp} (80%) rename lib/Driver/ToolChains/{RISCV.h => RISCVToolchain.h} (77%) rename lib/StaticAnalyzer/{Checkers/RetainCountChecker/RetainCountSummaries.cpp => [...] delete mode 100644 lib/StaticAnalyzer/Core/SMTConstraintManager.cpp create mode 100644 test/Analysis/Inputs/expected-plists/lambda-notes.cpp.plist copy test/Analysis/{inlining/Inputs/expected-plists/path-notes.cpp.plist => Inputs [...] copy test/Analysis/{inlining/Inputs/expected-plists/eager-reclamation-path-notes.c [...] create mode 100644 test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp create mode 100644 test/Analysis/diagnostics/Inputs/expected-plists/plist-diagnost [...] create mode 100644 test/Analysis/diagnostics/Inputs/expected-plists/plist-multi-fi [...] copy test/Analysis/{Inputs/expected-plists/inline-plist.c.plist => diagnostics/Inp [...] create mode 100644 test/Analysis/diagnostics/find_last_store.c create mode 100644 test/Analysis/diagnostics/track_subexpressions.cpp create mode 100644 test/Analysis/dump_egraph.c create mode 100644 test/Analysis/expr-inspection.cpp create mode 100644 test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp create mode 100644 test/Analysis/invalidated-iterator.cpp create mode 100644 test/Analysis/mismatched-iterator.cpp create mode 100644 test/Analysis/osobject-retain-release.cpp delete mode 100644 test/Analysis/ubigraph-viz.cpp delete mode 100644 test/Analysis/uninit-vals-ps-region.m rename test/Analysis/{uninit-vals-ps.c => uninit-vals.c} (60%) create mode 100644 test/CXX/expr/expr.const/p6.cpp create mode 100644 test/CXX/temp/temp.spec/temp.inst/p7.cpp create mode 100644 test/CodeCompletion/function-overloads.cpp create mode 100644 test/CodeCompletion/included-files.cpp create mode 100644 test/CodeCompletion/paren_locs.cpp create mode 100644 test/CodeGen/arm-vfp16-arguments.c create mode 100644 test/CodeGen/asan-strings.c create mode 100644 test/CodeGen/attr-speculative-load-hardening.c create mode 100644 test/CodeGen/catch-implicit-integer-truncations-basics-negatives.c create mode 100644 test/CodeGen/cfstring-elf-cfbuild-x86_64.c create mode 100644 test/CodeGen/cfstring-elf-sections-x86_64.c rename test/CodeGen/{CFStrings.c => cfstring3.c} (89%) create mode 100644 test/CodeGen/codemodels.c delete mode 100644 test/CodeGen/darwin-ppc-varargs.c create mode 100644 test/CodeGen/debug-info-names.c create mode 100644 test/CodeGen/keep-static-consts.cpp create mode 100644 test/CodeGen/movbe-builtins.c create mode 100644 test/CodeGen/stackrealign-main.c create mode 100644 test/CodeGen/summary-index-unnamed-global.ll create mode 100644 test/CodeGen/xray-attributes-noxray-supported.cpp create mode 100644 test/CodeGenCUDA/usual-deallocators.cu create mode 100644 test/CodeGenCXX/aarch64-sign-return-address-static-ctor.cpp create mode 100644 test/CodeGenCXX/always_destroy.cpp create mode 100644 test/CodeGenCXX/block-byref.cpp create mode 100644 test/CodeGenCXX/cxx2a-init-statement.cpp create mode 100644 test/CodeGenCXX/debug-info-lambda.cpp create mode 100644 test/CodeGenCXX/no_destroy.cpp create mode 100644 test/CodeGenCXX/visibility-inlines-hidden-staticvar.cpp create mode 100644 test/CodeGenObjCXX/arc-list-init-destruct.mm delete mode 100644 test/CodeGenObjCXX/block-nested-in-lambda.cpp create mode 100644 test/CodeGenObjCXX/block-nested-in-lambda.mm copy test/{Modules/Inputs/PR27041/Rtypes.h => Driver/Inputs/in.so} (100%) copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/resource_dir_with_per [...] create mode 100644 test/Driver/XRay/xray-instrumentation-bundles-flags.cpp create mode 100644 test/Driver/aarch64-call-saved-x-register.c create mode 100644 test/Driver/aarch64-fixed-call-saved-x-register.c create mode 100644 test/Driver/aarch64-fixed-x-register.c delete mode 100644 test/Driver/aarch64-fixed-x18.c delete mode 100644 test/Driver/aarch64-fixed-x20.c create mode 100644 test/Driver/aarch64-rand.c create mode 100644 test/Driver/amdgpu-visibility.cl create mode 100644 test/Driver/fembed-bitcode.c create mode 100644 test/Driver/header-module.cpp create mode 100644 test/Driver/hip-output-file-name.hip create mode 100644 test/Driver/print-multi-directory.c create mode 100644 test/Frontend/dependency-gen-has-include.c create mode 100644 test/Headers/arm-fp16-header.c create mode 100644 test/Import/cxx-casts/Inputs/F.cpp create mode 100644 test/Import/cxx-casts/test.cpp create mode 100644 test/Import/cxx-for-range/Inputs/F.cpp create mode 100644 test/Import/cxx-for-range/test.cpp create mode 100644 test/Import/cxx-noexcept-expr/Inputs/F.cpp create mode 100644 test/Import/cxx-noexcept-expr/test.cpp create mode 100644 test/Import/cxx-try-catch/Inputs/F.cpp create mode 100644 test/Import/cxx-try-catch/test.cpp create mode 100644 test/Import/objc-autoreleasepool/Inputs/F.m create mode 100644 test/Import/objc-autoreleasepool/test.m create mode 100644 test/Import/objc-param-decl/Inputs/S.m create mode 100644 test/Import/objc-param-decl/test.m create mode 100644 test/Import/objc-try-catch/Inputs/F.m create mode 100644 test/Import/objc-try-catch/test.m create mode 100644 test/Import/pack-expansion-expr/Inputs/F.cpp create mode 100644 test/Import/pack-expansion-expr/test.cpp create mode 100644 test/Import/switch-stmt/Inputs/F.cpp create mode 100644 test/Import/switch-stmt/test.cpp create mode 100644 test/Index/Core/Inputs/module/SubModA.h create mode 100644 test/Index/Core/Inputs/module/SubSubModA.h create mode 100644 test/Index/annotate-operator-call-expr.cpp create mode 100644 test/Lexer/has_feature_undefined_behavior_sanitizer.cpp create mode 100644 test/Lexer/has_feature_xray_instrument.cpp create mode 100644 test/Modules/Inputs/double-quotes/NotAFramework/Headers/Headers [...] create mode 100644 test/Modules/Inputs/double-quotes/NotAFramework/Headers/Headers [...] create mode 100644 test/Modules/Inputs/no-module-map/a.h create mode 100644 test/Modules/Inputs/no-module-map/b.h create mode 100644 test/Modules/Inputs/unavailable-local-visibility/a.h create mode 100644 test/Modules/Inputs/unavailable-local-visibility/b.h create mode 100644 test/Modules/Inputs/unavailable-local-visibility/module.modulemap create mode 100644 test/Modules/Inputs/unavailable-local-visibility/x.h create mode 100644 test/Modules/exception-spec.cpp create mode 100644 test/Modules/merge-template-pattern-visibility-2.cpp create mode 100644 test/Modules/merge-template-pattern-visibility-3.cpp create mode 100644 test/Modules/no-module-map.cpp create mode 100644 test/Modules/odr_hash-gnu.cpp create mode 100644 test/Modules/odr_hash-vector.cpp create mode 100644 test/Modules/odr_hash.cl create mode 100644 test/Modules/odr_hash.mm create mode 100644 test/Modules/target-platform-features.m create mode 100644 test/Modules/unavailable-local-visibility.test create mode 100644 test/OpenMP/Inputs/declare_target_include.h create mode 100644 test/OpenMP/nvptx_SPMD_codegen.cpp create mode 100644 test/OpenMP/nvptx_force_full_runtime_SPMD_codegen.cpp create mode 100644 test/OpenMP/requires_unified_address_ast_print.cpp create mode 100644 test/OpenMP/requires_unified_address_messages.cpp create mode 100644 test/PCH/Inputs/pch-hdrstop-use.cpp create mode 100644 test/PCH/Inputs/pch-no-hdrstop-use.cpp create mode 100644 test/PCH/cxx2a-for-init-statement.cpp create mode 100644 test/PCH/pch-hdrstop-err.cpp create mode 100644 test/PCH/pch-hdrstop-warn.cpp create mode 100644 test/PCH/pch-hdrstop.cpp create mode 100644 test/PCH/pch-no-hdrstop.cpp create mode 100644 test/Parser/cxx2a-init-statement.cpp create mode 100644 test/Parser/message-expr-alt-op.mm create mode 100644 test/Preprocessor/empty_file_to_include.h create mode 100644 test/Preprocessor/include-leading-nonalpha-no-suggest.c create mode 100644 test/Preprocessor/include-likely-typo.c create mode 100644 test/Sema/atomic-implicit-seq_cst.c create mode 100644 test/Sema/fixed-enum.c create mode 100644 test/Sema/switch-availability.c create mode 100644 test/Sema/sync-implicit-seq_cst.c create mode 100644 test/SemaCUDA/usual-deallocators.cu create mode 100644 test/SemaCXX/PR38913.cpp rename test/SemaCXX/{cxx0x-compat.cpp => cxx11-compat.cpp} (68%) create mode 100644 test/SemaCXX/cxx14-compat.cpp create mode 100644 test/SemaCXX/cxx2a-compat.cpp create mode 100644 test/SemaCXX/cxx2a-initializer-aggregates.cpp create mode 100644 test/SemaCXX/cxx2a-lambda-default-ctor-assign.cpp create mode 100644 test/SemaCXX/no_destroy.cpp create mode 100644 test/SemaCXX/rdar42746401.cpp create mode 100644 test/SemaCXX/subst-restrict.cpp create mode 100644 test/SemaCXX/thread-safety-annotations.h create mode 100644 test/SemaObjC/infer-availability-from-init.m create mode 100644 test/SemaObjC/property-assign-on-object-type.m create mode 100644 test/SemaObjCXX/warn-thread-safety-analysis.mm create mode 100644 test/SemaOpenCL/block-array-capturing.cl create mode 100644 unittests/Analysis/ExprMutationAnalyzerTest.cpp create mode 100644 unittests/Index/CMakeLists.txt create mode 100644 unittests/Index/IndexTests.cpp delete mode 100755 utils/analyzer/ubiviz