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 3529b7ae3c Updating branches/google/stable to r305862 adds 2738ea8d91 [ODRHash] Supply more information when generic error message [...] adds 508d7a3926 Run dos2unix on ms-intrinsics-rotations.c test. NFC adds 480d0489f4 Support MS builtins using 'long' on LP64 platforms adds 03143a6b2c Changed wording in comment adds 864bf1d491 Moved code hanlding precompiled preamble out of the ASTUnit. adds 1299cb573f Revert r305678: [driver][macOS] Pick the system version for [...] adds 4bdcdc6ddd [analyzer] LocalizationChecker: Support new localizable APIs. adds 12b5e0baa2 Fix unused-variable compilation error. adds a86381f7e1 [analyzer] Bump a few default performance thresholds. adds 2b802eb186 [clang-format] Support sorting using declarations adds a3faa5a0e1 Fixed compiler warnings after r305890. adds cabb95e081 Function with unparsed body is a definition adds 4a8ecfcda3 [index] Nested class declarations should be annotated with t [...] adds 100ecde90e clang-format: introduce InlineOnly short function style adds a807ad0a5a Correct VectorCall x86 (32 bit) behavior for SSE Register As [...] adds dba970f4d1 Use -NOT prefix instead of adding `not` to FileCheck. adds b5b472a91f [preprocessor] Fix assertion hit when 'SingleFileParseMode' [...] adds 612cecf9e4 [test] Make absolute line numbers relative; NFC adds 8585646360 SwiftCC: Perform physical layout when computing coercion types adds 02f895ab3e [analyzer] Do not continue to analyze a path if the constrai [...] adds ac0f61a33a [index] Add the "SpecializationOf" relation to the forward d [...] adds 0900716ae2 [Sema] Add -Wunguarded-availability-new adds 9607465f43 PR33002: When we instantiate the definition of a static data [...] adds 20f171571b [WebAssembly] Add default -allow-undefined-file to linker args adds 8f8ada1d40 PR33552: Distinguish between declarations that are owned by [...] adds 516572b016 Add missing file from r306075. adds 742c4c8423 [Frontend] 'Show hotness' can be used with a sampling profile adds 8864382ad9 [clang-format] Update style documentation, NFC adds 4c8bc8646c [clang-format] Update dump_format_style.py to indent nested fields adds 598aad0fe0 [clang-format] Add a SortUsingDeclaration option and enable [...] adds bd5d53a9d0 PR26195: Set correct NestedNameSpecifierLoc for the dependen [...] adds 4b3bb6fed5 Revert r306103: "PR26195: Set correct NestedNameSpecifierLoc [...] adds 418fa96808 Revert "Revert r305164/5/7." adds 289dbf7f13 Sort the autocomplete candidates before printing them out. adds e69da60ae2 test: fix negative test case adds 24989b1838 docs: Add documentation for the ThinLTO cache pruning policy [...] adds 99621ffe51 Add a ThinLTO cache policy for controlling the maximum cache [...] adds 0737f6e150 [GSoC] Add support for CC1 options. adds 20e77878ed [MS] Don't statically initialize dllimport member function pointers adds 59a70fe4b6 Emit warning when throw exception in destruct or dealloc fun [...] adds 26143cdb50 Add test for 306149, warn on throw from noexcept adds 310e9c901a [MSP430] Fix data layout string. adds 9766b30760 [ubsan] Improve diagnostics for return value checks (clang) adds 856c94c730 Revert "[MS] Don't statically initialize dllimport member fu [...] adds 6090a3754a [ubsan] Disable the object size check at -O0 adds 283ac36731 Add a warning to a group adds 5ffe2de01e Add support for Ananas platform adds 908e5ec11c [bash-autocompletion] Delete space after flags which has '=' prefix adds 6bbba4bc2d Fix a typo adds 9aa5da98fa clang-format - Also reference the list of style option of cl [...] adds 5e20da547e Testcase missed from r306075. adds 703b84157f [mips] Enable IAS by default for Android 64-bit MIPS target (N64) adds 5a9269f4b2 Improve const-correctness. adds 0adbf0f7a5 [inline asm][gcc-compatiblity] "=i" output constraint support adds 0426124102 [inline asm] dot operator while using imm generates wrong ir [...] adds b6301cec3e [Sema] Fix a crash-on-invalid when a template parameter list [...] adds 9e788cd10a When preprocessing with -frewrite-imports and -fmodule-file= [...] adds f2468c5d9d Remove some redundant setup when preprocessing .pcm files. adds 6cfb5bf418 Check that the initializer of a non-dependent constexpr vari [...] adds 3cbedc8c4a [clang] Enable printf check for CFIndex adds 74dbb6c51a Revert r301742, which caused us to try to evaluate all full- [...] adds 6eb5127d53 AST: enhance mangling for blocks with MS ABI adds af487b8dce Fix this test to use a construct that actually forces struct [...] adds 0113b11a31 Remove redundant check. adds 11150dad8c [CodeGen][ObjC] Fix GNU's encoding of bit-field ivars. adds 0cf2d68b92 clang/test/CodeGenObjC/ivar-type-encoding.m: Tweak to satisfy -m32. adds 30b4551661 Switch TestVisitor to Lang_C via -x c adds 1c3de69555 Make sure TraverseInitListExpr visits InitListExpr exactly twice adds ee9a82d871 Make CastExpr::getSubExprAsWritten look through implicit tem [...] adds 701e513011 Reapply "Frontend support for Nios2 target" adds 8aeb339f32 Revert "Revert "[NFC] Refactor DiagnosticRenderer to use Ful [...] adds 8be210b0a2 [clang-format] Add a test for associative map proto buffer fields adds 2d10542533 Recommit r306103: PR26195: Set correct NestedNameSpecifierLo [...] adds 7a2b284075 [analyzer] Move zero-size allocation checks to optin.portability. adds ace84ec3ef [clang-format] Support <>-style proto message fields adds 2f35ace325 [clang-format] Fix a buildbot failure after r306406 adds c18c00d569 [clang-format] Fix a clang-tidy warning, NFC adds 5a17e5c770 [OPENMP] Use MapVector instead of DenseMap for stable codegen, NFC. adds 086ae87da4 Update test for enabling ICP for AutoFDO. adds 4b751f5fa6 [x86] weaken test checks that shouldn't be here in the first place adds dcdc5a7d3c Update the test comment to clarify the intention of the test. adds 004e95174d CodeGen: load indirect ObjC ARC arguments in prologue adds f255da2ab7 test: fix test for release builds adds 563c0ec65e [Sema] Allow unmarked overloadable functions. adds 34efc84dff [libclang] Support for querying the exception specification [...] adds 5b7d7d2b2d [COFF, ARM64] Add support for Windows ARM64 COFF format adds afd3b93fc8 [CodeGen] Fix assertion failure in EmitCallArg. adds 9b79aecc27 Remove a redundant call to ArgList::hasFlag. NFC. adds f1a55e9516 DiagnosticRenderer.h: Prune \param SM, corresponding to rL30 [...] adds 48a9f92925 Fix crash in clang while handling __has_trivial_destructor. adds 351c5b32bd Use vfs::FileSystem in ASTUnit when creating CompilerInvocation. adds ddb61cae6a [Bash-autocompletion] Check clang version in Bash adds af42c8bd38 [Bash-autocompletion] Invoke clang where user called adds 145692ef46 [ASTReader] Treat multiple defns of ObjC protocols the same [...] adds 64b75be74b CodeGen: handle missed case of COMDAT handling adds 2d7d5c241b Track the set of module maps read while building a .pcm file [...] adds 7416a3a78f Factor out a functionality from isBeforeInTranslationUnit adds 322c1b3546 [OpenCL] Allow function declaration with empty argument list. adds 3f3ec7612c [Tooling] FixedCompilationDatabase should be able to strip p [...] adds ba2af70d9c Revert r306653, "[OpenCL] Allow function declaration with em [...] adds 1747f04c52 [clang-format] Fix parsing of msg{field}-style proto options adds e3c11765ca [Clang][X86][Goldmont]Adding new target-cpu: Goldmont adds c416cf246d Fix NSAPI constants to reflect the current state of NSString [...] adds 71607099bc [OpenMP] Add support for auxiliary triple specification adds 9959fc27fd [OpenMP] Pass -fopenmp-is-device to preprocessing and machin [...] adds e157d3d2a7 Initialize variable and silence potentially uninitialized warning. adds afca04ace5 [OPENMP][DEBUG] Generate second function with correct arg types. adds da1f3cf541 Fixed -Wexceptions derived-to-base false positives adds 6703d83ed5 CodeGen: Fix invalid bitcast for coerced function argument adds eaa720dff6 [Sema] Issue diagnostics if a new/delete expression generate [...] adds 3636b96e18 [OpenMP] Fix test for revision D29645. NFC adds f832c35ecb [ASTReader] Add test for previous change r306583 / 145692e. adds f4236bfdbd [libFuzzer] Do not link in libFuzzer with -fsanitize=fuzzer [...] adds 78aa30a644 [libFuzzer] Add Fuzzer to the list of sanitizers which suppo [...] adds 158a1fe17b Insert llvm_unreachable at the end of a function to silence [...] adds adea55fa1f Fix openmp-offload.c test on Windows adds 820a533883 [ODRHash] Improve typedef handling. adds e4158c49f4 [ThinkLTO] Invoke build(Thin)?LTOPreLinkDefaultPipeline. adds ae1ed388cd [NewPM] Add Clang cc1 flag -fdebug-pass-manager for printing [...] adds fe7b37a8ff [clang-format] Switch to case-insensitive header matching an [...] adds 9f28442d72 Teach ASTReader how to read only the Preprocessor state from [...] adds db18c6fcf7 [PM] Add support for sample PGO in the new pass manager (cla [...] adds 1fd33aee50 Unified logic for computing target ABI in backend and front [...] adds 6f6b2e231c [CodeGen] Propagate dllexport to thunks adds 115b2ce907 [WebAssembly] Add throw/rethrow builtins for exception handling adds 2d0264ba15 Test Commit adds 2b17779e61 Remove test commit. adds a7f9678242 Remove Clang support for '-fvectorize-slp-aggressive' which [...] adds 44fc78d568 fix trivial typos, NFC adds 6b7518998a Add -no-canonical-prefixes to the test line so that we can h [...] adds 09c135e20c Fold exception-warnings.cpp into warn-throw-out-noexcept-func.cpp adds 26f8a8d2c4 Fix heap use after free introduced by r306769. adds 6853ca9a40 ARMV8-A archkind and target defines helper functions adds 0c223be753 Ambiguity might be also uninitialized. Use llvm::Optional. adds f5f1f63df1 [Driver] Actually report errors during parsing instead of st [...] adds 21a927f1c4 [OPENMP] Initial support for taskloop reductions. adds a3da1d2079 [OpenCL] Add function name to extension diagnostic adds 0375288466 Driver: honor -nostdinc and -isystem-after on CrossWindows adds fa96f87e33 Driver: fix option declaration adds 813f275eef Revert "[CodeGen] Propagate dllexport to thunks" adds 75ec5aa401 [MS] Test that deleting destructor thunks are not exported adds fc0baba7f6 [objc] Don't require null-check and don't emit memset when r [...] adds 4803aff743 [refactor] Move clang-rename into the clang repository adds 4fde676b95 Use add_clang_unittest in the CMakeLists.txt for the moved unittest adds 4c75105321 Move ClassReplacements.cpp test from clang-rename tests to t [...] adds 431c8af92f Attempt to fix the linkage error caused by r306840 on the mi [...] adds 7f9026a907 [X86] Move all atom CPUs to the same section of the switch a [...] adds 9dd68b7525 [X86] Add a break to the last case of a few switches to prev [...] adds 912945a78d [X86] Add RDRND feature to Goldmont. Add MOVBE to all Atom CPUs. adds 77c1cc560f [ORE] Use LLVM's "diagnostics hotness" spelling adds fcf6e44da0 clang-format: Do not binpack initialization lists adds 1e786d52fd [clang-rename] Just return instead of calling exit(3) from main. adds 0ce8b803dc clang-format: add options to merge empty record body adds 9275ad44e0 Fix ODR violations due to abuse of LLVM_YAML_IS_(FLOW_)?SEQU [...] adds e5f56874ae Fix a typo. NFC. adds 4097751e3b [Profile] Do not assign counters to functions without bodies adds 4683fc7619 [Parse] Use normalized attr name for late-parsing checks. adds 7d6afdff43 Reinstate "Load lazily the template specialization in multi- [...] adds 5739844a09 [ODRHash] Support Type TemplateArgument adds 7fd4191f69 Fix PR 33189: Clang assertion on template destructor declaration adds 9a860738b8 Change enumerator default linkage type for C adds f4f39fd907 [Modules] Implement ODR-like semantics for tag types in C/ObjC adds 2fa920a582 [Driver] Check that the iOS deployment target is iOS 10 or e [...] adds da9338098f [ODRHash] Revert r305104 - Skip inline namespaces when hashing. adds 5dd23a26be Update clang support for -mexecute-only/-mpure-code for back [...] adds 481160d03b Fix indentation. adds 65139b8e3f [Driver] Add -fdiagnostics-hotness-threshold adds 315a27e4b8 Revert "[Driver] Add -fdiagnostics-hotness-threshold" adds 6ac9c51ede Un-revert "[Driver] Add -fdiagnostics-hotness-threshold" adds 6439f18f22 Changed Opts.EABIVersion type string to llvm::EABI enum class adds 1124518852 fix trivial typos; NFC adds b872b44659 [OpenMP] Fix mapping of scalars for combined directives adds ce9e71cd08 [Bash-completion] Fixed a bug that ~ doesn't expanded to $HOME adds d958391d29 [Bash-autocompletion] Add support for older bash version. adds 17fb9ad1ae [modules] Teach clang how to merge typedef over anonymous st [...] adds ae5fad5a9a Add an option group for deprecated warnings. Add the removed [...] adds 58123a81df fix trivial typos in comments; NFC adds ae6cb8d28c fix trivial typos in comments; NFC adds b9181e93ed Add a fixit for -Wobjc-protocol-property-synthesis adds 0305311a4e [index] Remove 'implicit' role for message sends in implicit [...] adds 71d3b5cd91 clang-format: [JS] space between pseudo keywords and templat [...] adds 650ea04ef9 [clang-format] Support text proto messages adds 0637214980 Revert "clang-format: [JS] space between pseudo keywords and [...] adds 2ea9de261c [clang] Implement -Wcast-qual for C++ adds 9330fda9a0 [Sema] Make BreakContinueFinder handle nested loops. adds fa27e41eb8 [CodeGen] Check key function for typeinfo import adds 1389a66fc6 [OpenCL] Rename err_opencl_enqueue_kernel_expected_type adds e762c504a0 [index] Index nested name qualifiers in a forward declaratio [...] adds e20a5f4e97 clang-format: [JS] space between pseudo keywords and templat [...] adds 2382d78024 Enable LLVM asan support for NetBSD/amd64 adds 9ab24b50c1 [AMDGPU] Fix regressions on mesa/clover with libclc due to a [...] adds 16280f9d13 [modules ts] Declarations from a module interface unit are o [...] adds aae294bfd9 [AMDGPU] Fix size and alignment of size_t and pointer types adds 50f735245d fix trivial typos in comments; NFC adds c5dd58546c [modules ts] Improve merging of module-private declarations. adds 0fc70de55d Fix invalid warnings for header guards in preambles adds d424218cf7 Add const to reference arguments of Diagnostic ctor adds 7b5f13bce7 [clang-format] Fix an uninitialized memory access adds 3bc8b20692 [driver][mips] Remove redundant curly brackets. NFC adds 4d43c48558 [driver][mips] Use AddTargetFeature to check arguments and a [...] adds ef0d9ebb56 [SystemZ] Simplify handling of ISA revisions adds a55f05c7b1 Address comments that escaped D33333 adds e300395c37 [Sema] Don't allow -Wunguarded-availability to be silenced w [...] adds 29e21c348d Add docs for -foptimization-record-file= adds d93c41c8dc Customize the SFINAE diagnostics for enable_if to provide th [...] adds 6907b9898e Cope with Range-v3's CONCEPT_REQUIRES idiom adds a1cfa91c1c Fix one more reference to lit.util.capture() adds 4f0208412a Fix test case in pre-C++11 mode; address Aaron Ballman's cod [...] adds aeba831c57 [cxx_status] Update link to Modules TS to latest working dra [...] adds 3d016b52c6 [modules ts] Do not emit strong function definitions from th [...] adds f7e486629c [OpenCL] Test on image access modifiers and image type can o [...] adds da0b9bb7b0 [clang-format] Add space between a message field key and the [...] adds cfd25ad8e8 [clang-format] Add TextProto language name, NFC adds c8be3ef517 [OpenMP] Customize CUDA-based tool chain selection adds 9a973f3ee9 [OpenMP] Extend CLANG target options with device offloading kind. adds 5bf57dfedf This reverts r305820 (ARMv.2-A FP16 vector intrinsics) becau [...] adds 70922a4eb4 [Objective-C] Fix non-determinism in clang adds 2b311bba46 Allow CompilerInvocations to generate .d files. adds 3dea30d912 Reject attempts to build a module without -fmodules, rather [...] adds b3bfd389c3 Change remaining references to lit.util.capture to use subpr [...] adds d37f1acc3d This call-site should have been updated as part of D34304. adds a903edb88c Update Cross-DSO CFI documentation. adds bee6a761c2 [ObjC] Avoid the -Wunguarded-availability warnings for proto [...] adds ebbbc9c7fc Fix crash parsing invalid code adds a43da8254f [Frontend] Verify that the bitstream is not empty before rea [...] adds f53edbb006 [driver][mips] Pass long-calls feature flag to the MIPS backend adds a5e6587752 Recommit [driver][macOS] Pick the system version for the dep [...] adds b04e36d309 clang-format: [JS] do not wrap after "readonly". adds 807bcad4b0 [X86] Replace 'fallthrough' comments with LLVM_FALLTHROUGH. adds affbdbb5c5 [modules ts] Basic for module linkage. adds 6cf872658d Enable the new PM + SamlePGO + ThinLTO testing. adds 4c2bf23e7c Add testcase for r305850. adds c6ad81f02e Add sample PGO integration test to cover profile annotation [...] adds ad020925de [MS] Don't statically initialize dllimport member function pointers adds 9a2ce2505e Revert r307445 as it breaks on certain platforms. adds 1a4b7788a5 Fix warnings introduced by r307434. adds b5b8560174 [X86] Move AVX512VPOPCNTDQ in __builtin_cpu_support's enum t [...] adds bd8aa3a7c9 [ODRHash] Support FriendDecl adds e1e45e872f [analyzer] Fix a path in the developer manual adds 2ce35b601d CodeGen: Fix address space of global variable adds 5a7460ecef [CodeGen] Fold variable into assert. adds ed22ecfce6 [Bash-autocompletion] Fix a bug that -foo=bar doesn't handle [...] adds 609e559729 [Bash-autocompletion] Auto complete cc1 options if -cc1 is s [...] adds c0ed38db22 Fix build failure with gcc about mixing enum and non-enum adds 16b5639875 [analyzer] Make StmtDataCollector part of the CloneDetection API adds 723acf9205 [X86] Add __get_cpuid_count to cpuid.h. Update __get_cpuid t [...] adds df9cbcd63d [X86] Add more feature flag bit defines to cpuid.h for gcc c [...] adds 972c81b9ec [analyzer] Faster hashing of subsequences in CompoundStmts. adds a468c80286 [coroutines] Include the implicit object parameter type when [...] adds 26a36ec1d1 Remove non-ascii characters introduced in r307513 adds cdaa7145a1 Remove incorrect FIXME comment; the FIXME was addressed befo [...] adds 5562594fba X86 Intrinsics: _bit_scan_forward should not be under #ifdef [...] adds 08a262a9b7 Avoid white spaces in file names. NFC adds de68633e04 Use DenseMap instead std::map for GVSummaryMapTy adds dc3817f043 IsSpecialLong was only ever set in release mode as all of th [...] adds 660c98f3e3 clang-import-test had some dead code. I did the following to [...] adds 3fb38ea0fb [clang-import-test] Committed missed update to clang-import- [...] adds f269a1475d [clang-import-test] Test that enumerators and their values a [...] adds f8c5c0d52f [analyzer] Start fixing modeling of bool based types adds 5e43234a29 [mips] Create the correct profiling symbol on Linux MIPS adds b6e778e0bf RecursiveASTVisitor should visit the nested name qualifiers [...] adds 1e30b7a60a [ObjC] Check that a subscript methods is declared for a qual [...] adds e575997e85 [ASTMatchers][NFC] integerLiteral(): Mention negative intege [...] adds 88beeb0d00 Run the preprocessor test as frontend test for NetBSD, since [...] adds dfa4110ec6 NetBSD uses soft-float by default, unless the environment is [...] adds ad12b8a0b1 Add missing dllimport member pointer template argument test [...] adds ec63778c56 [OPENMP] Add restriction for reduction clause in taskloop di [...] adds 76fbb101be [OPENMP] Skip BuildMemberExpr() in BuildFieldReferenceExpr() [...] adds 81731280ac [ODRHash] Support more method types. adds 8a8c68590d Enhance synchscope representation (clang) adds 060026936d [ODRHash] Revert r307720 to fix buildbot. adds 44b5837278 CFG: Add CFGElement for automatic variables that leave the scope adds 5e97f3f298 Expose some type-conversion functions as part of the IRGen ABI. adds d4ad3d7156 [libclang] Support for querying whether an enum is scoped adds 2159be8cd5 Revert r307769 (Forgot to mention the name of the contributor). adds 62dd545c92 [libclang] Support for querying whether an enum is scoped adds 059cc9230c [clang-format] Keep level of comment before an empty line adds 0d4b55467c [clang] buildFixItInsertionLine should use Hints of the same [...] adds ddf44dafd4 [diagtool] Add a 'find-diagnostic-id' subcommand that conver [...] adds 9a439088f2 [OPENMP] Emit implicit taskgroup block around taskloop directives. adds 429fe82294 [Driver] Update Fuchsia driver path handling adds e469ff2759 [analyzer] Support generating and reasoning over more symbol [...] adds 90b06e8c63 [DOXYGEN] Corrected typos and incorrect parameters description. adds 8c44a50018 Revert "[Driver] Update Fuchsia driver path handling" adds 6deacb219c [mips][mt][7/7] Add driver option for the MIPS MT ASE. adds f3ab09d9a0 Revert "[analyzer] Support generating and reasoning over mor [...] adds 2d77c354f1 [index] Don't add relation to a NamedDecl with no name adds 48dec96ecc Reland "[Driver] Update Fuchsia driver path handling" adds ed14d7adea [Sema] Mark a virtual CXXMethodDecl as used if a call to it [...] adds f37177d01f fix typos in comments; NFC adds ffd70202d3 [refactor][rename] Use a single base class for class that fi [...] adds 19c24885af [index] Objective-C method declarations and message sends wi [...] adds 2eb4707ace [ObjC] Pick a 'readwrite' property when synthesizing ambiguo [...] adds a9486146f6 Remove 'using namespace llvm' from the USRFinder.h header adds 23683dc260 Remove another 'using namespace llvm' from the RecursiveSymb [...] adds 28ac97fe10 [OPENMP] Generalization of codegen for reduction clauses. adds 1ecb6bd663 [OPENMP] Fix reduction tests, NFC. adds c9c0b966ab [OPENMP] Fix reduction tests, NFC. adds 9623a034aa [OPENMP] Further reduction test fix, NFC. adds 5e046c2705 [OPENMP] Fix reduction tests, NFC. adds 5e8a1ecbb1 [OPENMP] Fix reduction tests, NFC. adds 5ad4badf50 [AArch64] Add support for handling the +sve target feature. adds e9abcb4c08 NFC, Cleanup the code for -Wdeprecated-implementations and v [...] adds e8dd708a95 Extend -Wdeprecated-implementations to warn about unavailabl [...] adds ea56a785f9 Fix -Wdocumentation warning. NFCI adds ab6d2ea32f Fix spelling mistakes in comments. NFCI. adds 16f984f4bd [AArch64] Produce the right kind of va_arg for windows adds 3eb6d072ea [ubsan] Teach the pointer overflow check that "p - <unsigned [...] adds cce46bee7c Use getNameAsString instead of getName to get method names w [...] adds 3c1756a951 [PS4] Disable LTO unit features under ThinLTO, like for Darwin. adds c0534f87d0 [Driver] Respect -target when determining target platform on [...] adds 6e026d67f8 [ODRHash] Avoid taking the types of FunctionDecl's adds 549561b9ed Change dyn_casts with unused variables to isa statements to [...] adds 236b498c61 Use EXPECT_TRUE rather than EXPECT_EQ(true, ...) to clean up [...] adds 96993acdc9 Add release notes for the overloadable attribute adds 655f74219d [X86] Add 'movbe' to btver2 CPU. new ee627a42e7 Updating branches/google/stable to r308006
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: bindings/python/clang/cindex.py | 55 +- bindings/python/tests/cindex/test_cursor.py | 16 + .../tests/test_exception_specification_kind.py | 27 + docs/ClangFormatStyleOptions.rst | 300 ++-- docs/ControlFlowIntegrityDesign.rst | 42 +- docs/LibASTMatchersReference.html | 32 + docs/LibFormat.rst | 4 +- docs/MemorySanitizer.rst | 2 +- docs/ReleaseNotes.rst | 17 +- docs/ThinLTO.rst | 44 + docs/UsersManual.rst | 53 +- docs/tools/dump_format_style.py | 11 +- include/clang-c/Index.h | 74 +- include/clang/AST/ASTContext.h | 5 + include/clang/AST/ASTStructuralEquivalence.h | 6 +- include/clang/AST/Decl.h | 7 +- include/clang/AST/DeclBase.h | 155 +- include/clang/AST/DeclCXX.h | 13 + include/clang/AST/DeclObjC.h | 10 +- include/clang/AST/ExternalASTMerger.h | 4 - include/clang/AST/NSAPI.h | 4 +- include/clang/AST/OpenMPClause.h | 3 +- include/clang/AST/RecursiveASTVisitor.h | 19 +- include/clang/AST/Redeclarable.h | 54 + include/clang/ASTMatchers/ASTMatchers.h | 8 + include/clang/Analysis/AnalysisContext.h | 1 + include/clang/Analysis/CFG.h | 45 +- include/clang/Analysis/CloneDetection.h | 188 +++ include/clang/Basic/AttrDocs.td | 40 +- include/clang/Basic/Builtins.def | 31 +- include/clang/Basic/BuiltinsARM.def | 8 +- include/clang/Basic/BuiltinsNios2.def | 70 + include/clang/Basic/BuiltinsWebAssembly.def | 4 + include/clang/Basic/BuiltinsX86.def | 20 +- include/clang/Basic/BuiltinsX86_64.def | 4 +- include/clang/Basic/DiagnosticASTKinds.td | 11 +- include/clang/Basic/DiagnosticDriverKinds.td | 12 +- include/clang/Basic/DiagnosticFrontendKinds.td | 2 + include/clang/Basic/DiagnosticGroups.td | 5 +- include/clang/Basic/DiagnosticSemaKinds.td | 68 +- .../clang/Basic/DiagnosticSerializationKinds.td | 19 +- include/clang/Basic/LangOptions.def | 1 + include/clang/Basic/Linkage.h | 24 +- include/clang/Basic/OpenMPKinds.def | 2 + include/clang/Basic/PartialDiagnostic.h | 9 + include/clang/Basic/SourceLocation.h | 122 +- include/clang/Basic/SourceManager.h | 61 +- include/clang/Basic/TargetBuiltins.h | 10 + include/clang/Basic/TargetInfo.h | 9 + include/clang/Basic/TargetOptions.h | 3 +- include/clang/Basic/Visibility.h | 3 + include/clang/Basic/arm_neon.td | 185 --- include/clang/CodeGen/CodeGenABITypes.h | 8 + include/clang/Driver/CC1Options.td | 32 +- include/clang/Driver/Compilation.h | 8 +- include/clang/Driver/Driver.h | 3 +- include/clang/Driver/Options.td | 24 +- include/clang/Driver/ToolChain.h | 3 +- include/clang/Format/Format.h | 82 +- include/clang/Frontend/ASTUnit.h | 125 +- include/clang/Frontend/CodeGenOptions.def | 7 +- include/clang/Frontend/DiagnosticRenderer.h | 83 +- include/clang/Frontend/FrontendActions.h | 2 + include/clang/Frontend/PrecompiledPreamble.h | 248 +++ include/clang/Frontend/TextDiagnostic.h | 43 +- include/clang/Frontend/Utils.h | 9 +- include/clang/Lex/HeaderSearch.h | 2 +- include/clang/Lex/PTHLexer.h | 2 +- include/clang/Lex/Preprocessor.h | 9 +- include/clang/Parse/Parser.h | 7 +- include/clang/Sema/DelayedDiagnostic.h | 14 +- include/clang/Sema/Lookup.h | 8 +- include/clang/Sema/Sema.h | 72 +- include/clang/Sema/TemplateDeduction.h | 6 + include/clang/Serialization/ASTReader.h | 18 +- include/clang/StaticAnalyzer/Checkers/Checkers.td | 18 +- .../clang/StaticAnalyzer/Core/AnalyzerOptions.h | 22 +- include/clang/StaticAnalyzer/Core/CheckerManager.h | 2 +- .../Core/PathSensitive/BasicValueFactory.h | 2 +- include/clang/Tooling/ArgumentsAdjusters.h | 4 + include/clang/Tooling/Core/Diagnostic.h | 6 +- .../Tooling/Refactoring/RecursiveSymbolVisitor.h | 122 ++ .../Tooling/Refactoring/Rename/RenamingAction.h | 70 + .../clang/Tooling/Refactoring/Rename/USRFinder.h | 50 + .../Tooling/Refactoring/Rename/USRFindingAction.h | 54 + .../Tooling/Refactoring/Rename/USRLocFinder.h | 49 + include/clang/Tooling/Tooling.h | 5 +- include/clang/module.modulemap | 3 +- lib/AST/ASTContext.cpp | 37 +- lib/AST/ASTDumper.cpp | 8 +- lib/AST/ASTStructuralEquivalence.cpp | 58 +- lib/AST/Decl.cpp | 92 +- lib/AST/DeclBase.cpp | 10 +- lib/AST/DeclCXX.cpp | 83 +- lib/AST/DeclObjC.cpp | 18 +- lib/AST/Expr.cpp | 29 +- lib/AST/ExprConstant.cpp | 33 +- lib/AST/ExternalASTMerger.cpp | 5 - lib/AST/MicrosoftMangle.cpp | 75 +- lib/AST/ODRHash.cpp | 69 +- lib/AST/RecordLayoutBuilder.cpp | 35 + lib/AST/StmtProfile.cpp | 5 +- lib/Analysis/AnalysisDeclContext.cpp | 2 + lib/Analysis/CFG.cpp | 224 ++- lib/Analysis/CloneDetection.cpp | 220 +-- lib/Basic/SourceLocation.cpp | 70 + lib/Basic/SourceManager.cpp | 94 +- lib/Basic/TargetInfo.cpp | 5 + lib/Basic/Targets.cpp | 433 +++++- lib/CodeGen/BackendUtil.cpp | 40 +- lib/CodeGen/CGBlocks.cpp | 19 +- lib/CodeGen/CGBuiltin.cpp | 222 +-- lib/CodeGen/CGCall.cpp | 60 +- lib/CodeGen/CGClass.cpp | 82 - lib/CodeGen/CGDecl.cpp | 26 +- lib/CodeGen/CGExpr.cpp | 42 +- lib/CodeGen/CGExprCXX.cpp | 3 +- lib/CodeGen/CGExprScalar.cpp | 38 +- lib/CodeGen/CGObjCMac.cpp | 44 +- lib/CodeGen/CGObjCRuntime.cpp | 51 +- lib/CodeGen/CGOpenMPRuntime.cpp | 433 +++++- lib/CodeGen/CGOpenMPRuntime.h | 97 +- lib/CodeGen/CGStmt.cpp | 12 + lib/CodeGen/CGStmtOpenMP.cpp | 693 +++------ lib/CodeGen/CodeGenABITypes.cpp | 16 + lib/CodeGen/CodeGenAction.cpp | 7 +- lib/CodeGen/CodeGenFunction.cpp | 7 + lib/CodeGen/CodeGenFunction.h | 36 +- lib/CodeGen/CodeGenModule.cpp | 71 +- lib/CodeGen/CodeGenModule.h | 10 +- lib/CodeGen/CodeGenPGO.cpp | 3 + lib/CodeGen/CodeGenTypeCache.h | 2 +- lib/CodeGen/ItaniumCXXABI.cpp | 12 +- lib/CodeGen/MicrosoftCXXABI.cpp | 2 + lib/CodeGen/SwiftCallingConv.cpp | 8 +- lib/CodeGen/TargetInfo.cpp | 196 ++- lib/CodeGen/TargetInfo.h | 16 + lib/Driver/CMakeLists.txt | 1 + lib/Driver/Compilation.cpp | 5 +- lib/Driver/Driver.cpp | 82 +- lib/Driver/SanitizerArgs.cpp | 20 +- lib/Driver/ToolChain.cpp | 6 +- lib/Driver/ToolChains/Ananas.cpp | 120 ++ lib/Driver/ToolChains/{NetBSD.h => Ananas.h} | 34 +- lib/Driver/ToolChains/Arch/ARM.cpp | 16 +- lib/Driver/ToolChains/Arch/Mips.cpp | 17 +- lib/Driver/ToolChains/BareMetal.cpp | 3 +- lib/Driver/ToolChains/BareMetal.h | 3 +- lib/Driver/ToolChains/Clang.cpp | 163 +- lib/Driver/ToolChains/CommonArgs.cpp | 23 +- lib/Driver/ToolChains/CrossWindows.cpp | 14 +- lib/Driver/ToolChains/Cuda.cpp | 51 +- lib/Driver/ToolChains/Cuda.h | 3 +- lib/Driver/ToolChains/Darwin.cpp | 121 +- lib/Driver/ToolChains/Darwin.h | 9 + lib/Driver/ToolChains/Fuchsia.cpp | 82 +- lib/Driver/ToolChains/Fuchsia.h | 23 +- lib/Driver/ToolChains/Gnu.cpp | 30 +- lib/Driver/ToolChains/Gnu.h | 3 +- lib/Driver/ToolChains/Hexagon.cpp | 3 +- lib/Driver/ToolChains/Hexagon.h | 3 +- lib/Driver/ToolChains/MipsLinux.cpp | 2 +- lib/Driver/ToolChains/NetBSD.cpp | 13 + lib/Driver/ToolChains/NetBSD.h | 1 + lib/Driver/ToolChains/WebAssembly.cpp | 8 +- lib/Driver/ToolChains/WebAssembly.h | 3 +- lib/Driver/ToolChains/XCore.cpp | 3 +- lib/Driver/ToolChains/XCore.h | 3 +- lib/Format/CMakeLists.txt | 1 + lib/Format/ContinuationIndenter.cpp | 40 +- lib/Format/Format.cpp | 118 +- lib/Format/FormatToken.h | 41 +- lib/Format/NamespaceEndCommentsFixer.cpp | 2 +- lib/Format/TokenAnnotator.cpp | 96 +- lib/Format/UnwrappedLineFormatter.cpp | 30 +- lib/Format/UnwrappedLineParser.cpp | 40 +- lib/Format/UnwrappedLineParser.h | 3 +- lib/Format/UsingDeclarationsSorter.cpp | 144 ++ lib/Format/UsingDeclarationsSorter.h | 37 + lib/Frontend/ASTMerge.cpp | 6 +- lib/Frontend/ASTUnit.cpp | 847 +++------- lib/Frontend/CMakeLists.txt | 1 + lib/Frontend/ChainedIncludesSource.cpp | 2 +- lib/Frontend/CompilerInstance.cpp | 16 +- lib/Frontend/CompilerInvocation.cpp | 50 +- lib/Frontend/CreateInvocationFromCommandLine.cpp | 6 +- lib/Frontend/DependencyFile.cpp | 6 +- lib/Frontend/DiagnosticRenderer.cpp | 196 ++- lib/Frontend/FrontendAction.cpp | 52 +- lib/Frontend/FrontendActions.cpp | 12 +- lib/Frontend/InitPreprocessor.cpp | 2 +- lib/Frontend/ModuleDependencyCollector.cpp | 2 +- lib/Frontend/PrecompiledPreamble.cpp | 563 +++++++ lib/Frontend/Rewrite/FrontendActions.cpp | 2 + lib/Frontend/Rewrite/RewriteModernObjC.cpp | 11 +- lib/Frontend/Rewrite/RewriteObjC.cpp | 2 +- lib/Frontend/SerializedDiagnosticPrinter.cpp | 106 +- lib/Frontend/SerializedDiagnosticReader.cpp | 3 + lib/Frontend/TextDiagnostic.cpp | 96 +- lib/Frontend/TextDiagnosticPrinter.cpp | 7 +- lib/Headers/bmiintrin.h | 2 +- lib/Headers/cpuid.h | 118 +- lib/Headers/immintrin.h | 18 +- lib/Headers/mmintrin.h | 2 +- lib/Index/IndexBody.cpp | 26 +- lib/Index/IndexDecl.cpp | 28 +- lib/Index/IndexSymbol.cpp | 4 +- lib/Index/IndexingContext.cpp | 14 +- lib/Lex/Lexer.cpp | 2 +- lib/Lex/ModuleMap.cpp | 3 +- lib/Lex/PPDirectives.cpp | 12 +- lib/Lex/PPLexerChange.cpp | 6 - lib/Lex/PPMacroExpansion.cpp | 2 + lib/Lex/Preprocessor.cpp | 2 + lib/Parse/ParseCXXInlineMethods.cpp | 2 +- lib/Parse/ParseDecl.cpp | 43 +- lib/Parse/ParseDeclCXX.cpp | 19 +- lib/Parse/ParseExpr.cpp | 4 +- lib/Parse/ParseObjc.cpp | 6 +- lib/Parse/ParseTemplate.cpp | 3 +- lib/Parse/Parser.cpp | 4 + lib/Sema/AnalysisBasedWarnings.cpp | 159 ++ lib/Sema/DelayedDiagnostic.cpp | 6 +- lib/Sema/Sema.cpp | 17 +- lib/Sema/SemaCUDA.cpp | 6 - lib/Sema/SemaCast.cpp | 94 +- lib/Sema/SemaChecking.cpp | 60 +- lib/Sema/SemaCoroutine.cpp | 56 +- lib/Sema/SemaDecl.cpp | 241 ++- lib/Sema/SemaDeclAttr.cpp | 175 ++- lib/Sema/SemaDeclCXX.cpp | 15 +- lib/Sema/SemaDeclObjC.cpp | 63 +- lib/Sema/SemaExpr.cpp | 130 +- lib/Sema/SemaExprCXX.cpp | 50 +- lib/Sema/SemaExprMember.cpp | 9 +- lib/Sema/SemaLambda.cpp | 2 +- lib/Sema/SemaLookup.cpp | 110 +- lib/Sema/SemaObjCProperty.cpp | 201 ++- lib/Sema/SemaOpenMP.cpp | 72 +- lib/Sema/SemaOverload.cpp | 31 +- lib/Sema/SemaPseudoObject.cpp | 9 +- lib/Sema/SemaStmt.cpp | 67 +- lib/Sema/SemaTemplate.cpp | 255 ++- lib/Sema/SemaTemplateInstantiate.cpp | 4 +- lib/Sema/SemaTemplateInstantiateDecl.cpp | 11 +- lib/Sema/SemaType.cpp | 15 + lib/Serialization/ASTReader.cpp | 228 ++- lib/Serialization/ASTReaderDecl.cpp | 216 ++- lib/Serialization/ASTReaderStmt.cpp | 1 + lib/Serialization/ASTWriter.cpp | 31 +- lib/Serialization/ASTWriterDecl.cpp | 14 +- .../Checkers/BuiltinFunctionChecker.cpp | 4 +- .../Checkers/LocalizationChecker.cpp | 43 + lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp | 55 +- lib/StaticAnalyzer/Core/AnalysisManager.cpp | 3 +- lib/StaticAnalyzer/Core/AnalyzerOptions.cpp | 15 +- lib/StaticAnalyzer/Core/ExprEngine.cpp | 2 + lib/StaticAnalyzer/Core/PathDiagnostic.cpp | 1 + lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp | 7 +- lib/Tooling/ArgumentsAdjusters.cpp | 23 +- lib/Tooling/CompilationDatabase.cpp | 8 +- lib/Tooling/Core/Diagnostic.cpp | 6 +- lib/Tooling/Refactoring/AtomicChange.cpp | 1 - lib/Tooling/Refactoring/CMakeLists.txt | 8 + lib/Tooling/Refactoring/Rename/RenamingAction.cpp | 134 ++ lib/Tooling/Refactoring/Rename/USRFinder.cpp | 146 ++ .../Refactoring/Rename/USRFindingAction.cpp | 236 +++ lib/Tooling/Refactoring/Rename/USRLocFinder.cpp | 451 ++++++ lib/Tooling/Tooling.cpp | 18 +- test/Analysis/analyzer-config.c | 9 +- test/Analysis/analyzer-config.cpp | 8 +- test/Analysis/builtin-assume.c | 8 - test/Analysis/builtin-functions.cpp | 14 + test/Analysis/enum.cpp | 30 + test/Analysis/lifetime-cfg-output.cpp | 783 ++++++++++ test/Analysis/malloc-overflow2.c | 6 +- test/Analysis/unix-fns.c | 4 +- test/CMakeLists.txt | 1 + test/CXX/except/except.spec/p11.cpp | 9 +- .../modules-ts/basic/basic.def.odr/p4/module.cpp | 46 + .../modules-ts/basic/basic.def.odr/p4/module.cppm | 118 ++ .../CXX/modules-ts/basic/basic.def.odr/p4/user.cpp | 25 + test/CXX/modules-ts/basic/basic.link/p2/module.cpp | 17 + .../CXX/modules-ts/basic/basic.link/p2/module.cppm | 29 + test/CXX/modules-ts/basic/basic.link/p2/other.cpp | 16 + .../dcl.dcl/dcl.module/dcl.module.import/p1.cpp | 4 +- test/CXX/modules-ts/dcl.dcl/dcl.module/p5.cpp | 33 + test/CodeGen/64bit-swiftcall.c | 18 + test/CodeGen/aarch64-neon-intrinsics.c | 230 +-- test/CodeGen/aarch64-neon-ldst-one.c | 228 +-- test/CodeGen/aarch64-v8.2a-neon-intrinsics.c | 1633 -------------------- test/CodeGen/aarch64-varargs-ms.c | 11 + test/CodeGen/address-space.c | 10 +- test/{Driver => CodeGen}/arm-execute-only.c | 31 +- test/CodeGen/arm-v8.1a-neon-intrinsics.c | 2 +- test/CodeGen/arm_neon_intrinsics.c | 240 +-- test/CodeGen/avx512f-builtins.c | 27 +- test/CodeGen/bitscan-builtins.c | 3 + test/CodeGen/builtins-wasm.c | 12 + test/CodeGen/default-address-space.c | 30 +- test/CodeGen/lto-newpm-pipeline.c | 53 + test/CodeGen/mangle-ms.c | 9 + test/CodeGen/mangle.c | 4 + test/CodeGen/mcount.c | 4 + test/CodeGen/ms-barriers-intrinsics.c | 6 +- test/CodeGen/ms-inline-asm.c | 6 + test/CodeGen/ms-intrinsics-other.c | 161 ++ test/CodeGen/ms-intrinsics-rotations.c | 330 ++-- test/CodeGen/named_reg_global.c | 2 +- test/CodeGen/neon-immediate-ubsan.c | 2 +- test/CodeGen/no-devirt.cpp | 4 +- test/CodeGen/pgo-sample-thinlto-summary.c | 24 +- test/CodeGen/pr27892.c | 23 - test/CodeGen/target-data.c | 2 +- test/CodeGen/ubsan-pointer-overflow.m | 15 +- test/CodeGen/vectorcall.c | 19 +- test/CodeGen/xray-attributes-supported.cpp | 2 +- test/CodeGenCXX/amdgcn-automatic-variable.cpp | 10 +- .../cxx0x-initializer-stdinitializerlist.cpp | 151 +- .../devirtualize-virtual-function-calls-final.cpp | 50 + test/CodeGenCXX/dllexport-dtor-thunks.cpp | 10 + test/CodeGenCXX/dllimport-memptr-global.cpp | 58 + test/CodeGenCXX/mangle-ms.cpp | 7 + test/CodeGenCXX/msabi-blocks.cpp | 113 ++ test/CodeGenCXX/vtable-available-externally.cpp | 5 +- test/CodeGenCXX/windows-itanium-type-info.cpp | 10 +- test/CodeGenObjC/arc-property.m | 20 + test/CodeGenObjC/ivar-type-encoding.m | 16 + test/CodeGenObjC/parameterized_classes.m | 28 + test/CodeGenObjC/protocol-comdat.m | 8 + test/CodeGenObjC/stret-1.m | 11 +- test/CodeGenObjC/stret-lifetime.m | 34 + test/CodeGenObjC/ubsan-nonnull-and-nullability.m | 34 +- test/CodeGenObjC/ubsan-nullability.m | 32 +- test/CodeGenObjCXX/arc-indirect.mm | 22 + test/CodeGenOpenCL/addr-space-struct-arg.cl | 52 +- test/CodeGenOpenCL/address-spaces.cl | 2 + test/CodeGenOpenCL/amdgcn-automatic-variable.cl | 8 +- test/CodeGenOpenCL/amdgpu-nullptr.cl | 48 +- test/CodeGenOpenCL/amdgpu-sizeof-alignof.cl | 70 + test/Driver/ananas.c | 9 + test/Driver/arm-execute-only.c | 72 - test/Driver/autocomplete.c | 26 +- test/Driver/clang_f_opts.c | 11 +- test/Driver/compress-noias.c | 37 + test/Driver/compress.c | 38 +- ...crash report spaces.c => crash-report-spaces.c} | 3 +- test/Driver/darwin-version.c | 47 + test/Driver/fsanitize-object-size.c | 31 + test/Driver/fsanitize.c | 20 +- test/Driver/fuchsia.c | 2 +- test/Driver/fuchsia.cpp | 5 +- test/Driver/fuzzer.c | 8 + test/Driver/lto-unit.c | 2 + test/Driver/mips-features.c | 23 + test/Driver/nios2-cpu.c | 26 + test/Driver/nozlibcompress.c | 9 +- test/Driver/openmp-offload.c | 64 +- test/Driver/unavailable_aligned_allocation.cpp | 54 + test/Driver/wasm-toolchain.c | 6 +- test/Driver/windows-cross.c | 5 + test/FixIt/fixit-add-synthesize-to-property.m | 14 + test/FixIt/fixit-format-darwin.m | 10 + test/FixIt/format-darwin.m | 23 +- ...ptimization-remark-with-hotness-sample.proftext | 7 + test/Frontend/optimization-remark-with-hotness.c | 30 +- .../Inputs/S.c | 0 test/Import/direct/test.c | 5 + test/Import/enum/Inputs/S.cpp | 4 + test/Import/enum/test.cpp | 4 + test/Import/import-overrides/Inputs/Hierarchy.cpp | 9 + test/Import/import-overrides/test.cpp | 7 + test/Index/Core/index-source-invalid-name.cpp | 13 + test/Index/Core/index-source.cpp | 43 +- test/Index/Core/index-source.m | 50 + .../__init__.py => test/Index/Inputs/empty.dia | 0 test/Index/ctor-init-source-loc.cpp | 117 ++ test/Index/get-cursor.cpp | 17 +- test/Index/linkage.c | 2 +- test/Index/pipe-size.cl | 2 +- test/Index/print-type-declaration.cpp | 7 + test/Index/read-empty-diags.test | 2 + test/Index/single-file-parse.m | 10 + test/Index/usrs.m | 2 +- test/Misc/Inputs/module.modulemap | 1 + test/Misc/ast-dump-decl.c | 22 +- test/Misc/ast-dump-decl.cpp | 5 - test/Misc/cc1as-compress.s | 8 + test/Misc/find-diagnostic-id.c | 5 + test/Modules/Inputs/F.framework/Headers/F.h | 1 + .../Inputs/F.framework/Modules/module.modulemap | 7 + .../F.framework/Modules/module.private.modulemap | 7 + .../Modules/Inputs/F.framework/PrivateHeaders/NS.h | 19 + test/Modules/Inputs/lookup-assert-protocol/Base.h | 3 + .../Modules/Inputs/lookup-assert-protocol/Derive.h | 4 + .../{lookup-assert => lookup-assert-protocol}/H3.h | 0 .../module.map | 0 test/Modules/Inputs/preprocess-decluse/a.h | 1 + test/Modules/Inputs/preprocess-decluse/a.modulemap | 1 + .../d.h => preprocess-decluse/b.h} | 0 test/Modules/Inputs/preprocess-decluse/b.modulemap | 1 + .../Inputs/preprocess-decluse/main.modulemap | 1 + test/Modules/Inputs/preprocess/file.h | 6 + test/Modules/Inputs/preprocess/fwd.h | 1 + test/Modules/Inputs/preprocess/module.modulemap | 2 +- test/Modules/Inputs/preprocess/other.h | 1 + test/Modules/const-var-init-update.cpp | 30 + test/Modules/diag-flags.cpp | 2 +- .../elaborated-type-specifier-from-hidden-module.m | 7 +- test/Modules/interface-visibility.m | 29 + test/Modules/lookup-assert-protocol.m | 17 + test/Modules/missing-flag.cpp | 4 + test/Modules/odr_hash.cpp | 160 ++ test/Modules/preprocess-build.cpp | 2 +- test/Modules/preprocess-decluse.cpp | 18 + test/Modules/preprocess-module.cpp | 44 +- test/Modules/redefinition-c-tagtypes.m | 48 + test/Modules/redefinition-same-header.m | 10 +- test/Modules/relative-dep-gen.cpp | 21 +- test/OpenMP/for_reduction_codegen.cpp | 44 +- test/OpenMP/for_reduction_codegen_UDR.cpp | 45 +- test/OpenMP/parallel_codegen.cpp | 4 +- test/OpenMP/target_codegen.cpp | 283 ++-- test/OpenMP/target_codegen_global_capture.cpp | 143 +- test/OpenMP/target_data_codegen.cpp | 51 +- test/OpenMP/target_data_use_device_ptr_codegen.cpp | 113 +- test/OpenMP/target_enter_data_codegen.cpp | 51 +- test/OpenMP/target_exit_data_codegen.cpp | 51 +- test/OpenMP/target_firstprivate_codegen.cpp | 160 +- test/OpenMP/target_is_device_ptr_codegen.cpp | 112 +- test/OpenMP/target_map_codegen.cpp | 1626 +++++++++---------- test/OpenMP/target_parallel_codegen.cpp | 186 +-- test/OpenMP/target_teams_codegen.cpp | 186 +-- test/OpenMP/target_update_codegen.cpp | 53 +- test/OpenMP/taskloop_ast_print.cpp | 12 +- test/OpenMP/taskloop_codegen.cpp | 6 +- test/OpenMP/taskloop_reduction_messages.cpp | 331 ++++ test/OpenMP/taskloop_simd_ast_print.cpp | 12 +- test/OpenMP/taskloop_simd_codegen.cpp | 6 +- test/OpenMP/taskloop_simd_reduction_messages.cpp | 331 ++++ test/PCH/attrs.c | 3 +- test/Preprocessor/aarch64-target-features.c | 10 +- test/Preprocessor/arm-target-features.c | 1 + test/Preprocessor/init.c | 12 +- test/Preprocessor/predefined-arch-macros.c | 75 + test/Preprocessor/predefined-macros.c | 6 + test/Profile/Inputs/cxx-missing-bodies.proftext | 9 + test/Profile/cxx-missing-bodies.cpp | 21 + test/Profile/cxx-structors.cpp | 2 +- test/Rewriter/objc-modern-metadata-visibility2.mm | 45 + test/Sema/address-packed.c | 9 + test/Sema/asm.c | 35 + test/Sema/attr-availability.c | 25 +- test/Sema/attr-deprecated.c | 4 +- test/Sema/attr-unavailable-message.c | 8 +- test/Sema/diagnose_if.c | 4 + test/Sema/integer-overflow.c | 8 +- test/Sema/loop-control.c | 48 + test/Sema/overloadable.c | 120 +- test/Sema/warn-cast-qual.c | 31 + test/Sema/warn-documentation.cpp | 2 +- test/SemaCXX/PR16677.cpp | 5 +- test/SemaCXX/amdgpu-sizeof-alignof.cpp | 47 + test/SemaCXX/attr-deprecated.cpp | 8 +- test/SemaCXX/constant-expression-cxx11.cpp | 16 +- test/SemaCXX/coroutines.cpp | 265 +++- test/SemaCXX/dllimport-memptr.cpp | 7 + test/SemaCXX/eval-crashes.cpp | 56 + test/SemaCXX/friend2.cpp | 37 + test/SemaCXX/invalid-template-params.cpp | 23 + test/SemaCXX/modules-ts.cppm | 8 +- test/SemaCXX/type-traits.cpp | 25 +- test/SemaCXX/unavailable_aligned_allocation.cpp | 109 ++ test/SemaCXX/warn-cast-qual.cpp | 140 ++ test/SemaCXX/warn-loop-analysis.cpp | 12 + test/SemaCXX/warn-throw-out-noexcept-func.cpp | 301 ++++ test/SemaObjC/arc-property-decl-attrs.m | 104 ++ test/SemaObjC/attr-availability.m | 30 +- test/SemaObjC/default-synthesize-3.m | 4 +- test/SemaObjC/default-synthesize.m | 2 +- .../forward-protocol-incomplete-impl-warn.m | 2 +- test/SemaObjC/objc-container-subscripting-1.m | 5 +- test/SemaObjC/objc-container-subscripting-2.m | 19 + test/SemaObjC/property-ambiguous-synthesis.m | 2 +- test/SemaObjC/unguarded-availability-new.m | 160 ++ test/SemaObjC/unguarded-availability.m | 59 +- test/SemaObjC/warn-deprecated-implementations.m | 19 +- test/SemaOpenCL/cl20-device-side-enqueue.cl | 16 +- test/SemaOpenCL/extension-begin.cl | 2 +- test/SemaOpenCL/images.cl | 33 +- test/SemaTemplate/constexpr-instantiate.cpp | 2 +- test/SemaTemplate/destructor-template.cpp | 6 + test/SemaTemplate/overload-candidates.cpp | 34 +- test/Unit/lit.cfg | 5 +- test/clang-rename/ClassAsTemplateArgument.cpp | 21 + test/clang-rename/ClassFindByName.cpp | 10 + test/clang-rename/ClassSimpleRenaming.cpp | 14 + test/clang-rename/ClassTestMulti.cpp | 11 + test/clang-rename/ClassTestMultiByName.cpp | 8 + test/clang-rename/ComplexFunctionOverride.cpp | 47 + test/clang-rename/ComplicatedClassType.cpp | 63 + test/clang-rename/Ctor.cpp | 14 + test/clang-rename/CtorInitializer.cpp | 17 + test/clang-rename/DeclRefExpr.cpp | 24 + test/clang-rename/Field.cpp | 15 + test/clang-rename/FunctionMacro.cpp | 20 + test/clang-rename/FunctionOverride.cpp | 13 + test/clang-rename/FunctionWithClassFindByName.cpp | 12 + test/clang-rename/IncludeHeaderWithSymbol.cpp | 10 + test/clang-rename/Inputs/HeaderWithSymbol.h | 1 + test/clang-rename/Inputs/OffsetToNewName.yaml | 6 + .../Inputs/QualifiedNameToNewName.yaml | 6 + test/clang-rename/InvalidNewName.cpp | 2 + test/clang-rename/InvalidOffset.cpp | 9 + test/clang-rename/InvalidQualifiedName.cpp | 4 + test/clang-rename/MemberExprMacro.cpp | 22 + test/clang-rename/Namespace.cpp | 13 + test/clang-rename/NoNewName.cpp | 4 + test/clang-rename/TemplateClassInstantiation.cpp | 42 + test/clang-rename/TemplateTypename.cpp | 24 + test/clang-rename/TemplatedClassFunction.cpp | 22 + test/clang-rename/UserDefinedConversion.cpp | 26 + test/clang-rename/Variable.cpp | 33 + test/clang-rename/VariableMacro.cpp | 21 + test/clang-rename/YAMLInput.cpp | 10 + test/lit.cfg | 4 +- tools/CMakeLists.txt | 2 + tools/c-index-test/c-index-test.c | 33 + tools/c-index-test/core_main.cpp | 2 +- tools/clang-import-test/clang-import-test.cpp | 18 +- tools/clang-rename/CMakeLists.txt | 24 + tools/clang-rename/ClangRename.cpp | 239 +++ tools/clang-rename/clang-rename.el | 79 + tools/clang-rename/clang-rename.py | 61 + tools/diagtool/CMakeLists.txt | 1 + tools/diagtool/FindDiagnosticID.cpp | 58 + tools/driver/cc1as_main.cpp | 19 +- tools/driver/driver.cpp | 2 +- tools/libclang/CIndex.cpp | 14 +- tools/libclang/CIndexDiagnostic.cpp | 30 +- tools/libclang/CXIndexDataConsumer.cpp | 4 +- tools/libclang/CXType.cpp | 18 + tools/libclang/libclang.exports | 3 + unittests/ASTMatchers/ASTMatchersNodeTest.cpp | 6 + unittests/ASTMatchers/Dynamic/ParserTest.cpp | 4 +- unittests/CMakeLists.txt | 1 + unittests/Driver/ToolChainTest.cpp | 11 + unittests/Format/CMakeLists.txt | 2 + unittests/Format/FormatTest.cpp | 283 +++- unittests/Format/FormatTestComments.cpp | 64 + unittests/Format/FormatTestJS.cpp | 9 + unittests/Format/FormatTestJava.cpp | 5 +- unittests/Format/FormatTestProto.cpp | 174 ++- unittests/Format/FormatTestTextProto.cpp | 250 +++ unittests/Format/SortIncludesTest.cpp | 23 + unittests/Format/UsingDeclarationsSorterTest.cpp | 234 +++ unittests/Rename/CMakeLists.txt | 22 + unittests/Rename/ClangRenameTest.h | 112 ++ unittests/Rename/RenameClassTest.cpp | 684 ++++++++ unittests/Tooling/CMakeLists.txt | 1 + unittests/Tooling/CastExprTest.cpp | 38 + unittests/Tooling/CompilationDatabaseTest.cpp | 21 + unittests/Tooling/RecursiveASTVisitorTest.cpp | 144 ++ unittests/Tooling/RefactoringTest.cpp | 12 +- unittests/Tooling/TestVisitor.h | 5 +- utils/TableGen/NeonEmitter.cpp | 6 +- utils/bash-autocomplete.sh | 66 +- utils/perf-training/lit.cfg | 3 +- utils/perf-training/order-files.lit.cfg | 3 +- www/analyzer/checker_dev_manual.html | 4 +- www/analyzer/scripts/expandcollapse.js | 2 +- www/cxx_status.html | 5 +- 572 files changed, 21376 insertions(+), 8518 deletions(-) create mode 100644 bindings/python/tests/test_exception_specification_kind.py create mode 100644 include/clang/Basic/BuiltinsNios2.def create mode 100644 include/clang/Frontend/PrecompiledPreamble.h create mode 100644 include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h create mode 100644 include/clang/Tooling/Refactoring/Rename/RenamingAction.h create mode 100644 include/clang/Tooling/Refactoring/Rename/USRFinder.h create mode 100644 include/clang/Tooling/Refactoring/Rename/USRFindingAction.h create mode 100644 include/clang/Tooling/Refactoring/Rename/USRLocFinder.h create mode 100644 lib/Driver/ToolChains/Ananas.cpp copy lib/Driver/ToolChains/{NetBSD.h => Ananas.h} (60%) create mode 100644 lib/Format/UsingDeclarationsSorter.cpp create mode 100644 lib/Format/UsingDeclarationsSorter.h create mode 100644 lib/Frontend/PrecompiledPreamble.cpp create mode 100644 lib/Tooling/Refactoring/Rename/RenamingAction.cpp create mode 100644 lib/Tooling/Refactoring/Rename/USRFinder.cpp create mode 100644 lib/Tooling/Refactoring/Rename/USRFindingAction.cpp create mode 100644 lib/Tooling/Refactoring/Rename/USRLocFinder.cpp delete mode 100644 test/Analysis/builtin-assume.c create mode 100644 test/Analysis/lifetime-cfg-output.cpp create mode 100644 test/CXX/modules-ts/basic/basic.def.odr/p4/module.cpp create mode 100644 test/CXX/modules-ts/basic/basic.def.odr/p4/module.cppm create mode 100644 test/CXX/modules-ts/basic/basic.def.odr/p4/user.cpp create mode 100644 test/CXX/modules-ts/basic/basic.link/p2/module.cpp create mode 100644 test/CXX/modules-ts/basic/basic.link/p2/module.cppm create mode 100644 test/CXX/modules-ts/basic/basic.link/p2/other.cpp create mode 100644 test/CXX/modules-ts/dcl.dcl/dcl.module/p5.cpp delete mode 100644 test/CodeGen/aarch64-v8.2a-neon-intrinsics.c create mode 100644 test/CodeGen/aarch64-varargs-ms.c copy test/{Driver => CodeGen}/arm-execute-only.c (66%) create mode 100644 test/CodeGen/lto-newpm-pipeline.c create mode 100644 test/CodeGen/ms-intrinsics-other.c delete mode 100644 test/CodeGen/pr27892.c create mode 100644 test/CodeGenCXX/dllexport-dtor-thunks.cpp create mode 100644 test/CodeGenCXX/dllimport-memptr-global.cpp create mode 100644 test/CodeGenCXX/msabi-blocks.cpp create mode 100644 test/CodeGenObjC/stret-lifetime.m create mode 100644 test/CodeGenObjCXX/arc-indirect.mm create mode 100644 test/CodeGenOpenCL/amdgpu-sizeof-alignof.cl create mode 100644 test/Driver/ananas.c create mode 100644 test/Driver/compress-noias.c rename test/Driver/{crash report spaces.c => crash-report-spaces.c} (84%) create mode 100644 test/Driver/fsanitize-object-size.c create mode 100644 test/Driver/nios2-cpu.c create mode 100644 test/Driver/unavailable_aligned_allocation.cpp create mode 100644 test/FixIt/fixit-add-synthesize-to-property.m create mode 100644 test/Frontend/Inputs/optimization-remark-with-hotness-sample.proftext copy test/Import/{indirect-struct-member-access => direct}/Inputs/S.c (100%) create mode 100644 test/Import/direct/test.c create mode 100644 test/Import/enum/Inputs/S.cpp create mode 100644 test/Import/enum/test.cpp create mode 100644 test/Import/import-overrides/Inputs/Hierarchy.cpp create mode 100644 test/Import/import-overrides/test.cpp create mode 100644 test/Index/Core/index-source-invalid-name.cpp copy bindings/python/tests/__init__.py => test/Index/Inputs/empty.dia (100%) create mode 100644 test/Index/ctor-init-source-loc.cpp create mode 100644 test/Index/read-empty-diags.test create mode 100644 test/Misc/Inputs/module.modulemap create mode 100644 test/Misc/cc1as-compress.s create mode 100644 test/Misc/find-diagnostic-id.c create mode 100644 test/Modules/Inputs/F.framework/Headers/F.h create mode 100644 test/Modules/Inputs/F.framework/Modules/module.modulemap create mode 100644 test/Modules/Inputs/F.framework/Modules/module.private.modulemap create mode 100644 test/Modules/Inputs/F.framework/PrivateHeaders/NS.h create mode 100644 test/Modules/Inputs/lookup-assert-protocol/Base.h create mode 100644 test/Modules/Inputs/lookup-assert-protocol/Derive.h copy test/Modules/Inputs/{lookup-assert => lookup-assert-protocol}/H3.h (100%) copy test/Modules/Inputs/{lookup-assert => lookup-assert-protocol}/module.map (100%) create mode 100644 test/Modules/Inputs/preprocess-decluse/a.h create mode 100644 test/Modules/Inputs/preprocess-decluse/a.modulemap copy test/Modules/Inputs/{using-decl-redecl/d.h => preprocess-decluse/b.h} (100%) create mode 100644 test/Modules/Inputs/preprocess-decluse/b.modulemap create mode 100644 test/Modules/Inputs/preprocess-decluse/main.modulemap create mode 100644 test/Modules/Inputs/preprocess/other.h create mode 100644 test/Modules/const-var-init-update.cpp create mode 100644 test/Modules/interface-visibility.m create mode 100644 test/Modules/lookup-assert-protocol.m create mode 100644 test/Modules/missing-flag.cpp create mode 100644 test/Modules/preprocess-decluse.cpp create mode 100644 test/Modules/redefinition-c-tagtypes.m create mode 100644 test/OpenMP/taskloop_reduction_messages.cpp create mode 100644 test/OpenMP/taskloop_simd_reduction_messages.cpp create mode 100644 test/Profile/Inputs/cxx-missing-bodies.proftext create mode 100644 test/Profile/cxx-missing-bodies.cpp create mode 100644 test/Rewriter/objc-modern-metadata-visibility2.mm create mode 100644 test/SemaCXX/amdgpu-sizeof-alignof.cpp create mode 100644 test/SemaCXX/dllimport-memptr.cpp create mode 100644 test/SemaCXX/eval-crashes.cpp create mode 100644 test/SemaCXX/invalid-template-params.cpp create mode 100644 test/SemaCXX/unavailable_aligned_allocation.cpp create mode 100644 test/SemaCXX/warn-cast-qual.cpp create mode 100644 test/SemaCXX/warn-throw-out-noexcept-func.cpp create mode 100644 test/SemaObjC/unguarded-availability-new.m create mode 100644 test/clang-rename/ClassAsTemplateArgument.cpp create mode 100644 test/clang-rename/ClassFindByName.cpp create mode 100644 test/clang-rename/ClassSimpleRenaming.cpp create mode 100644 test/clang-rename/ClassTestMulti.cpp create mode 100644 test/clang-rename/ClassTestMultiByName.cpp create mode 100644 test/clang-rename/ComplexFunctionOverride.cpp create mode 100644 test/clang-rename/ComplicatedClassType.cpp create mode 100644 test/clang-rename/Ctor.cpp create mode 100644 test/clang-rename/CtorInitializer.cpp create mode 100644 test/clang-rename/DeclRefExpr.cpp create mode 100644 test/clang-rename/Field.cpp create mode 100644 test/clang-rename/FunctionMacro.cpp create mode 100644 test/clang-rename/FunctionOverride.cpp create mode 100644 test/clang-rename/FunctionWithClassFindByName.cpp create mode 100644 test/clang-rename/IncludeHeaderWithSymbol.cpp create mode 100644 test/clang-rename/Inputs/HeaderWithSymbol.h create mode 100644 test/clang-rename/Inputs/OffsetToNewName.yaml create mode 100644 test/clang-rename/Inputs/QualifiedNameToNewName.yaml create mode 100644 test/clang-rename/InvalidNewName.cpp create mode 100644 test/clang-rename/InvalidOffset.cpp create mode 100644 test/clang-rename/InvalidQualifiedName.cpp create mode 100644 test/clang-rename/MemberExprMacro.cpp create mode 100644 test/clang-rename/Namespace.cpp create mode 100644 test/clang-rename/NoNewName.cpp create mode 100644 test/clang-rename/TemplateClassInstantiation.cpp create mode 100644 test/clang-rename/TemplateTypename.cpp create mode 100644 test/clang-rename/TemplatedClassFunction.cpp create mode 100644 test/clang-rename/UserDefinedConversion.cpp create mode 100644 test/clang-rename/Variable.cpp create mode 100644 test/clang-rename/VariableMacro.cpp create mode 100644 test/clang-rename/YAMLInput.cpp create mode 100644 tools/clang-rename/CMakeLists.txt create mode 100644 tools/clang-rename/ClangRename.cpp create mode 100644 tools/clang-rename/clang-rename.el create mode 100644 tools/clang-rename/clang-rename.py create mode 100644 tools/diagtool/FindDiagnosticID.cpp create mode 100644 unittests/Format/FormatTestTextProto.cpp create mode 100644 unittests/Format/UsingDeclarationsSorterTest.cpp create mode 100644 unittests/Rename/CMakeLists.txt create mode 100644 unittests/Rename/ClangRenameTest.h create mode 100644 unittests/Rename/RenameClassTest.cpp create mode 100644 unittests/Tooling/CastExprTest.cpp