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 ec037e2cf2 Updating branches/google/stable to r315680 adds 5fc21cc560 Initial branch to begin tracking the snapshot of this LLVM s [...] adds f531e8a43a Updating branches/google/testing to r168474 adds 3641aac63f Updating branches/google/testing to r169803 adds 2175426018 Updating branches/google/testing to r169803 adds e289c5c22a Updating branches/google/testing to 170392 adds 14eb71cc8b Updating branches/google/testing to r176857 adds d255a899b9 Updating branches/google/testing to r177703 adds cff50dbe7c Updating branches/google/testing to r182374 adds 57f024bed2 Updating branches/google/testing to r186332 adds b555d7c788 Updating branches/google/testing to r188423 adds 51ca315b8e Updating branches/google/testing to r189214 adds 686cbdaa04 Updating branches/google/testing to r192635 adds 194aa0b37b Updating branches/google/testing to r206155 adds 971399af67 Updating branches/google/testing to r206539 adds 6be8fc3e64 Updating branches/google/testing to r206678 adds acc391e9b5 Updating branches/google/testing to r208017 adds bfae8d98bc Updating branches/google/testing to r208445 adds 301fb9c80d Updating branches/google/testing to r209252 adds 7c4c12d1cd Updating branches/google/testing to r209387 adds 0dcc5f0771 Updating branches/google/testing to r210043 adds c8eec7d612 Updating branches/google/testing to r214475 adds 3aecf2f59f Updating branches/google/testing to r215195 adds b5c2edf5e0 Updating branches/google/testing to r216630 adds e48261067a Updating branches/google/testing to r217862 adds e04aa7a60c Updating branches/google/testing to r218707 adds 6f1fa74f86 Updating branches/google/testing to r219387 adds cc8a2b7d2f Updating branches/google/testing to r220284 adds a8d0bedcff Updating branches/google/testing to r220284 adds 4908441e6b Updating branches/google/testing to r220284 adds 9127aeefd4 Updating branches/google/testing to r220284 adds 4d384dfc38 Updating branches/google/testing to r220284 adds 1c39959a5b Updating branches/google/testing to r233350 adds 122d34ff84 Updating branches/google/testing to r233581 adds fc4137f859 Updating branches/google/testing to r235153 adds f7b865b4ae Updating branches/google/testing to r238924 adds 001110e41f Updating branches/google/testing to r239765 adds 27a831094d Updating branches/google/testing to r243773 adds 9c262a304a Updating branches/google/testing to r255243 adds 29f9b5878c Updating branches/google/testing to r257934 adds 7d18157794 Updating branches/google/testing to r263175 adds ce937fb47f Updating branches/google/testing to r263175 adds 2686569145 Updating branches/google/testing to r264688 adds 4f2136983c Updating branches/google/testing to r267754 adds a0a3ca9caa Updating branches/google/testing to r273260 adds d05b675d59 Updating branches/google/testing to r275480 adds 6ea07aea38 Updating branches/google/testing to r277323 adds 6db609b6ff Updating branches/google/testing to r285906 adds ba6fb1f1d7 Updating branches/google/testing to r285906 adds 3fd903b68b Updating branches/google/testing to r288672 adds 6a76017f24 Updating branches/google/testing to r288672 adds 36ea15616c Updating branches/google/testing to r289206 adds cd1b175aa9 Updating branches/google/testing to r297704 adds d11a5054f4 Remove an unused variable. adds f06fa44814 Fix an unused-variable warning. adds 558739b77f Hide "#pragma optimize("", off)" from clang when it pretends [...] adds 333a8748ba [CodeGen] EmitCXXMemberDataPointerAddress() to generate TBAA [...] adds 8c3b487226 [CodeGen] EmitLoadOfPointer() to generate TBAA info along wi [...] adds 85ef073903 [CodeGen] EmitLoadOfReference() to generate TBAA info along [...] adds 46d6052cd7 [SEH] Use the SEH personality on frontend-outlined funclets adds 8ebf4572cb [CodeGen] getNaturalTypeAlignment() to generate TBAA info al [...] adds 72f20cba6a Revert "[lit] Raise the logic for enabling clang & lld subst [...] adds 578a8d74e8 [CodeGen] emitOMPArraySectionBase() to generate TBAA info al [...] adds 53db9fb633 [X86] Add skeleton support for knm cpu adds 3912b80e45 [X86] Remove 'knm' defines from predefined-arch-macros.c test. adds 3704be1446 [CodeGen] EmitPointerWithAlignment() to generate TBAA info a [...] adds 6ac84e99d9 [analyzer] RetainCount: Ignore annotations on user-made CFRe [...] adds f5386a25ef [clang-refactor] Apply source replacements adds 39f710aba3 Revert "[CodeGen] EmitPointerWithAlignment() to generate TBA [...] adds ecbf0ff453 Basic: adjust attributes on `nan` LIBBUILTINs adds 89ba86c158 [analyzer] CStringChecker: pr34460: Avoid a crash when a cas [...] adds 68943cdc1a [analyzer] pr28449: Fix support for various array initializers. adds 8c0e129103 Fix -Woverloaded-virtual warning in clang-refactor adds f947052707 Allow building libFuzzer in two-stage compiler-rt build adds 912dc999b8 [Sema] Avoid iterator invalidation when code completing. adds e0b0cb83d4 Revert r315738 adds 2f4ad170dc Allow building libFuzzer tests in two-stage compiler-rt build. adds 3f58ee82b7 Fix backwards warning for use of C++17 attributes-on-namespa [...] adds 4318ef1cb3 [Lex] Avoid out-of-bounds dereference in SkipLineComment adds 94cbcd43ba [ubsan] Don't emit function signatures for non-static member [...] adds ad2da73ac3 [Sema] Warn about unused variables if we can constant evalua [...] adds 397c91b003 [OpenCL] Emit enqueued block as kernel adds e5914c6d35 Fix build failure on android due to missing std::to_string() adds 9541b49afd Revert rL315787, "[Sema] Warn about unused variables if we c [...] adds cb0b66133f Re-land r315787, "[Sema] Warn about unused variables if we c [...] adds cab29772c3 Mark test as unsupported until r315808 is fixed adds d460293595 Revert "Mark test as unsupported until r315808 is fixed" adds 3a7dad24b1 [c++2a] Implement P0306 __VA_OPT__ (Comma omission and comma [...] adds 47036068ec [c++2a] Fix failing regression test related to not adding th [...] adds ef29d18801 [Lex] Remove unused variables. No functionality change. adds 0b63209b05 Add -f[no-]double-square-bracket-attributes as new driver op [...] adds fca2243d3d [driver] [cl] Add/fix c++17/c++latest adds 432111cbd3 Driver: use ld64.lld when -fuse-ld=lld for darwin adds aba0729dd1 Fix test case regresstion from rL315864 adds 2c42fd5f93 Convert clang::LangAS to a strongly typed enum adds b2c9b51338 [Sema] Re-land: Diagnose tautological comparison with type's [...] adds e58dc968a1 [clang-format] Break non-trailing comments, try 2 adds c49d6ee820 [clang-rename] Add function unit tests. adds 30b847df63 [CUDA] Require libdevice only if needed adds f725de8314 [Bitfield] Add an option to access bitfield in a fine-graine [...] adds 04999db339 Recommit r315738 "[clang-refactor] Apply source replacements" adds ca5b79b381 Do not link clang_rt.cfi on Android. adds e9ec96ff97 clang-refactor: Use llvm_unreachable in an unused override adds 6de2efd195 [refactor] allow the use of refactoring diagnostics adds 86608a1a92 Clarify the 'interrupt' names in Attribute Docs adds 40df0cb905 Sort Attributes by "HeaderName" adds 1d8eb15fda Remove AnyX86Interrupt documentation adds d9cf6d4934 Replace usage of std::stringstream with raw_string_ostream adds 73c1500cc3 Make __builtin_types_compatible_p more like GCC's adds f98dea105e Don't print end-of-directive tokens in -E output adds 551dc900ed Fix usage in TableGen of getValueAsString adds 11e6fda273 [libclang] Visit attributes for function and class templates adds e38adb6a0a [libclang] Add support for querying cursor availability adds 185bad56b3 Basic: make the nan family pure adds 762d1e77cb [Coverage] Explicitly mark the l.h.s of && and || (fixes PR33465) adds fe8249cb5c [Coverage] Discard deferred region in closing if-else adds 6fe0ba5b2e [CodeGen] EmitPointerWithAlignment() to generate TBAA info a [...] adds cd196ce936 [CodeGen] Pass TBAA info along with lvalue base info everywhere adds e10677d71b [CodeGen] Refine generation of TBAA info for bit-field lvalues adds 19e976a471 [CMake][OpenMP] Customize default offloading arch adds 942e003931 [clang-rename] Rename enum. adds 2965315f6c CodeGen: Fix invalid bitcasts for atomic builtins adds 61664b6263 [OpenMP] Implement omp_is_initial_device() as builtin adds 1b641bcb61 [OPENMP] Fix capturing of boolean variables in debug mode. adds 4dd964422c Sema: use new `getNS{,U}IntegerType` for NS{,U}Integer adds f78232dcbf Replace use of SmallVector::back + pop_back with pop_back_val adds ba32363759 [OpenCL] Restrict swizzle length check to OpenCL mode adds c29141b4ed Expose ConsumeAnyToken interface to external clients. adds 6a20f1df93 Enable support for the [[nodiscard]] attribute from WG14 N20 [...] adds cca410711f This test case was missing -fsyntax-only, so I've added it. [...] adds 2301481f44 [CFG] Relax Wexceptions warning on rethrow adds ab38736dcc Fix PR34981, a crash-on-invalid merging dllimport to an inva [...] adds ac036d4cdb [Analyzer] Always use non-reference types when creating expr [...] adds a7e10abc2f Basic: fix `__INTPTR_TYPE__` for Windows ARM adds 1b1d1233bd Resubmit "[lit] Raise the logic for enabling clang & lld sub [...] adds 09c41bf0d2 Basic: fix __{,U}INTPTR_TYPE__ on ARM adds d5aad901c0 [CMake] Build Fuchsia toolchain as -O3 adds 5920af9409 [modules] When finding the owning module of an instantiated [...] adds e940f2f16c Provide a flag group to turn on/off all "binary literals" ex [...] adds 635ffc9d02 [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWR [...] adds aed3a60e36 [ASTImporter] Import SubStmt of CaseStmt adds 977de9aa10 [clang-rename] Rename alias. adds 1b97bbcc56 Silence -Wimplicit-fallthrough warnings with the generated c [...] adds 644b1eb1f2 Enable support for the [[fallthrough]] attribute from WG14 N [...] adds 58199aaa59 Silencing a redefinition warning that was not germane to the test. adds f53794cdab Enable support for the [[maybe_unused]] attribute from WG14 [...] adds adece34c34 [Hexagon] Handling of new HVX flags and target-features adds 2c6e8f835e [clang-proto-fuzzer] Use ToT protobuf-mutator. adds dab11d229e [refactor] selection: new CodeRangeASTSelection represents a [...] adds 7e9c7d8757 [refactor] Add a doc comment to the test function in the sel [...] adds 070fec4a83 [Driver] Fix use after free in Hexagon toolchain code. adds ac9a20e957 [clang-format] Sort whole block of using declarations while [...] adds b5f76b264e Fix capitalization of parameter adds 7d9b7a95bc Don't suppress instantiation of definitions for variables su [...] adds 3c7f433b74 [Headers] Fix typoed __ARM_DWARF_EH__ ifdefs adds 9d48724248 Fix a few nits in RenamingAction. adds 3c5f57098d [analyzer] Dump signed integers in SymIntExpr and IntSymExpr [...] adds a16acc3f8d [AMDGPU] Fix bug in enqueued block codegen due to an extra line adds 9d5150b14a Fix nodiscard for volatile references adds 73f05d5776 [Sema] Fix assertion failure when checking for unused variab [...] adds 65729bee40 [CGExprScalar] Add missing types in function GetIntrinsic adds 2178f1e610 AMDGPU: Parse r600 CPU name early and expose FMAF capability adds 65f011ebfc These attributes are supported by GCC with the gnu vendor na [...] adds 22b25a6d05 These attributes are not supported by GCC and should not be [...] adds cc28d36809 Try to shorten system header paths when using -MD depfiles adds 53df1a5045 Revert r316193. adds f4502ab59c Basic: restore {,u}intptr_t on NetBSD/ARM adds a312801e78 [CodeGen] Fix generation of TBAA info for array-to-pointer c [...] adds d6aede0fad [clang-refactor] Add "-Inplace" option to the commandline tool. adds 44c160f916 Allow /showIncludes with /P adds f20a280b3b [OpenMP] Avoid VLAs for some reductions on array sections adds d194f2aeb2 Revert "[OpenMP] Avoid VLAs for some reductions on array sections" adds 7c9e1b206c Implement current CWG direction for support of arrays of unk [...] adds 4290aec8a4 [Analyzer] Correctly handle parameters passed by reference w [...] adds 0e806a85e1 [CodeGen] add tests for __builtin_sqrt*; NFC adds 3bddc261dd Test commit adds a6d3ef7246 [bindings] allow null strings in Python 3 adds f8efbbb541 Fixing broken attribute documentation for __attribute__((noe [...] adds 7f6cbacea1 [Sema] Fixes for enum handling for tautological comparison d [...] adds caef7029e6 Add release notes for the recent -fdouble-square-bracket-att [...] adds 59611f54fa Fix a typo with -fno-double-square-bracket-attributes and ad [...] adds d02b8c6579 [libclang, bindings]: add spelling location adds b99743553a Reverting r316278 due to failing build bots. adds f027325999 [C++17] Fix PR34970 - tweak overload resolution for class te [...] adds 54b80d1987 Create fewer copies of StringMaps. No functionality change i [...] adds 45fcc58b7d [c++2a] Update cxx_status w __VA_OPT__ marked as completed in SVN. adds ef34bcb258 For better compatibility with C++11 and C++14, emit a nondis [...] adds 4e7c062862 [rename] Don't overwrite the template argument when renaming [...] adds c5924addee clang-cl: Expose --version. adds e2c4d8a5a4 Pull X86 "CPUKind" checking into .cpp file. [NFC] adds 8b07e281bf [ASTMatchers] Expose forEachOverriden in dynamic AST matchers. adds 5d08928420 CodeGen: Fix invalid bitcast in partial initialization of au [...] adds 13f1a2dfa1 [OpenMP] Avoid VLAs for some reductions on array sections adds 96af6760cd [Driver] Use ld.lld directly for Fuchsia rather than passing flavor adds b1ead8ba0f [Sema] Add support for flexible array members in Obj-C. adds 117339c38e [analyzer] Fix handling of labels in getLValueElement adds 2b1d1f02e9 [Analyzer] Do not use static storage to for implementations [...] adds 68518a40c2 [Analyzer] Handle implicit function reference in bodyfarming [...] adds 9f1735d6ac [Analyzer] Fix for the memory leak: fix typo in if-statement. adds fbbb8c17f5 Fix template parameter default args missed if redecled adds bca81dc70a Unnamed bitfields don't block constant evaluation of constex [...] adds a45d5bb59f [test] Fix clang-test for FreeBSD and NetBSD adds 55c536c590 [AArch64] Fix PR34625 -mtune without -mcpu should not set -t [...] adds 230376a3f6 [Tooling] Add a factory method for CommonOptionsParser adds 47dbb7c0df Do not add a colon chunk to the code completion of class inh [...] adds b4bdd6abd6 Add Forgotten test for: Fix template parameter default args [...] adds 91c475757b [modules] Add a regression test for merging anon decls in ex [...] adds 1e065697f1 Fix spelling in comment, field is isMsStruct, not Strust adds 103c2c8a5c Remove repeated function name in doxygen comment. adds 53710bdec5 [code completion] Complete ObjC methods in @implementation w [...] adds 58538f1154 [refactor] Initial outline of implementation of "extract fun [...] adds cbd4fdfd80 Add missing clangRewrite lib dependency for clangToolingRefactor adds c7d0ffff68 CodeGen: Fix missing debug loc due to alloca adds 3692af84ce [OPENMP] Fix PR35013: Fix passing VLAs captures to outlined [...] adds 05b3b1db31 [Sema] Document+test the -Wsign-compare change for enums in [...] adds 50ce061d12 mplement __has_unique_object_representations adds 62e08f4f12 Replaced unicode characters with ASCII, as introduced in r316518. adds 15627d6263 [Analyzer] Fix bug in testing scripts, which always marked r [...] adds 5c484035ac Correct behavior of fastcall when default CC is set. adds b7b9efb693 [Sema][ObjC] Look for either objc_bridge or objc_bridge_muta [...] adds 7ffb1b28fb [Analyzer] [Tests] Remove temporary fields from generated re [...] adds d8eca0ac08 [Analyzer] [Tests] Minor refactor of testing infrastructure: adds de45a2e1b7 [Analyzer] Store BodyFarm in std::unique_ptr adds 207aa590d0 [Analyzer] Remove unnecessary semicolon in analyzer tests. adds 394bf73d81 [Analyzer] Remove spaces inside comments mentioning the para [...] adds 74154ad51d [clang-refactor] Use add_clang_tool CMake template adds 1a88ad380c [CMake] Include clang-refactor in Fuchsia toolchain adds da2ddee084 [CMake] Build host builtins in Fuchsia toolchain even on Darwin adds fcbf0e691c CodeGen: fix a case of incorrect checks for ivars adds 890783b5e0 [clang-rename] Fix and enable the failing TemplatedClassFunc [...] adds 2bcd2d052e [rename] support renaming class member. adds c995e069f7 Add support of the next Ubuntu (Ubuntu 18.04 - Bionic Beaver) adds d26e800a52 Also update IsUbuntu() with Ubuntu Bionic Follow up of r316577 adds b3749a3005 Add support of the next Debian (Debian buster - version 10) adds f5a3eef961 [OPENMP] Constify function parameters, NFC. adds 1596739a8b [OPENMP] Improve debug info for taskgroup implicitly generat [...] adds 8dd1014922 [X86] Add avx512vpopcntdq to Knights Mill adds 5da49565c1 CodeGen: fix PPC Darwin variadics adds 1c6ec39fd7 Ignore implicity casts for zero-as-null-pointer-constant warning adds 516d04abee Enable -pie and --enable-new-dtags by default on Android. adds ae2ecba319 [CUDA] Print an error if you try to compile with < sm_30 on CUDA 9. adds a535f1e292 [Analyzer] Give more descriptive name to BdyFrm field. adds d67bfb9c5a [Analyzer] [Tests] Do not discard output from CmpRuns.py whe [...] adds 2150c7da3d Handle PragmaDebug in PPChainedCallbacks adds f19ada140e Allow StmtPrinter to supress implicit 'this' and 'self' base [...] adds 9107ad9e5f [Analyzer] [Tests] Consistently use exit codes. Use code=42 [...] adds e367d87861 [LSan] Enable -fsanitize=leak for PPC64 Linux. adds 9bc9ee5d23 Fix overloaded static functions in SemaCodeComplete adds e7a10639e3 [Tooling] A new framework for executing clang frontend actions. adds d090ddde40 Add a new attribute definition spelling, Clang<"attr">, that [...] adds 8084ad7fc6 Try to fix warnings and windows test failures caused by r316653 adds 5f17d5ca46 [Sema] -Wzero-as-null-pointer-constant: don't warn for syste [...] adds c9d23a99f0 Add objcCategoryImplDecl matcher adds 2cb4a7c648 Move MS inline asm parser methods out of line to reduce inde [...] adds 24608dda4d [X86] Add a target attribute test for no-sse4. adds b62a18f137 Simplify codegen and debug info generation for block context [...] adds 639ed1da2f Revert "Simplify codegen and debug info generation for block [...] adds bce8668f19 [Analyzer] [Tests] Write analyzers crashes to stdout, and no [...] adds 6a6960cec6 Simplify codegen and debug info generation for block context [...] adds 38a85bd42a Fix C++ testcase I forgot to add to r316689. adds 28250cddca [www] Regenerate diagnostics reference. adds 290485ca2f [CGBlocks] Improve line info in backtraces containing *_help [...] adds feb6dd4fa2 [X86][Driver] Move all of the X86 feature flags to one spot [...] adds 3b4d273c99 [X86] Make -march=i686 an alias of -march=pentiumpro adds d724af7fa8 Use -fuse-init-array if no gcc installation is found. adds 4987714617 [X86] Add 'sse4' to X86TargetInfo::isValidFeatureName adds 078b994a27 [WebAssembly] Include libclang_rt.builtins in the standard way adds 3e7ea4aed7 [CodeGen] Add support for IncompleteArrayType in Obj-C ivars. adds ca559e03cc Fix test/Driver/wasm-toolchain.c on windows adds d2d3a85d27 Test commit adds 224b1ed240 [CrossTU] Fix handling of Cross Translation Unit directory path adds 67b501a525 New lldb python module for managing diagnostic breakpoints adds d64b9c663c [WebAssembly] Add crt1.o with calling lld adds 1c09b76713 [Sema] Fix an assert-on-invalid by avoiding function templat [...] adds 99af5f07de [refactor] Describe refactorings in the operation classes adds d86c46ef96 Remove x86,x86_32/64 from isValidFeatureName adds 0cb2a76a4f Filter out invalid 'target' items from being passed to LLVM adds 5a3b980ac2 Replace a few usages of llvm::join with range-version[NFC] adds 4cd56764e0 ASTContext.h: Modularize/fix ODR violations by removing 'sta [...] adds befc935d63 CharInfo.h: Modularize/fix ODR violations by making inline f [...] adds 8ce4920de0 Sanitizers.h: Modularize/Fix ODR violations by making inline [...] adds d6689452f5 StaticAnalyzer: Modularize/fix ODR violations making functio [...] adds 0d8450b358 [Analyzer] [Tests] Dump the output of scan-build to stdout o [...] adds c124c77b3b [MS] Allow access to ambiguous, inaccessible direct bases adds b26cd8eec6 [Analyzer] [Tests] Fixing typo from the previous commit. adds c10c256001 ARM: centralise SizeType, PtrDiffType, and IntPtrType adds 7c2b4afc0b Never try to instantiate a deduction guide's "definition". F [...] adds 2fd1377b91 Basic: improve coverage for Darwin targets and fix ABI adds 5d548d284e [analyzer] LoopUnrolling: check the bitwidth of the used num [...] adds abf6311767 PR35039: Materialize temporary objects before wrapping them [...] adds a3962bae3f [analyzer] MisusedMovedObjectChecker: Fix false positive on [...] adds b25397ba80 [analyzer] MisusedMovedObjectChecker: More precise warning message adds 68e041468b Driver: default to `unsigned int` `wchar_t` for ARM adds 2ad457f760 [analyzer] Handle ObjC messages conservatively in CallDescription adds 402bbf7dc2 Add missing expected-no-diagnostics comment to test. adds a621a8df84 [analyzer] lock_guard and unique_lock extension for BlockInC [...] adds 7fc4b5017f [refactor] Fix a clang-tidy warning. adds a855bcfaf2 [CodeGen] Generate TBAA info for reference loads adds a154e5b192 [analyzer] Make issue hash related tests more concise adds 1157fbd7d6 [analyzer] Use the signature of the primary template for iss [...] adds bd3b05d2cc [clang-format] Format raw string literals adds 1f7d6d2a21 Keep MSVC2015 happy after r316903 adds 5aa4dd9f9d CodeGen: Fix insertion position of addrspace cast for alloca adds f822d3299b [clang-format] Handle CRLF correctly when formatting escaped [...] adds 1416d5328a [analyzer] Left shifting a negative value is undefined adds 1c7bbb9e3c Add a test to make sure that -Wdeprecated doesn't warn on us [...] adds df09bf1192 Undo accidental language mode change in this test. adds 13cb2b7774 [analyzer] [tests] Remove empty folders in reference results [...] adds 56a61ff5cc [analyzer] Use the same filename for the header and the impl [...] adds 8e62a65f20 [modules] Retain multiple using-directives in the same scope [...] adds 597fe911c1 Typo correct the condition of 'do-while' before exiting its scope adds ed8a16203b [refactor] select the entire DeclStmt if one ifs decls is selected adds 210431c813 [CodeGen] Propagate may-alias'ness of lvalues with TBAA info adds 7f519c8361 [CodeGen] map sqrt libcalls to llvm.sqrt when errno is not set adds daf2537d16 Fix usage of right shift operator in fold expressions adds a934273b7c [clang-fuzzer] Fix incremental builds of the fuzzer adds 746fd88cc6 [CFI] Add CFI-icall pointer type generalization adds a9fba7b0ec Fix for PR33930. Short-circuit metadata mapping when cloning [...] adds 9f13e3eb1b Make helper function static. NFC. adds 8f5bfda4bc Making a couple of tests a bit more flexible wrt thunk mangl [...] adds 3d102c8ddd [refactor][selection] code ranges can be selected in objc methods adds 06b063e3bb [refactor][extract] prohibit extraction of ObjC property setters adds 8ac52b01ce [refactor][extract] code extracted from inline method should [...] adds eb1c10e34d [Analyzer] Use value storage for BodyFarm adds 2680fb2e8a [c++17] Refine resolution of constructor / conversion functi [...] adds 93dccb5457 [X86] Define i586 and pentium preprocessor defines for -marc [...] adds dd478afe4c [analyzer] Removing unused stored field. adds bcfd8ea6e7 Change assertion to quick exit from checking function. adds 23966147d5 clang/lib/Format/Format.cpp: Fix warnings introduced in rL31 [...] adds 2276925224 Fix -Wunused-private-field to fire regardless of which impli [...] adds 57f668a2d1 Reformat. adds 3789ad4283 Fix warnings discovered by rL317076. [-Wunused-private-field] adds ba0893fc83 [clang-format] Make parseUnaryOperator non-recursive, NFCI adds c3c8524640 [ASTMatchers] Fix some Clang-tidy modernize and Include What [...] adds 7366f8e060 Fix missing -Wregister warning when 'register' is applied to [...] adds 0b8a53d586 CodeGen: simplify EH personality selection (NFC) adds 549aaf11af PR33746: Store the 'inline'ness of a static data member with [...] adds ad9b4c4084 [clang-rename] Use add_clang_tool adds f64cd485b4 [libclang] Add dummy libclang-headers target adds 4d085086c7 Fix typo in class annotation new 41af1698c5 Creating branches/google/testing and tags/google/testing/ fr [...] new e87a2b9b98 Creating branches/google/testing and tags/google/testing/201 [...]
The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: CMakeLists.txt | 11 + README.txt | 8 +- bindings/python/clang/cindex.py | 36 + bindings/python/tests/cindex/test_cursor.py | 45 + bindings/python/tests/cindex/test_index.py | 2 + cmake/caches/Fuchsia-stage2.cmake | 11 +- cmake/modules/ProtobufMutator.cmake | 19 +- docs/ClangCommandLineReference.rst | 4 + docs/ControlFlowIntegrity.rst | 17 + docs/DiagnosticsReference.rst | 796 +++++++++-- docs/LibASTMatchersReference.html | 9 + docs/ReleaseNotes.rst | 22 + docs/UsersManual.rst | 5 + include/clang/AST/ASTContext.h | 16 +- include/clang/AST/Decl.h | 18 +- include/clang/AST/DeclCXX.h | 10 + include/clang/AST/NestedNameSpecifier.h | 2 +- include/clang/AST/PrettyPrinter.h | 7 +- include/clang/AST/Type.h | 34 +- include/clang/ASTMatchers/ASTMatchers.h | 95 +- include/clang/ASTMatchers/ASTMatchersInternal.h | 131 +- include/clang/ASTMatchers/Dynamic/Parser.h | 31 +- include/clang/ASTMatchers/Dynamic/Registry.h | 16 +- include/clang/Analysis/AnalysisDeclContext.h | 19 +- {lib => include/clang}/Analysis/BodyFarm.h | 11 +- include/clang/Basic/AddressSpaces.h | 23 +- include/clang/Basic/AllDiagnostics.h | 1 + include/clang/Basic/Attr.td | 151 +-- include/clang/Basic/AttrDocs.td | 59 +- include/clang/Basic/Attributes.h | 2 + include/clang/Basic/Builtins.def | 9 +- include/clang/Basic/Builtins.h | 1 + include/clang/Basic/CMakeLists.txt | 1 + include/clang/Basic/CharInfo.h | 42 +- include/clang/Basic/Cuda.h | 4 + include/clang/Basic/Diagnostic.td | 1 + include/clang/Basic/DiagnosticASTKinds.td | 9 + include/clang/Basic/DiagnosticDriverKinds.td | 14 +- include/clang/Basic/DiagnosticGroups.td | 18 +- include/clang/Basic/DiagnosticIDs.h | 8 +- include/clang/Basic/DiagnosticLexKinds.td | 19 +- include/clang/Basic/DiagnosticParseKinds.td | 7 +- include/clang/Basic/DiagnosticRefactoringKinds.td | 34 + include/clang/Basic/DiagnosticSemaKinds.td | 45 +- include/clang/Basic/LangOptions.def | 2 + include/clang/Basic/Sanitizers.h | 2 +- include/clang/Basic/TargetInfo.h | 18 +- include/clang/Basic/TokenKinds.def | 2 + include/clang/Basic/TypeTraits.h | 3 +- include/clang/Config/config.h.cmake | 9 +- include/clang/Driver/Distro.h | 6 +- include/clang/Driver/Options.td | 298 ++-- include/clang/Driver/SanitizerArgs.h | 3 + include/clang/Format/Format.h | 36 + include/clang/Frontend/CodeGenOptions.def | 3 + include/clang/Frontend/CommandLineSourceLoc.h | 46 + include/clang/Frontend/VerifyDiagnosticConsumer.h | 3 +- include/clang/Lex/MacroArgs.h | 14 + include/clang/Lex/PPCallbacks.h | 5 + include/clang/Lex/Preprocessor.h | 2 + include/clang/Lex/TokenLexer.h | 22 +- include/clang/Lex/VariadicMacroSupport.h | 232 +++- include/clang/Parse/Parser.h | 85 +- include/clang/Sema/AttributeList.h | 5 + include/clang/Sema/Scope.h | 3 + include/clang/Sema/Sema.h | 10 +- include/clang/StaticAnalyzer/Checkers/Checkers.td | 4 - .../StaticAnalyzer/Core/BugReporter/BugReporter.h | 2 +- ...{BugReporterVisitor.h => BugReporterVisitors.h} | 6 +- .../StaticAnalyzer/Core/PathSensitive/MemRegion.h | 15 +- .../StaticAnalyzer/Core/PathSensitive/SVals.h | 9 +- .../StaticAnalyzer/Core/PathSensitive/SymExpr.h | 6 + .../Core/PathSensitive/SymbolManager.h | 7 - include/clang/Tooling/CommonOptionsParser.h | 22 +- include/clang/Tooling/Execution.h | 168 +++ include/clang/Tooling/Refactoring/ASTSelection.h | 81 ++ .../clang/Tooling/Refactoring/Extract/Extract.h | 53 + .../Refactoring/RefactoringActionRegistry.def | 7 - .../Tooling/Refactoring/RefactoringActionRule.h | 14 + .../RefactoringActionRuleRequirements.h | 32 +- .../Refactoring/RefactoringActionRulesInternal.h | 7 +- .../Tooling/Refactoring/RefactoringDiagnostic.h | 30 + .../Tooling/Refactoring/RefactoringRuleContext.h | 22 + .../Tooling/Refactoring/Rename/RenamingAction.h | 22 +- include/clang/Tooling/StandaloneExecution.h | 97 ++ include/clang/Tooling/ToolExecutorPluginRegistry.h | 24 + include/clang/Tooling/Tooling.h | 6 +- include/clang/module.modulemap | 3 +- lib/AST/ASTContext.cpp | 32 +- lib/AST/ASTImporter.cpp | 10 +- lib/AST/Decl.cpp | 11 +- lib/AST/Expr.cpp | 3 +- lib/AST/ExprConstant.cpp | 99 +- lib/AST/ItaniumMangle.cpp | 2 +- lib/AST/RecordLayoutBuilder.cpp | 2 +- lib/AST/StmtPrinter.cpp | 42 +- lib/AST/StmtProfile.cpp | 4 +- lib/AST/Type.cpp | 145 ++ lib/AST/TypePrinter.cpp | 12 +- lib/ASTMatchers/ASTMatchersInternal.cpp | 52 +- lib/ASTMatchers/Dynamic/Marshallers.h | 102 +- lib/ASTMatchers/Dynamic/Parser.cpp | 43 +- lib/ASTMatchers/Dynamic/Registry.cpp | 50 +- lib/Analysis/AnalysisDeclContext.cpp | 36 +- lib/Analysis/BodyFarm.cpp | 182 ++- lib/Basic/Builtins.cpp | 3 +- lib/Basic/Cuda.cpp | 12 + lib/Basic/DiagnosticIDs.cpp | 5 +- lib/Basic/TargetInfo.cpp | 4 +- lib/Basic/Targets/AMDGPU.cpp | 16 +- lib/Basic/Targets/AMDGPU.h | 8 +- lib/Basic/Targets/ARM.cpp | 48 +- lib/Basic/Targets/Hexagon.cpp | 49 +- lib/Basic/Targets/Hexagon.h | 14 +- lib/Basic/Targets/X86.cpp | 100 +- lib/Basic/Targets/X86.h | 76 +- lib/CodeGen/CGAtomic.cpp | 47 +- lib/CodeGen/CGBlocks.cpp | 73 +- lib/CodeGen/CGBuiltin.cpp | 117 +- lib/CodeGen/CGCall.cpp | 11 +- lib/CodeGen/CGClass.cpp | 8 +- lib/CodeGen/CGDebugInfo.cpp | 16 +- lib/CodeGen/CGDebugInfo.h | 4 +- lib/CodeGen/CGDecl.cpp | 6 +- lib/CodeGen/CGException.cpp | 24 +- lib/CodeGen/CGExpr.cpp | 397 +++--- lib/CodeGen/CGExprConstant.cpp | 10 +- lib/CodeGen/CGExprScalar.cpp | 13 +- lib/CodeGen/CGObjCMac.cpp | 17 +- lib/CodeGen/CGObjCRuntime.cpp | 3 +- lib/CodeGen/CGOpenCLRuntime.cpp | 36 + lib/CodeGen/CGOpenCLRuntime.h | 14 + lib/CodeGen/CGOpenMPRuntime.cpp | 28 +- lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 4 +- lib/CodeGen/CGRecordLayoutBuilder.cpp | 37 +- lib/CodeGen/CGStmtOpenMP.cpp | 27 +- lib/CodeGen/CGVTables.cpp | 34 +- lib/CodeGen/CGValue.h | 38 +- lib/CodeGen/CodeGenFunction.cpp | 43 +- lib/CodeGen/CodeGenFunction.h | 73 +- lib/CodeGen/CodeGenModule.cpp | 95 +- lib/CodeGen/CodeGenModule.h | 31 +- lib/CodeGen/CodeGenTBAA.cpp | 71 +- lib/CodeGen/CodeGenTBAA.h | 62 +- lib/CodeGen/CodeGenTypeCache.h | 5 +- lib/CodeGen/CodeGenTypes.h | 5 +- lib/CodeGen/ConstantEmitter.h | 10 +- lib/CodeGen/CoverageMappingGen.cpp | 40 +- lib/CodeGen/TargetInfo.cpp | 184 ++- lib/CodeGen/TargetInfo.h | 28 +- lib/CrossTU/CrossTranslationUnit.cpp | 5 +- lib/Driver/Distro.cpp | 3 + lib/Driver/SanitizerArgs.cpp | 32 +- lib/Driver/ToolChain.cpp | 14 +- lib/Driver/ToolChains/Arch/AArch64.cpp | 16 +- lib/Driver/ToolChains/Clang.cpp | 22 +- lib/Driver/ToolChains/CommonArgs.cpp | 10 +- lib/Driver/ToolChains/Cuda.cpp | 48 +- lib/Driver/ToolChains/Cuda.h | 13 +- lib/Driver/ToolChains/Fuchsia.cpp | 6 +- lib/Driver/ToolChains/Fuchsia.h | 2 +- lib/Driver/ToolChains/Gnu.cpp | 18 +- lib/Driver/ToolChains/Hexagon.cpp | 80 +- lib/Driver/ToolChains/Hexagon.h | 2 +- lib/Driver/ToolChains/Linux.cpp | 9 +- lib/Driver/ToolChains/WebAssembly.cpp | 5 +- lib/Format/BreakableToken.cpp | 6 + lib/Format/BreakableToken.h | 9 + lib/Format/ContinuationIndenter.cpp | 174 ++- lib/Format/ContinuationIndenter.h | 42 +- lib/Format/Format.cpp | 94 +- lib/Format/FormatInternal.h | 79 ++ lib/Format/FormatTokenLexer.cpp | 22 +- lib/Format/FormatTokenLexer.h | 2 +- lib/Format/NamespaceEndCommentsFixer.cpp | 4 +- lib/Format/NamespaceEndCommentsFixer.h | 2 +- lib/Format/SortJavaScriptImports.cpp | 10 +- lib/Format/TokenAnalyzer.cpp | 35 +- lib/Format/TokenAnalyzer.h | 47 +- lib/Format/TokenAnnotator.cpp | 21 +- lib/Format/TokenAnnotator.h | 5 +- lib/Format/UnwrappedLineFormatter.cpp | 69 +- lib/Format/UnwrappedLineFormatter.h | 8 +- lib/Format/UnwrappedLineParser.cpp | 9 +- lib/Format/UnwrappedLineParser.h | 7 + lib/Format/UsingDeclarationsSorter.cpp | 17 +- lib/Format/UsingDeclarationsSorter.h | 2 +- lib/Format/WhitespaceManager.cpp | 5 + lib/Format/WhitespaceManager.h | 2 + lib/Frontend/CompilerInvocation.cpp | 18 + lib/Frontend/PrecompiledPreamble.cpp | 2 +- lib/Frontend/PrintPreprocessedOutput.cpp | 6 + lib/Frontend/Rewrite/FrontendActions.cpp | 2 +- lib/Frontend/Rewrite/RewriteModernObjC.cpp | 2 +- lib/Frontend/Rewrite/RewriteObjC.cpp | 2 +- lib/Frontend/VerifyDiagnosticConsumer.cpp | 13 +- lib/FrontendTool/ExecuteCompilerInvocation.cpp | 14 +- lib/Headers/unwind.h | 6 +- lib/Lex/Lexer.cpp | 7 +- lib/Lex/MacroArgs.cpp | 10 + lib/Lex/PPDirectives.cpp | 67 +- lib/Lex/Preprocessor.cpp | 22 +- lib/Lex/TokenLexer.cpp | 167 ++- lib/Parse/ParseDecl.cpp | 31 +- lib/Parse/ParseDeclCXX.cpp | 45 +- lib/Parse/ParseExpr.cpp | 8 +- lib/Parse/ParseStmt.cpp | 3 + lib/Parse/ParseStmtAsm.cpp | 218 +-- lib/Parse/Parser.cpp | 12 +- lib/Sema/AnalysisBasedWarnings.cpp | 24 +- lib/Sema/AttributeList.cpp | 5 +- lib/Sema/Sema.cpp | 21 +- lib/Sema/SemaChecking.cpp | 266 ++-- lib/Sema/SemaCodeComplete.cpp | 41 +- lib/Sema/SemaDecl.cpp | 145 +- lib/Sema/SemaDeclAttr.cpp | 4 +- lib/Sema/SemaDeclCXX.cpp | 60 +- lib/Sema/SemaDeclObjC.cpp | 114 +- lib/Sema/SemaExpr.cpp | 69 +- lib/Sema/SemaExprCXX.cpp | 17 +- lib/Sema/SemaExprMember.cpp | 8 +- lib/Sema/SemaLookup.cpp | 14 +- lib/Sema/SemaObjCProperty.cpp | 8 + lib/Sema/SemaOpenMP.cpp | 118 +- lib/Sema/SemaOverload.cpp | 69 +- lib/Sema/SemaTemplate.cpp | 28 +- lib/Sema/SemaTemplateDeduction.cpp | 5 +- lib/Sema/SemaTemplateInstantiateDecl.cpp | 19 +- lib/Sema/SemaType.cpp | 36 +- lib/Serialization/ASTReaderDecl.cpp | 4 + lib/Serialization/ASTWriter.cpp | 2 + lib/Serialization/ASTWriterDecl.cpp | 1 + .../Checkers/BlockInCriticalSectionChecker.cpp | 54 +- lib/StaticAnalyzer/Checkers/CStringChecker.cpp | 37 +- lib/StaticAnalyzer/Checkers/DebugCheckers.cpp | 33 - .../Checkers/ExprInspectionChecker.cpp | 18 +- .../Checkers/MisusedMovedObjectChecker.cpp | 59 +- lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp | 5 + lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp | 4 + lib/StaticAnalyzer/Core/AnalysisManager.cpp | 46 +- lib/StaticAnalyzer/Core/BasicValueFactory.cpp | 2 + lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 2 +- lib/StaticAnalyzer/Core/CallEvent.cpp | 4 +- lib/StaticAnalyzer/Core/IssueHash.cpp | 7 + lib/StaticAnalyzer/Core/LoopUnrolling.cpp | 11 +- lib/StaticAnalyzer/Core/RegionStore.cpp | 13 +- lib/StaticAnalyzer/Core/Store.cpp | 5 +- lib/StaticAnalyzer/Core/SymbolManager.cpp | 12 +- lib/Tooling/ArgumentsAdjusters.cpp | 4 + lib/Tooling/CMakeLists.txt | 2 + lib/Tooling/CommonOptionsParser.cpp | 53 +- lib/Tooling/Execution.cpp | 89 ++ lib/Tooling/Refactoring/ASTSelection.cpp | 157 +++ .../Refactoring/ASTSelectionRequirements.cpp | 48 + lib/Tooling/Refactoring/CMakeLists.txt | 3 + lib/Tooling/Refactoring/Extract.cpp | 195 +++ lib/Tooling/Refactoring/RefactoringActions.cpp | 71 +- lib/Tooling/Refactoring/Rename/RenamingAction.cpp | 90 +- .../Refactoring/Rename/USRFindingAction.cpp | 20 + lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | 232 +++- lib/Tooling/StandaloneExecution.cpp | 91 ++ lib/Tooling/Tooling.cpp | 7 +- runtime/CMakeLists.txt | 4 +- test/Analysis/MisusedMovedObject.cpp | 72 +- test/Analysis/bitwise-ops.c | 7 + test/Analysis/block-in-critical-section.cpp | 42 + test/Analysis/block-in-critical-section.m | 10 + test/Analysis/bstring.cpp | 41 + test/Analysis/bug_hash_test.cpp | 1423 ++------------------ test/Analysis/bug_hash_test.m | 1182 +--------------- test/Analysis/call_once.cpp | 56 +- test/Analysis/casts.c | 26 + test/Analysis/compound-literals.c | 9 + test/Analysis/conversion.c | 2 +- test/Analysis/edges-new.mm | 2 +- test/Analysis/expr-inspection.c | 1 + test/Analysis/loop-unrolling.cpp | 6 + test/Analysis/null-deref-ps.c | 4 +- test/Analysis/objc-encode.m | 9 + test/Analysis/ptr-arith.c | 5 + test/Analysis/retain-release-safe.c | 72 + test/Analysis/temp-obj-dtors-cfg-output.cpp | 81 +- .../dcl.dcl/dcl.attr/dcl.attr.fallthrough/p1.cpp | 2 +- .../CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp | 12 + test/CXX/dcl.dcl/dcl.spec/dcl.stc/p2.cpp | 1 + test/CXX/over/over.match/over.match.best/p1.cpp | 6 +- .../over.match.class.deduct/p2.cpp | 37 +- test/CodeGen/2005-07-20-SqrtNoErrno.c | 10 - test/CodeGen/attr-target-x86.c | 25 +- test/CodeGen/builtin-sqrt.c | 19 + test/CodeGen/builtins.c | 9 + test/CodeGen/cfi-icall-cross-dso.c | 10 +- test/CodeGen/cfi-icall-generalize.c | 19 + test/CodeGen/cfi-icall.c | 10 +- test/CodeGen/darwin-ppc-varargs.c | 28 + test/CodeGen/debug-info-block-vars.c | 20 + test/CodeGen/hexagon-inline-asm.c | 2 +- test/CodeGen/libcall-declarations.c | 600 ++++----- test/CodeGen/libcalls.c | 25 +- test/CodeGen/ppc-vector-compare.cc | 25 +- test/CodeGen/tbaa-array.cpp | 18 + test/CodeGen/tbaa-cast.cpp | 23 + test/CodeGen/tbaa-reference.cpp | 36 +- test/CodeGenCXX/blocks.cpp | 1 - test/CodeGenCXX/catch-undef-behavior.cpp | 60 + test/CodeGenCXX/cfi-icall.cpp | 19 +- test/CodeGenCXX/cxx1z-copy-omission.cpp | 26 + test/CodeGenCXX/cxx1z-inline-variables.cpp | 18 +- test/CodeGenCXX/default_calling_conv.cpp | 7 + test/CodeGenCXX/dllimport-members.cpp | 4 +- test/CodeGenCXX/exceptions-seh.cpp | 21 + test/CodeGenCXX/finegrain-bitfield-access.cpp | 162 +++ test/CodeGenCXX/microsoft-inaccessible-base.cpp | 20 + test/CodeGenCXX/tmp-md-nodes1.cpp | 18 + test/CodeGenCXX/tmp-md-nodes2.cpp | 33 + test/CodeGenCXX/vla.cpp | 31 +- test/CodeGenObjC/debug-info-block-captured-self.m | 72 - test/CodeGenObjC/debug-info-blocks.m | 21 +- test/CodeGenObjC/dllstorage.m | 10 + test/CodeGenObjC/ivar-layout-flexible-array.m | 28 + test/CodeGenOpenCL/amdgcn-automatic-variable.cl | 8 + test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl | 45 + test/CodeGenOpenCL/atomic-ops.cl | 78 +- test/CodeGenOpenCL/blocks.cl | 2 + test/CodeGenOpenCL/cl20-device-side-enqueue.cl | 188 ++- test/CodeGenOpenCL/func-call-dbg-loc.cl | 18 + test/CoverageMapping/deferred-region.cpp | 22 +- test/CoverageMapping/logical.cpp | 15 +- test/CoverageMapping/macro-expansion.c | 6 +- .../usr/local/cuda/bin/.keep | 0 .../usr/local/cuda/include}/.keep | 0 .../usr/local/cuda/lib}/.keep | 0 .../usr/local/cuda/lib64}/.keep | 0 .../usr/local/cuda/bin/.keep | 0 .../bin => CUDA_90/usr/local/cuda/include}/.keep | 0 .../cuda/bin => CUDA_90/usr/local/cuda/lib}/.keep | 0 .../bin => CUDA_90/usr/local/cuda/lib64}/.keep | 0 .../usr/local/cuda/nvvm/libdevice/libdevice.10.bc | 0 .../Inputs/CUDA_90/usr/local/cuda/version.txt | 1 + test/Driver/aarch64-cpus.c | 244 ++-- test/Driver/android-pie.c | 66 + test/Driver/arm-wchar_t-defaults.c | 53 + test/Driver/cl-options.c | 10 +- test/Driver/constructors.c | 6 + test/Driver/cuda-bad-arch.cu | 6 + test/Driver/cuda-detect.cu | 16 +- test/Driver/fsanitize.c | 19 +- test/Driver/fuchsia.c | 7 +- test/Driver/fuchsia.cpp | 5 +- test/Driver/hexagon-hvx.c | 90 ++ test/Driver/linux-ld.c | 26 +- test/Driver/pic.c | 43 +- test/Driver/sanitizer-ld.c | 42 +- test/Driver/wasm-toolchain.c | 4 +- test/Driver/x86-march.c | 4 + test/Index/annotate-attribute.cpp | 12 + test/Index/complete-call.cpp | 61 + test/Index/complete-method-decls.m | 22 + test/Index/complete-super.cpp | 5 + test/Misc/ast-dump-c-attr.c | 46 + test/Modules/cxx17-inline-variables.cpp | 30 + test/Modules/merge-anon-in-extern_c.cpp | 19 + test/Modules/using-directive-redecl.cpp | 37 + test/Modules/visibility-in-instantiation.cpp | 51 + test/OpenMP/for_reduction_codegen.cpp | 293 +++- test/OpenMP/for_reduction_codegen_UDR.cpp | 137 +- test/OpenMP/is_initial_device.c | 36 + test/OpenMP/parallel_codegen.cpp | 6 +- test/OpenMP/target_firstprivate_codegen.cpp | 2 +- test/OpenMP/target_parallel_codegen.cpp | 4 +- test/OpenMP/target_parallel_debug_codegen.cpp | 4 +- test/OpenMP/target_teams_codegen.cpp | 4 +- test/OpenMP/taskgroup_task_reduction_codegen.cpp | 20 +- test/OpenMP/vla_crash.c | 22 +- test/Parser/builtin_types_compatible.c | 17 + test/Parser/c2x-attributes.c | 122 ++ test/Parser/c2x-attributes.m | 21 + test/Parser/cxx0x-attributes.cpp | 4 +- test/Parser/cxx1z-fold-expressions.cpp | 17 + test/Preprocessor/hexagon-predefines.c | 45 +- test/Preprocessor/init.c | 115 +- test/Preprocessor/macro_vaopt_check.cpp | 64 + test/Preprocessor/macro_vaopt_expand.cpp | 148 ++ test/Preprocessor/predefined-arch-macros.c | 101 +- test/Preprocessor/print-assembler.s | 16 + test/Preprocessor/stdint.c | 10 +- test/Preprocessor/woa-defaults.c | 5 + test/Refactor/Extract/ExtractExprIntoFunction.cpp | 56 + test/Refactor/Extract/FromMethodToFunction.cpp | 42 + test/Refactor/Extract/ObjCProperty.m | 41 + test/Refactor/LocalRename/Field.cpp | 8 +- .../Refactor/LocalRename/NoSymbolSelectedError.cpp | 8 + test/Refactor/tool-apply-replacements.cpp | 9 + test/Refactor/tool-selection-option.c | 15 + test/Refactor/tool-test-support.c | 5 + test/Sema/attr-deprecated-c2x.c | 54 + .../p1.cpp => Sema/c2x-fallthrough.c} | 27 +- test/Sema/c2x-maybe_unused-errors.c | 12 + test/Sema/c2x-maybe_unused.c | 35 + test/Sema/c2x-nodiscard.c | 49 + test/Sema/dllimport.c | 7 +- test/Sema/outof-range-constant-compare.c | 159 --- test/Sema/outof-range-enum-constant-compare.c | 379 ++++++ test/Sema/sign-compare-enum.c | 24 + test/Sema/tautological-constant-compare.c | 514 +++++++ test/Sema/tautological-constant-enum-compare.c | 419 ++++++ .../Sema/tautological-unsigned-enum-zero-compare.c | 220 ++- .../tautological-unsigned-enum-zero-compare.cpp | 243 +++- test/Sema/tautological-unsigned-zero-compare.c | 377 +++++- test/Sema/transparent-union.c | 2 +- test/Sema/vector_swizzle_length.c | 10 + test/SemaCXX/Inputs/warn-zero-nullptr.h | 3 + test/SemaCXX/accessible-base.cpp | 32 +- test/SemaCXX/attr-cxx-disabled.cpp | 12 + test/SemaCXX/constant-expression-cxx11.cpp | 51 +- test/SemaCXX/constexpr-array-unknown-bound.cpp | 26 + test/SemaCXX/cxx0x-compat.cpp | 7 +- .../cxx1z-class-template-argument-deduction.cpp | 4 +- test/SemaCXX/cxx1z-copy-omission.cpp | 9 + test/SemaCXX/cxx1z-noexcept-function-type.cpp | 2 +- test/SemaCXX/cxx98-compat-flags.cpp | 6 +- test/SemaCXX/deprecated.cpp | 10 +- test/SemaCXX/flexible-array-test.cpp | 5 + test/SemaCXX/missing-members.cpp | 14 + .../template-default-param-through-using.cpp | 33 + test/SemaCXX/type-traits.cpp | 233 ++++ test/SemaCXX/unused.cpp | 2 +- test/SemaCXX/varargs.cpp | 2 +- test/SemaCXX/warn-global-constructors.cpp | 19 + test/SemaCXX/warn-throw-out-noexcept-func.cpp | 21 +- test/SemaCXX/warn-unused-private-field.cpp | 17 + test/SemaCXX/warn-unused-variables.cpp | 43 + test/SemaCXX/warn-zero-nullptr.cpp | 71 +- test/SemaObjC/flexible-array-arc.m | 36 + test/SemaObjC/flexible-array.m | 288 ++++ test/SemaObjC/ivar-sem-check-1.m | 5 +- .../Inputs/nullability-completeness-cferror.h | 13 + test/SemaObjCXX/flexible-array.mm | 37 + .../SemaObjCXX/nullability-completeness-cferror.mm | 5 + test/SemaObjCXX/typo-correction.mm | 34 +- test/SemaOpenCL/vector_swizzle_length.cl | 2 +- test/SemaTemplate/cxx17-inline-variables.cpp | 7 + test/SemaTemplate/deduction-crash.cpp | 17 + .../explicit-specialization-member.cpp | 12 +- test/SemaTemplate/extern-templates.cpp | 7 + test/SemaTemplate/temp_arg_nontype_cxx1z.cpp | 3 + test/Unit/lit.cfg.py | 34 +- test/clang-rename/TemplatedClassFunction.cpp | 17 +- test/lit.cfg.py | 2 + tools/clang-refactor/CMakeLists.txt | 2 +- tools/clang-refactor/ClangRefactor.cpp | 139 +- tools/clang-refactor/TestSupport.cpp | 83 +- tools/clang-refactor/TestSupport.h | 4 +- .../clang-refactor/ToolRefactoringResultConsumer.h | 48 + tools/clang-rename/CMakeLists.txt | 4 +- tools/diagtool/DiagnosticNames.cpp | 1 + tools/libclang/ARCMigrate.cpp | 4 +- tools/libclang/CIndex.cpp | 6 +- tools/libclang/CMakeLists.txt | 5 + tools/libclang/CXType.cpp | 5 +- unittests/AST/ASTImporterTest.cpp | 13 + unittests/AST/StmtPrinterTest.cpp | 74 +- unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 8 +- unittests/CrossTU/CrossTranslationUnitTest.cpp | 26 +- unittests/Format/CMakeLists.txt | 1 + unittests/Format/FormatTest.cpp | 48 +- unittests/Format/FormatTestComments.cpp | 67 + unittests/Format/FormatTestJS.cpp | 21 + unittests/Format/FormatTestRawStrings.cpp | 733 ++++++++++ unittests/Format/UsingDeclarationsSorterTest.cpp | 32 +- unittests/Frontend/CMakeLists.txt | 1 + unittests/Frontend/ParsedSourceLocationTest.cpp | 37 + unittests/Lex/LexerTest.cpp | 5 + unittests/Rename/CMakeLists.txt | 4 + unittests/Rename/RenameAliasTest.cpp | 304 +++++ unittests/Rename/RenameClassTest.cpp | 1 + unittests/Rename/RenameEnumTest.cpp | 189 +++ unittests/Rename/RenameFunctionTest.cpp | 574 ++++++++ unittests/Rename/RenameMemberTest.cpp | 229 ++++ unittests/Tooling/ASTSelectionTest.cpp | 337 ++++- unittests/Tooling/CMakeLists.txt | 1 + unittests/Tooling/ExecutionTest.cpp | 228 ++++ unittests/Tooling/RefactoringActionRulesTest.cpp | 41 +- utils/TableGen/ClangAttrEmitter.cpp | 208 +-- utils/analyzer/SATestBuild.py | 220 +-- utils/analyzer/SATestUpdateDiffs.py | 17 +- utils/analyzer/SATestUtils.py | 100 ++ utils/clangdiag.py | 192 +++ www/cxx_status.html | 2 +- 489 files changed, 18283 insertions(+), 6754 deletions(-) rename {lib => include/clang}/Analysis/BodyFarm.h (86%) create mode 100644 include/clang/Basic/DiagnosticRefactoringKinds.td rename include/clang/StaticAnalyzer/Core/BugReporter/{BugReporterVisitor.h => BugR [...] create mode 100644 include/clang/Tooling/Execution.h create mode 100644 include/clang/Tooling/Refactoring/Extract/Extract.h delete mode 100644 include/clang/Tooling/Refactoring/RefactoringActionRegistry.def create mode 100644 include/clang/Tooling/Refactoring/RefactoringDiagnostic.h create mode 100644 include/clang/Tooling/StandaloneExecution.h create mode 100644 include/clang/Tooling/ToolExecutorPluginRegistry.h create mode 100644 lib/Format/FormatInternal.h create mode 100644 lib/Tooling/Execution.cpp create mode 100644 lib/Tooling/Refactoring/ASTSelectionRequirements.cpp create mode 100644 lib/Tooling/Refactoring/Extract.cpp create mode 100644 lib/Tooling/StandaloneExecution.cpp create mode 100644 test/Analysis/block-in-critical-section.m create mode 100644 test/Analysis/compound-literals.c create mode 100644 test/Analysis/objc-encode.m create mode 100644 test/Analysis/retain-release-safe.c delete mode 100644 test/CodeGen/2005-07-20-SqrtNoErrno.c create mode 100644 test/CodeGen/builtin-sqrt.c create mode 100644 test/CodeGen/cfi-icall-generalize.c create mode 100644 test/CodeGen/darwin-ppc-varargs.c create mode 100644 test/CodeGen/debug-info-block-vars.c create mode 100644 test/CodeGen/tbaa-array.cpp create mode 100644 test/CodeGen/tbaa-cast.cpp create mode 100644 test/CodeGenCXX/finegrain-bitfield-access.cpp create mode 100644 test/CodeGenCXX/microsoft-inaccessible-base.cpp create mode 100644 test/CodeGenCXX/tmp-md-nodes1.cpp create mode 100644 test/CodeGenCXX/tmp-md-nodes2.cpp delete mode 100644 test/CodeGenObjC/debug-info-block-captured-self.m create mode 100644 test/CodeGenObjC/ivar-layout-flexible-array.m create mode 100644 test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl create mode 100644 test/CodeGenOpenCL/func-call-dbg-loc.cl copy test/Driver/Inputs/{CUDA-macosx => CUDA-nolibdevice}/usr/local/cuda/bin/.keep (100%) copy test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA-nolibdevice/usr/lo [...] copy test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA-nolibdevice/usr/lo [...] copy test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA-nolibdevice/usr/lo [...] copy test/Driver/Inputs/{CUDA-macosx => CUDA_90}/usr/local/cuda/bin/.keep (100%) copy test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA_90/usr/local/cuda/ [...] copy test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA_90/usr/local/cuda/ [...] copy test/Driver/Inputs/{CUDA-macosx/usr/local/cuda/bin => CUDA_90/usr/local/cuda/ [...] copy bindings/python/tests/__init__.py => test/Driver/Inputs/CUDA_90/usr/local/cud [...] create mode 100644 test/Driver/Inputs/CUDA_90/usr/local/cuda/version.txt create mode 100644 test/Driver/android-pie.c create mode 100644 test/Driver/arm-wchar_t-defaults.c create mode 100644 test/Driver/hexagon-hvx.c create mode 100644 test/Misc/ast-dump-c-attr.c create mode 100644 test/Modules/cxx17-inline-variables.cpp create mode 100644 test/Modules/merge-anon-in-extern_c.cpp create mode 100644 test/Modules/using-directive-redecl.cpp create mode 100644 test/Modules/visibility-in-instantiation.cpp create mode 100644 test/OpenMP/is_initial_device.c create mode 100644 test/Parser/c2x-attributes.c create mode 100644 test/Parser/c2x-attributes.m create mode 100644 test/Preprocessor/macro_vaopt_check.cpp create mode 100644 test/Preprocessor/macro_vaopt_expand.cpp create mode 100644 test/Preprocessor/print-assembler.s create mode 100644 test/Refactor/Extract/ExtractExprIntoFunction.cpp create mode 100644 test/Refactor/Extract/FromMethodToFunction.cpp create mode 100644 test/Refactor/Extract/ObjCProperty.m create mode 100644 test/Refactor/LocalRename/NoSymbolSelectedError.cpp create mode 100644 test/Refactor/tool-apply-replacements.cpp create mode 100644 test/Refactor/tool-selection-option.c create mode 100644 test/Sema/attr-deprecated-c2x.c copy test/{CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/p1.cpp => Sema/c2x-fallthroug [...] create mode 100644 test/Sema/c2x-maybe_unused-errors.c create mode 100644 test/Sema/c2x-maybe_unused.c create mode 100644 test/Sema/c2x-nodiscard.c create mode 100644 test/Sema/outof-range-enum-constant-compare.c create mode 100644 test/Sema/sign-compare-enum.c create mode 100644 test/Sema/tautological-constant-compare.c create mode 100644 test/Sema/tautological-constant-enum-compare.c create mode 100644 test/Sema/vector_swizzle_length.c create mode 100644 test/SemaCXX/Inputs/warn-zero-nullptr.h create mode 100644 test/SemaCXX/attr-cxx-disabled.cpp create mode 100644 test/SemaCXX/constexpr-array-unknown-bound.cpp create mode 100644 test/SemaCXX/template-default-param-through-using.cpp create mode 100644 test/SemaObjC/flexible-array-arc.m create mode 100644 test/SemaObjC/flexible-array.m create mode 100644 test/SemaObjCXX/Inputs/nullability-completeness-cferror.h create mode 100644 test/SemaObjCXX/flexible-array.mm create mode 100644 test/SemaObjCXX/nullability-completeness-cferror.mm create mode 100644 test/SemaTemplate/cxx17-inline-variables.cpp create mode 100644 tools/clang-refactor/ToolRefactoringResultConsumer.h create mode 100644 unittests/Format/FormatTestRawStrings.cpp create mode 100644 unittests/Frontend/ParsedSourceLocationTest.cpp create mode 100644 unittests/Rename/RenameAliasTest.cpp create mode 100644 unittests/Rename/RenameEnumTest.cpp create mode 100644 unittests/Rename/RenameFunctionTest.cpp create mode 100644 unittests/Rename/RenameMemberTest.cpp create mode 100644 unittests/Tooling/ExecutionTest.cpp create mode 100644 utils/analyzer/SATestUtils.py create mode 100755 utils/clangdiag.py