This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/testing in repository clang.
from d05b675 Updating branches/google/testing to r275480 adds 60c99da [modules] Don't pass interesting decls to the consumer for a [...] adds db738f0 Add test inputs missed by r275481. adds f6fec8b C does not have inline variables. Add a few missing tests for [...] adds 543a430 Remove the new module cache from the index-module test adds f1bc238 Frontend: Simplify ownership model for clang's output streams. adds 041ad85 [OpenMP] add check for both simdlen and safelen clauses specified adds 70b1b56 Removing a few more :option: tags that we do not have corresp [...] adds f623a06 Removing a few more :option: tags that we do not have corresp [...] adds 3b88d6c XRay: Remove duplicate checks for xray instrumentation flags adds a26d20c AMDGPU: Add Clang Builtin for v_lerp_u8 adds 8b70028 [objcmt] Don't add an #import of Foundation unnecessarily, if [...] adds 753944f [AST] Keep track of the left brace source location of a tag decl. adds 2527e4e [objcmt] Fix a buffer overflow crash than can occur while mod [...] adds dd81efe [test/objcmt] Add a follow-up test case for r275600. adds 848b378 Sema: support __declspec(dll*) on ObjC interfaces adds ab693fe Push alias-declarations and alias-template declarations into [...] adds 34f54fa AMDGPU: Update for rsq intrinsic changes adds 571b15e AMDGPU: Remove legacy ldexp builtin adds 97fe2e8 Revert r275481, r275490. This broke modules bootstrap. adds 51856a5 [index] Create different USR if a property is a class property. adds 9519129 [CUDA][OpenMP] Create generic offload action adds 2fa8012 Attempt to fix breakage caused by r275645 for Windows bots. adds 0968b29 Use std::string instead of StringRef when generating the auxi [...] adds c45b5c8 Reimplement ExternalSemaSource delegation in terms of Multipl [...] adds d3b0a63 [ObjC] Implement @available in the Parser and AST adds 9c0ed79 Remove extra semi-colon. Fixes warning and Werror bots. adds f3ce631 [Driver] Add flags for enabling both types of PGO Instrumentation adds a296930 Revert "Revert r275029 - Update Clang tests after adding infe [...] adds b29114b CodeGen: simplify using a local variable, NFC adds da544ac CodeGen: use StringRefs more in ObjC class generation, NFC adds 8a9100c [CodeGen] Some assorted cleanups adds 63fb39e PR28589: attempt to work around MSVC rejects-valid. adds b982b0f Attempt to work around MSVC rejects-valid, round 2. adds 1540342 CodeGen: whitespace cleanup, StringRef usage in ObjC EH type [...] adds 02c3231 CodeGen: whitespace, formatting cleanups, NFC adds 0aefc16 CodeGen: honour dllstorage on ObjC types adds b1e12d6 test: add missing triple to test adds 56d5bb9 Revert r275678, "Revert "Revert r275027 - Let FuncAttrs infer [...] adds 2f181fa [OpenMP] update test cases for -std=c++11 compile adds ab11ab0 Release note for 'nodebug' on variables adds 2cc3f4d [analyzer] Add checker modeling potential C++ self-assignment adds 08d7c95 [clang-cl] Reinstate -gline-tables-only as a CoreOption while [...] adds 587aede Trunk release notes are now for 4.0.0 adds 05b45f1 docs/conf.py: update version to 4.0 adds cfabff3 Support -masm= flag for x86 assembly targets. adds d4ee3d8 Revert "[analyzer] Add checker modeling potential C++ self-as [...] adds 2e23251 [NFC] Header cleanup adds 7dd6e49 [Driver] Make Driver::DefaultTargetTriple private (NFCI) adds 126d422 [Driver] Compute effective target triples once per job (NFCI) adds 9328098 Allow iOS and tvOS version numbers with 2-digit major version [...] adds 238b19c Add missing header in ClangFuzzer (after r275882 cleanup) adds 5de4c50 [Sema] Create a separate group for incompatible function poin [...] adds bca87a6 [Coverage] Normalize '..' out of filename strings adds 2e51ff6 [Coverage] Remove '..' from filenames *after* getting an abso [...] adds ba7cbd5 Fix some minor issues found by Coverity. adds 3c6458e [OpenMP] Fix incorrect diagnostics in map clause adds 11f0fb2 [OpenMP] Remove dead code in conditional of mappable expressi [...] adds 22ee737 Append clang system include path for offloading tool chains. adds 7d09ec3 [OPENMP] Improved processing of 'priority' clause, NFC. adds 781898e [OPENMP] Removed loop statement as its body executes at most [...] adds 2c0ee3b [driver][mips] Support MIPS targets in modern Android NDK adds 5e8e75e [driver][mips] Remove empty folder from test inputs adds e5cb97b [mips] Correct label prefixes for N32 and N64. adds 495ba3e Deprecated (legacy) string literal conversion to 'char *' cau [...] adds 42ffd19 Fix for failing bot sanitizer-x86_64-linux-fast after r275970 adds f837911 Add support of the latest Ubuntu (Yakkety Yak - 16.10) adds 0c8bf1e [OpenCL] Fixes bug of missing OCL version metadata on the AMD [...] adds bf79c11 Let FuncAttrs infer the 'returned' argument attribute adds 8a8a9f6 [SemaObjC] Improve ObjCDictionaryLiteral and ObjCArryLiteral [...] adds 2d4a614 Concepts: Create space for requires-clause in TemplateParamet [...] adds d575960 Fix r276069: use LLVM_CONSTEXPR adds 23def50 Fix r276069: add default argument for new parameter adds 06a1ffe Revert r276069: MSVC bots not happy adds 8c7a868 [Sema] Compute the nullability of a conditional expression ba [...] adds 7ee720b [X86][SSE] Reimplement SSE fp2si conversion intrinsics instea [...] adds 1d0ef11 [MS] Improve VPtrInfo field names and doc comments adds bb573cb Fix modules self-host: add missing include and forward-decl. adds 3b75c09 [modules] Don't emit initializers for VarDecls within a modul [...] adds abc509a [OpenCL] AMDGCN target will generate images in constant addre [...] adds 979c19b [OpenMP] Ignore parens in atomic capture adds 7a77c15 [OpenMP] Allow negative lower bound in array sections based o [...] adds dbfd55f When copying an array into a lambda, destroy temporaries from [...] adds 701c919 Fix memory leak introduced in r276159. adds 7715eac [OpenMP] Sema and parsing for 'target simd' pragma adds de15885 [Profile] Document new profile file name modifiers adds 1858d95 [Sema] Fix PR28623. adds 68dff7b [CodeGen] Handle recursion in LLVMIRGeneration Timer. adds d3f9611 [X86] Add missing __x86_64__ qualifiers on a bunch of intrins [...] adds b5dde12 [Sema,X86] Add explicit check to ensure that builtins that re [...] adds 8696bb1 Provide __GLIBCXX_TYPE_INT_N_0 and __GLIBCXX_BITSIZE_INT_N_0 [...] adds 8608703 Include unreferenced nested types in member list only for CodeView adds 9025b9a Revert "Include unreferenced nested types in member list only [...] adds 59b5b47 Move some IntrusiveRefCntPtrs instead of copying. adds 3707e21 Reroll "Include unreferenced nested types in member list only [...] adds 5210a74 Disable a flaky test on Windows that uses "echo >>" adds 540a73b [CodeGen] Fix a crash when constant folding switch statement adds 2f94b4c [Sema] Handle errors during rewriteBuiltinFunctionDecl adds acca0b5 [profile] update test case with interface change. adds 4c0ade3 Reverting r275115 which caused PR28634. When empty (forwardin [...] adds 887e0c0 [analyzer] Add checker modeling potential C++ self-assignment adds dea4d0c [Coverage] Strengthen a test case adds 0def072 [Coverage] Attempt to appease a Windows builder adds fd250c8 [X86][AVX] Added support for lowering to VBROADCASTF128/VBROA [...] adds bc9c0d4 test commit. update comment grammatically. NFC adds f9fef1e Clang changes for overloading invariant.start and end intrinsics adds 459f422 Add .rgba syntax extension to ext_vector_type types adds 6f236a8 Add regression test for PR27699. adds bce52ae [modules] Teach the ASTWriter to ignore mutations coming from [...] adds 8747ea8 [Profile] Enable profile merging with -fprofile-generat[=<dir>] adds 1a9b9ad P0217R3: Parsing support and framework for AST representation [...] adds 122bd49 Add doxygen comments to emmintrin.h's intrinsics. adds 9ae609f Add -fmodules-ts flag to cc1 for the provisional C++ modules [...] adds 402e849 Work around MSVC's lack of support for unrestricted unions by [...] adds 8168933 [cxx1z-constexpr-lambda] Make a lambda's closure type eligibl [...] adds 5912956 [Profile] Use a flag to enable PGO rather than the profraw filename adds 7d8ab4a [analyzer] Pring LocationContext in ExplodedGraph dumps. adds 3253bda [X86] Block pbroadcastq instructions on 32-bit targets instea [...] adds bad32bb [Driver] Switch some getenv calls to llvm::sys::Process::GetEnv adds bd1bb9d [Sema] Replace mem_fn with lambdas. NFC. adds 4ef5448 [MSVCToolChain] Guard hardcoded Windows paths with LLVM_ON_WIN32 adds b58ea25 Update test to account for r276604 adds 3142f1e Update description for CLANG_DEFAULT_CXX_STDLIB and add comment. NFC adds 3289319 MPI-Checker: move MPIFunctionClassifier.h adds 705ef19 [Myriad]: better compatibility with vendor source adds b17dedc Support '#pragma once' in headers when using PCH adds 8373275 [cc1as] Add MCTargetOptions argument to createAsmBackend adds 476fbf4 [CMake] Cleaning up some CMake warnings adds 9d672b1 [Sema][ObjC] Compute the nullability of a conditional express [...] adds 84bcf93 [CMake] Pass DYLD_LIBRARY_PATH as CMake variable instead of as envar adds ce05a53 [Coverage] Do not write out coverage mappings with zero entries adds ad9ac1e [OpenMP] diagnose orphaned teams construct adds e34b8a8 Update for LLVM changes adds 638fa18 [Tooling] skip anonymous namespaces when checking if typeLoc [...] adds a00e404 Make RecursiveASTVisitor visit lambda capture initialization [...] adds bf5e8c5 Update for LLVM changes adds 0d8977c Revert "Make RecursiveASTVisitor visit lambda capture initial [...] adds cefd547 Modules: add command line option fmodules-disable-diagnostic- [...] adds 07b4e2f [analyzer] Add basic capabilities to detect source code clones. adds 9f96fce [analyzer] Hotfix for build failure due to declaration shadow [...] adds 956c8cb Modules: follow up to r276769. adds 57d0d31 Fix for compiling with clang <= 3.7 and g++6 headers adds 781609f Support setting default value for -rtlib at build time adds 4368b2f [ARM] Pass -mimplcit-it= to integrated assembler adds 9f35d62 clang-format: Fix incorrect detection of QT-signals access sp [...] adds c907e20 Adjust Registry interface to not require plugins to export a [...] adds ed9b826 Revert r276856 "Adjust Registry interface to not require plug [...] adds 3f38d95 [ARM] Pass thumb as architecture to the underlying tools, whe [...] adds 0ed81cd Implement filtering for code completion of identifiers. adds 9c2bb4e Update cxx_dr_Status after 3.9 branch adds f435bb6 Fix unnecessary default switch warning adds 63bceb9 UsersManual.rst: update clang-cl option list adds 8d8ec5e Update Clang Parser test error message to match new parser errors adds 6ed4c18 [Sema] Teach getCurrentThisType to reconize lambda in in-clas [...] adds 8930ce6 Adjust coercion of aggregates on RenderScript adds a1f1224 Add flags to toggle preservation of assembly comments adds 9352b97 test commit adds 9ae82cb Add target triple in test adds 919fe98 Don't crash when generating code for __attribute__((naked)) m [...] adds 721ebe8 [CUDA] Align kernel launch args correctly when the LLVM type' [...] adds 8100fbc Refactor how include paths are appended to the command arguments. adds 648e6d9 test/Frontend: Add a test for aarch64 target CPU names. adds 028bcee Basic/Targets.cpp: Reformat aarch64 CPU list. adds b28136e [OpenMP] Add support for mapping array sections through point [...] adds b82333f [OpenMP] Add support to map member expressions with reference [...] adds 0025c15 Revert "[Driver] Compute effective target triples once per jo [...] adds a43c36c Retry: [Driver] Compute effective target triples once per job (NFCI) adds d3f9573 Replace preserve-as-comments CodeGen test with driver test adds 5889762 [analyzer] Add check::BeginFunction to CheckerDocumentation c [...] adds e1c2616 [AArch64] Using AArch64TargetParser in Clang. adds b0e340c Reapply r276856 "Adjust Registry interface to not require plu [...] adds 56b9ac6 [OpenMP] Codegen for use_device_ptr clause. adds f15ab0c [OpenMP] Code generation for the is_device_ptr clause adds 15f36df [OpenMP][CUDA] Do not forward OpenMP flags for CUDA device actions. adds 10d4766 [OpenMP] Do not use default argument in lambda from mappable [...] adds 8e37740 [OpenMP] Fix link command pattern in offloading interoperabil [...] adds 0d45c75 [OpenMP] Change name of variable in mappble expression. adds 3069d50 [CUDA] Rename cuda_phases.cu test to cuda-phases.cu to be con [...] adds 28bd9c6 [CUDA] Remove duplicated test that should have been removed i [...] adds 394ca50 [Driver] Fix Windows SDK Detection adds 40e6fbb Revert r276973 "Adjust Registry interface to not require plug [...] adds b9befdd [analyzer] Fix misleading indentation in ObjCDeallocChecker. NFC. adds 427517d [OpenCL] Generate opaque type for sampler_t and function call [...] adds cab14a52 [analyzer] Update the web manual for checker developers. adds e514ffa [ObjC] Consider availability of context when emitting availab [...] adds 7267cc1 [CUDA] Unswitch enumerators in the selection of the offloadin [...] adds 1148c92 Revert "[ObjC] Consider availability of context when emitting [...] adds c157961 [docs] Mention some new options in llvm-cov adds 24ebc2e [docs] Coverage: Reference the new -output-dir option adds 61f0900 Change a test to be less prone to random failures due to unin [...] adds 51a3084 [Parser] Fix bug where delayed typo in conditional expression [...] adds 3ebf3b2 [Typo police] s/proccess/process/, s/auxiliary/auxilliary/. adds edaa431 [GCC] Support for __final specifier adds f90fc43 Make test not fail on hosts where the default omp library is gomp. adds 003e6f4 Add missing '-no-canonical-prefixes' in test. adds e1aebba [ASTMatcher] Add hasTemplateArgument/hasAnyTemplateArgument s [...] adds 2e5a2bf [ASTMatcher] Add templateName matcher. adds 8cbdbbd Initial vectorization support for svml calls (short vector ma [...] adds 82a36b9 Fix a typo in document. adds 30526a0 Reapply r277058: "[ObjC] Consider availability of context whe [...] adds f529889 [OpenCL] Added CLK_ABGR definition for get_image_channel_orde [...] adds 67e6f3b [OpenCL] Add extension cl_khr_mipmap_image to clang adds e2e205b Improve documentation of the type safety attributes. 1. Add d [...] adds 95c251a CodeGen: try harder to make the CFString structure RW adds f4ac6a3 Fix naked.cpp test on 32-bit Windows adds c892f14 Ensure Ident_GNU_final is properly initialized in the Parser [...] adds 1cb4d96 Fix CGOpenMPRuntime.cpp for VS2013. NFC. I don't know why th [...] adds efed26f Remove unused variable. adds c3c1ac7 [Perf-Helper] Add logging for dtrace commands adds b87bcd8 Fix VS2013 build of CGOpenMPRuntime.cpp adds 5dc810c [c-index-test] Make sure to check that clang_Cursor_getNumTem [...] adds fe9f67e [analyzer] Update APIs taking user-facing strings. adds 6534b04 Correcting some sphinx formatting issues so that the attribut [...] adds 826aea8 Reapply r276069 with workaround for MSVC 2013 adds 1543986 [NFC] Rearrange an example-file so the c++14 specific example [...] adds 331c3de Add more gcc compatibility names to clang's cpuid.h new 6ea07ae Updating branches/google/testing to r277323
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: CMakeLists.txt | 41 +- docs/LibASTMatchersReference.html | 110 +- docs/ReleaseNotes.rst | 107 +- docs/SourceBasedCodeCoverage.rst | 14 +- docs/UsersManual.rst | 130 +- docs/analyzer/conf.py | 4 +- docs/conf.py | 4 +- include/clang-c/Index.h | 12 +- include/clang/AST/ASTConsumer.h | 2 - include/clang/AST/ASTContext.h | 23 + include/clang/AST/ASTTypeTraits.h | 6 + include/clang/AST/ASTVector.h | 1 - include/clang/AST/Attr.h | 2 - include/clang/AST/Availability.h | 63 + include/clang/AST/CXXInheritance.h | 2 - include/clang/AST/CommentLexer.h | 1 - include/clang/AST/Decl.h | 8 +- include/clang/AST/DeclBase.h | 8 +- include/clang/AST/DeclCXX.h | 109 +- include/clang/AST/DeclTemplate.h | 82 +- include/clang/AST/ExprObjC.h | 47 +- include/clang/AST/Mangle.h | 8 +- include/clang/AST/MangleNumberingContext.h | 1 - include/clang/AST/OpenMPClause.h | 233 +- include/clang/AST/OperationKinds.def | 2 + include/clang/AST/RecursiveASTVisitor.h | 16 + include/clang/AST/Redeclarable.h | 1 - include/clang/AST/StmtOpenMP.h | 70 +- include/clang/AST/Type.h | 23 +- include/clang/AST/UnresolvedSet.h | 1 - include/clang/AST/VTTBuilder.h | 1 - include/clang/AST/VTableBuilder.h | 23 +- include/clang/ASTMatchers/ASTMatchers.h | 59 +- include/clang/ASTMatchers/ASTMatchersInternal.h | 7 + include/clang/ASTMatchers/Dynamic/VariantValue.h | 1 - include/clang/Analysis/Analyses/LiveVariables.h | 1 - include/clang/Analysis/CloneDetection.h | 235 + include/clang/Basic/Attr.td | 8 +- include/clang/Basic/AttrDocs.td | 231 +- include/clang/Basic/BuiltinsAMDGPU.def | 11 +- include/clang/Basic/BuiltinsX86.def | 8 + include/clang/Basic/DeclNodes.td | 2 + include/clang/Basic/Diagnostic.h | 9 +- include/clang/Basic/DiagnosticGroups.td | 11 +- include/clang/Basic/DiagnosticParseKinds.td | 19 + include/clang/Basic/DiagnosticSemaKinds.td | 78 +- include/clang/Basic/LangOptions.def | 1 + include/clang/Basic/OpenCLExtensions.def | 1 + include/clang/Basic/OpenCLOptions.h | 3 - include/clang/Basic/OpenMPKinds.def | 23 + include/clang/Basic/PlistSupport.h | 1 - include/clang/Basic/SourceManager.h | 1 - include/clang/Basic/StmtNodes.td | 2 + include/clang/Basic/TargetCXXABI.h | 1 - include/clang/Basic/TargetInfo.h | 6 +- include/clang/Basic/TokenKinds.def | 12 + include/clang/CodeGen/BackendUtil.h | 3 +- include/clang/CodeGen/ModuleBuilder.h | 1 + .../CodeGen/ObjectFilePCHContainerOperations.h | 10 +- include/clang/CodeGen/SwiftCallingConv.h | 1 - include/clang/Config/config.h.cmake | 3 + include/clang/Driver/Action.h | 191 +- include/clang/Driver/CC1Options.td | 2 + include/clang/Driver/Compilation.h | 12 +- include/clang/Driver/Driver.h | 39 +- include/clang/Driver/Multilib.h | 1 - include/clang/Driver/Options.td | 15 +- include/clang/Driver/ToolChain.h | 29 +- include/clang/Edit/Rewriters.h | 1 - include/clang/Frontend/ASTConsumers.h | 2 +- include/clang/Frontend/ASTUnit.h | 5 - include/clang/Frontend/CodeGenOptions.def | 3 +- include/clang/Frontend/CodeGenOptions.h | 6 +- include/clang/Frontend/CompilerInstance.h | 38 +- include/clang/Frontend/CompilerInvocation.h | 12 +- include/clang/Frontend/DiagnosticRenderer.h | 1 - include/clang/Frontend/FrontendActions.h | 9 +- include/clang/Frontend/PCHContainerOperations.h | 20 +- .../clang/Frontend/SerializedDiagnosticReader.h | 1 - include/clang/Index/USRGeneration.h | 2 +- include/clang/Lex/HeaderSearchOptions.h | 4 +- include/clang/Lex/PPCallbacks.h | 4 +- include/clang/Lex/PTHManager.h | 7 +- include/clang/Lex/PreprocessingRecord.h | 1 - include/clang/Lex/Preprocessor.h | 16 + include/clang/Lex/PreprocessorOptions.h | 1 - include/clang/Parse/Parser.h | 10 + include/clang/Rewrite/Frontend/ASTConsumers.h | 7 +- include/clang/Sema/AttributeList.h | 2 + include/clang/Sema/CodeCompleteConsumer.h | 9 + include/clang/Sema/DeclSpec.h | 182 +- include/clang/Sema/Initialization.h | 1 - include/clang/Sema/Overload.h | 5 +- include/clang/Sema/Ownership.h | 1 - include/clang/Sema/Sema.h | 39 +- include/clang/Serialization/ASTBitCodes.h | 8 +- include/clang/Serialization/ASTReader.h | 40 +- include/clang/Serialization/ASTWriter.h | 7 +- include/clang/StaticAnalyzer/Checkers/Checkers.td | 20 + .../Checkers}/MPIFunctionClassifier.h | 0 .../Core/BugReporter/BugReporterVisitor.h | 16 + .../StaticAnalyzer/Core/BugReporter/BugType.h | 1 - .../Core/PathSensitive/ExplodedGraph.h | 1 - .../Core/PathSensitive/ProgramState.h | 1 - .../StaticAnalyzer/Core/PathSensitive/Store.h | 1 - .../Core/PathSensitive/SummaryManager.h | 3 - .../StaticAnalyzer/Frontend/AnalysisConsumer.h | 5 +- include/clang/Tooling/FileMatchTrie.h | 7 +- include/clang/Tooling/ReplacementsYaml.h | 1 - lib/ARCMigrate/ARCMT.cpp | 1 + lib/ARCMigrate/ObjCMT.cpp | 49 +- lib/ARCMigrate/Transforms.cpp | 5 - lib/AST/APValue.cpp | 2 - lib/AST/ASTContext.cpp | 83 +- lib/AST/ASTDiagnostic.cpp | 1 - lib/AST/ASTDumper.cpp | 7 + lib/AST/ASTImporter.cpp | 12 +- lib/AST/ASTTypeTraits.cpp | 3 + lib/AST/AttrImpl.cpp | 3 +- lib/AST/CXXInheritance.cpp | 1 - lib/AST/Comment.cpp | 3 +- lib/AST/CommentBriefParser.cpp | 1 - lib/AST/Decl.cpp | 1 + lib/AST/DeclBase.cpp | 29 +- lib/AST/DeclCXX.cpp | 38 + lib/AST/DeclGroup.cpp | 1 - lib/AST/DeclTemplate.cpp | 30 +- lib/AST/DeclarationName.cpp | 3 +- lib/AST/Expr.cpp | 13 +- lib/AST/ExprClassification.cpp | 1 + lib/AST/ExprConstant.cpp | 6 +- lib/AST/ItaniumMangle.cpp | 23 +- lib/AST/OpenMPClause.cpp | 127 +- lib/AST/StmtOpenMP.cpp | 41 + lib/AST/StmtPrinter.cpp | 10 + lib/AST/StmtProfile.cpp | 10 + lib/AST/Type.cpp | 3 +- lib/AST/TypeLoc.cpp | 1 - lib/AST/VTableBuilder.cpp | 26 +- lib/ASTMatchers/ASTMatchersInternal.cpp | 13 +- lib/ASTMatchers/Dynamic/Parser.cpp | 1 - lib/ASTMatchers/Dynamic/Registry.cpp | 1 + lib/Analysis/CMakeLists.txt | 1 + lib/Analysis/CloneDetection.cpp | 277 + lib/Analysis/Consumed.cpp | 5 +- lib/Analysis/FormatStringParsing.h | 1 - lib/Analysis/ThreadSafety.cpp | 4 +- lib/Analysis/ThreadSafetyCommon.cpp | 6 - lib/Basic/Diagnostic.cpp | 10 +- lib/Basic/DiagnosticOptions.cpp | 2 +- lib/Basic/FileManager.cpp | 3 - lib/Basic/IdentifierTable.cpp | 6 +- lib/Basic/OpenMPKinds.cpp | 16 +- lib/Basic/SourceLocation.cpp | 1 - lib/Basic/SourceManager.cpp | 1 - lib/Basic/TargetInfo.cpp | 1 + lib/Basic/Targets.cpp | 92 +- lib/CodeGen/BackendUtil.cpp | 154 +- lib/CodeGen/CGAtomic.cpp | 3 +- lib/CodeGen/CGBlocks.h | 4 - lib/CodeGen/CGBuiltin.cpp | 47 +- lib/CodeGen/CGCUDABuiltin.cpp | 6 + lib/CodeGen/CGCUDANV.cpp | 41 +- lib/CodeGen/CGCall.h | 1 - lib/CodeGen/CGClass.cpp | 35 + lib/CodeGen/CGDebugInfo.cpp | 153 +- lib/CodeGen/CGDebugInfo.h | 3 + lib/CodeGen/CGDecl.cpp | 5 +- lib/CodeGen/CGDeclCXX.cpp | 6 +- lib/CodeGen/CGExpr.cpp | 1 + lib/CodeGen/CGExprAgg.cpp | 1 + lib/CodeGen/CGExprComplex.cpp | 4 +- lib/CodeGen/CGExprConstant.cpp | 3 + lib/CodeGen/CGExprScalar.cpp | 5 +- lib/CodeGen/CGLoopInfo.h | 1 - lib/CodeGen/CGObjCGNU.cpp | 119 +- lib/CodeGen/CGObjCMac.cpp | 306 +- lib/CodeGen/CGOpenCLRuntime.cpp | 14 +- lib/CodeGen/CGOpenCLRuntime.h | 6 +- lib/CodeGen/CGOpenMPRuntime.cpp | 490 +- lib/CodeGen/CGOpenMPRuntime.h | 50 +- lib/CodeGen/CGStmt.cpp | 25 +- lib/CodeGen/CGStmtOpenMP.cpp | 165 +- lib/CodeGen/CGVTables.cpp | 5 +- lib/CodeGen/CodeGenAction.cpp | 54 +- lib/CodeGen/CodeGenFunction.h | 4 + lib/CodeGen/CodeGenModule.cpp | 37 +- lib/CodeGen/CodeGenModule.h | 3 + lib/CodeGen/CodeGenPGO.h | 2 - lib/CodeGen/CodeGenTypes.h | 6 +- lib/CodeGen/CoverageMappingGen.cpp | 33 +- lib/CodeGen/CoverageMappingGen.h | 1 - lib/CodeGen/ItaniumCXXABI.cpp | 4 + lib/CodeGen/MicrosoftCXXABI.cpp | 36 +- lib/CodeGen/ObjectFilePCHContainerOperations.cpp | 29 +- lib/CodeGen/TargetInfo.cpp | 69 +- lib/CodeGen/TargetInfo.h | 3 + lib/Driver/Action.cpp | 217 +- lib/Driver/CrossWindowsToolChain.cpp | 1 + lib/Driver/Driver.cpp | 395 +- lib/Driver/Job.cpp | 5 +- lib/Driver/MSVCToolChain.cpp | 63 +- lib/Driver/Multilib.cpp | 2 - lib/Driver/ToolChain.cpp | 40 +- lib/Driver/ToolChains.cpp | 148 +- lib/Driver/ToolChains.h | 6 +- lib/Driver/Tools.cpp | 294 +- lib/Driver/Tools.h | 5 +- lib/Edit/RewriteObjCFoundationAPI.cpp | 1 + lib/Format/ContinuationIndenter.cpp | 1 - lib/Format/Format.cpp | 1 - lib/Format/FormatToken.cpp | 3 +- lib/Format/TokenAnnotator.h | 1 - lib/Format/UnwrappedLineFormatter.cpp | 1 + lib/Format/UnwrappedLineFormatter.h | 2 - lib/Format/UnwrappedLineParser.cpp | 2 +- lib/Frontend/ASTConsumers.cpp | 14 +- lib/Frontend/ASTUnit.cpp | 14 +- lib/Frontend/CacheTokens.cpp | 3 +- lib/Frontend/ChainedIncludesSource.cpp | 161 +- lib/Frontend/CompilerInstance.cpp | 24 +- lib/Frontend/CompilerInvocation.cpp | 23 +- lib/Frontend/CreateInvocationFromCommandLine.cpp | 16 +- lib/Frontend/DiagnosticRenderer.cpp | 2 - lib/Frontend/FrontendAction.cpp | 3 +- lib/Frontend/FrontendActions.cpp | 54 +- lib/Frontend/InitHeaderSearch.cpp | 3 +- lib/Frontend/InitPreprocessor.cpp | 10 +- lib/Frontend/ModuleDependencyCollector.cpp | 1 - lib/Frontend/PCHContainerOperations.cpp | 10 +- lib/Frontend/Rewrite/FrontendActions.cpp | 32 +- lib/Frontend/Rewrite/HTMLPrint.cpp | 18 +- lib/Frontend/Rewrite/RewriteModernObjC.cpp | 31 +- lib/Frontend/Rewrite/RewriteObjC.cpp | 26 +- lib/Frontend/Rewrite/RewriteTest.cpp | 4 +- lib/Frontend/SerializedDiagnosticPrinter.cpp | 3 - lib/Frontend/SerializedDiagnosticReader.cpp | 1 - lib/Frontend/TextDiagnostic.cpp | 1 - lib/Frontend/TextDiagnosticPrinter.cpp | 2 - lib/Headers/avx512fintrin.h | 37 +- lib/Headers/avx512vlintrin.h | 2 + lib/Headers/avxintrin.h | 4 +- lib/Headers/cpuid.h | 8 +- lib/Headers/emmintrin.h | 778 +- lib/Headers/fxsrintrin.h | 10 +- lib/Headers/opencl-c.h | 1 + lib/Headers/xmmintrin.h | 6 +- lib/Index/USRGeneration.cpp | 12 +- lib/Lex/HeaderSearch.cpp | 1 - lib/Lex/Lexer.cpp | 10 +- lib/Lex/LiteralSupport.cpp | 1 + lib/Lex/PPDirectives.cpp | 3 +- lib/Lex/PPMacroExpansion.cpp | 5 +- lib/Lex/PTHLexer.cpp | 1 - lib/Lex/Pragma.cpp | 6 +- lib/Lex/Preprocessor.cpp | 7 +- lib/Parse/ParseDecl.cpp | 86 +- lib/Parse/ParseDeclCXX.cpp | 15 +- lib/Parse/ParseExpr.cpp | 126 +- lib/Parse/ParseExprCXX.cpp | 1 + lib/Parse/ParseInit.cpp | 3 +- lib/Parse/ParseObjc.cpp | 27 +- lib/Parse/ParseOpenMP.cpp | 8 +- lib/Parse/ParseStmt.cpp | 5 +- lib/Parse/ParseTemplate.cpp | 3 +- lib/Parse/ParseTentative.cpp | 9 +- lib/Parse/Parser.cpp | 2 +- lib/Sema/AnalysisBasedWarnings.cpp | 5 - lib/Sema/AttributeList.cpp | 1 - lib/Sema/CodeCompleteConsumer.cpp | 25 + lib/Sema/DeclSpec.cpp | 38 +- lib/Sema/Sema.cpp | 4 +- lib/Sema/SemaAttr.cpp | 2 +- lib/Sema/SemaCXXScopeSpec.cpp | 3 +- lib/Sema/SemaChecking.cpp | 61 +- lib/Sema/SemaDecl.cpp | 303 +- lib/Sema/SemaDeclAttr.cpp | 27 +- lib/Sema/SemaDeclCXX.cpp | 9 +- lib/Sema/SemaDeclObjC.cpp | 6 +- lib/Sema/SemaExceptionSpec.cpp | 1 + lib/Sema/SemaExpr.cpp | 154 +- lib/Sema/SemaExprCXX.cpp | 38 +- lib/Sema/SemaExprMember.cpp | 30 +- lib/Sema/SemaInit.cpp | 94 +- lib/Sema/SemaLambda.cpp | 10 +- lib/Sema/SemaLookup.cpp | 12 +- lib/Sema/SemaOpenMP.cpp | 516 +- lib/Sema/SemaOverload.cpp | 12 +- lib/Sema/SemaStmtAsm.cpp | 3 +- lib/Sema/SemaTemplate.cpp | 7 +- lib/Sema/SemaTemplateDeduction.cpp | 4 +- lib/Sema/SemaTemplateInstantiate.cpp | 2 +- lib/Sema/SemaTemplateInstantiateDecl.cpp | 20 +- lib/Sema/TreeTransform.h | 17 + lib/Serialization/ASTCommon.cpp | 2 + lib/Serialization/ASTReader.cpp | 30 +- lib/Serialization/ASTReaderDecl.cpp | 34 +- lib/Serialization/ASTReaderInternals.h | 4 +- lib/Serialization/ASTReaderStmt.cpp | 122 +- lib/Serialization/ASTWriter.cpp | 47 +- lib/Serialization/ASTWriterDecl.cpp | 17 +- lib/Serialization/ASTWriterStmt.cpp | 46 +- lib/Serialization/GeneratePCH.cpp | 5 +- lib/Serialization/Module.cpp | 1 - lib/Serialization/ModuleFileExtension.cpp | 1 - lib/Serialization/ModuleManager.cpp | 3 +- lib/Serialization/MultiOnDiskHashTable.h | 4 + lib/StaticAnalyzer/Checkers/CMakeLists.txt | 2 + lib/StaticAnalyzer/Checkers/CStringChecker.cpp | 1 - .../Checkers/CXXSelfAssignmentChecker.cpp | 62 + lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp | 2 +- .../Checkers/CheckerDocumentation.cpp | 1 + lib/StaticAnalyzer/Checkers/ChrootChecker.cpp | 1 - lib/StaticAnalyzer/Checkers/CloneChecker.cpp | 96 + .../Checkers/LocalizationChecker.cpp | 35 +- .../Checkers/MPI-Checker/MPIChecker.cpp | 9 +- .../Checkers/MPI-Checker/MPIChecker.h | 5 +- .../Checkers/MPI-Checker/MPIFunctionClassifier.cpp | 2 +- lib/StaticAnalyzer/Checkers/MPI-Checker/MPITypes.h | 3 +- lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 1 - .../Checkers/PointerArithChecker.cpp | 1 - lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp | 1 - lib/StaticAnalyzer/Checkers/StreamChecker.cpp | 1 - lib/StaticAnalyzer/Core/BugReporter.cpp | 1 + lib/StaticAnalyzer/Core/BugReporterVisitors.cpp | 53 + lib/StaticAnalyzer/Core/CoreEngine.cpp | 1 - lib/StaticAnalyzer/Core/ExplodedGraph.cpp | 2 - lib/StaticAnalyzer/Core/ExprEngine.cpp | 97 +- lib/StaticAnalyzer/Core/ExprEngineC.cpp | 1 + lib/StaticAnalyzer/Core/IssueHash.cpp | 1 - lib/StaticAnalyzer/Core/PlistDiagnostics.cpp | 1 - lib/StaticAnalyzer/Core/RangeConstraintManager.cpp | 1 - lib/StaticAnalyzer/Core/RegionStore.cpp | 1 - lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp | 16 +- lib/StaticAnalyzer/Frontend/ModelInjector.cpp | 1 - lib/StaticAnalyzer/Frontend/ModelInjector.h | 4 - lib/Tooling/Core/Lookup.cpp | 45 +- lib/Tooling/Core/QualTypeNames.cpp | 2 - lib/Tooling/Core/Replacement.cpp | 1 - lib/Tooling/Refactoring.cpp | 3 +- lib/Tooling/Tooling.cpp | 3 +- test/ARCMT/objcmt-ns-enum-crash.m | 14 + test/ARCMT/objcmt-ns-enum-crash.m.result | 14 + test/ARCMT/objcmt-ns-macros.m.result | 5 +- test/ARCMT/whitelisted/header1.h | 2 + test/ARCMT/whitelisted/header1.h.result | 2 + test/ARCMT/whitelisted/header2.h | 3 + test/ARCMT/whitelisted/header2.h.result | 3 + test/ARCMT/whitelisted/objcmt-with-whitelist.m | 4 +- test/Analysis/copypaste/blocks.cpp | 19 + test/Analysis/copypaste/false-positives.cpp | 29 + test/Analysis/copypaste/functions.cpp | 25 + test/Analysis/copypaste/objc-methods.m | 27 + test/Analysis/copypaste/sub-sequences.cpp | 27 + test/Analysis/self-assign.cpp | 89 + test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp | 4 +- test/CXX/drs/dr6xx.cpp | 4 +- test/CXX/temp/temp.param/p15-cxx0x.cpp | 2 +- test/CodeCompletion/objc-message.mm | 4 +- test/CodeGen/CFStrings.c | 28 +- test/CodeGen/aarch64-neon-2velem.c | 2063 ++--- test/CodeGen/aarch64-neon-across.c | 112 +- test/CodeGen/aarch64-neon-fma.c | 16 +- test/CodeGen/aarch64-neon-intrinsics.c | 6632 +++++++-------- test/CodeGen/aarch64-neon-misc.c | 1636 ++-- test/CodeGen/aarch64-neon-perm.c | 1416 ++-- test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c | 4 +- test/CodeGen/aarch64-poly64.c | 36 +- test/CodeGen/arm-neon-directed-rounding.c | 96 +- test/CodeGen/arm-neon-fma.c | 16 +- test/CodeGen/arm-neon-numeric-maxmin.c | 40 +- test/CodeGen/arm-neon-vcvtX.c | 64 +- test/CodeGen/arm_neon_intrinsics.c | 8629 +++++++------------- test/CodeGen/avx-builtins.c | 10 +- test/CodeGen/avx512f-builtins.c | 36 + test/CodeGen/avx512vl-builtins.c | 2 + test/CodeGen/builtins-x86-disabled.c | 22 + test/CodeGen/builtins-x86.c | 8 + test/CodeGen/ext-vector.c | 37 + test/CodeGen/forwarding-blocks-if.c | 36 - test/CodeGen/ppc64-struct-onevect.c | 2 +- test/CodeGen/renderscript.c | 115 + test/CodeGen/sse-builtins.c | 9 +- test/CodeGen/sse2-builtins.c | 10 +- test/CodeGen/target-data.c | 8 +- test/CodeGenCUDA/kernel-args-alignment.cu | 36 + test/CodeGenCXX/atomicinit.cpp | 4 +- test/CodeGenCXX/debug-info-dup-fwd-decl.cpp | 2 +- test/CodeGenCXX/debug-info-ms-abi.cpp | 17 +- test/CodeGenCXX/init-invariant.cpp | 14 +- test/CodeGenCXX/lambda-expressions.cpp | 54 +- test/CodeGenCXX/naked.cpp | 13 + test/CodeGenCXX/switch-case-folding-2.cpp | 9 + test/CodeGenCXX/wasm-args-returns.cpp | 4 +- test/CodeGenObjC/2010-02-01-utf16-with-null.m | 2 +- test/CodeGenObjC/dllstorage.m | 151 + test/CodeGenObjC/hidden-visibility.m | 2 +- test/CodeGenObjC/tentative-cfconstantstring.m | 2 +- test/CodeGenObjCXX/arc-cxx11-init-list.mm | 4 +- test/CodeGenOpenCL/as_type.cl | 2 +- test/CodeGenOpenCL/builtins-amdgcn.cl | 37 +- test/CodeGenOpenCL/builtins-r600.cl | 32 +- test/CodeGenOpenCL/opencl_types.cl | 48 +- test/CodeGenOpenCL/sampler.cl | 57 + test/CodeGenOpenCL/spir_version.cl | 47 +- test/CoverageMapping/abspath.cpp | 15 + .../{system_macro.c => system_macro.cpp} | 9 +- .../4.9/32/mips-r1}/crtbegin.o | 0 .../4.9/32/mips-r1}/crtend.o | 0 .../4.9/32/mips-r2}/crtbegin.o | 0 .../4.9/32/mips-r2}/crtend.o | 0 .../4.9/32/mips-r6}/crtbegin.o | 0 .../4.9/32/mips-r6}/crtend.o | 0 .../4.9/crtbegin.o | 0 .../4.9/crtend.o | 0 .../gcc/mips64el-linux-android/4.9/include}/.keep | 0 .../mips64el-linux-android}/bin/.keep | 0 .../mips64el-linux-android/lib}/.keep | 0 .../mips64el-linux-android/lib64}/.keep | 0 .../mips64el-linux-android/libr2}/.keep | 0 .../mips64el-linux-android/libr6}/.keep | 0 .../mipsel-linux-android/libr2}/.keep | 0 .../mipsel-linux-android/libr6}/.keep | 0 .../sysroot/usr/{lib => libr2}/crtbegin_dynamic.o | 0 .../sysroot/usr/{lib => libr2}/crtbegin_so.o | 0 .../sysroot/usr/{lib => libr2}/crtbegin_static.o | 0 .../sysroot/usr/{lib => libr2}/crtend_android.o | 0 .../sysroot/usr/{lib => libr2}/crtend_so.o | 0 .../sysroot/usr/{lib => libr6}/crtbegin_dynamic.o | 0 .../sysroot/usr/{lib => libr6}/crtbegin_so.o | 0 .../sysroot/usr/{lib => libr6}/crtbegin_static.o | 0 .../sysroot/usr/{lib => libr6}/crtend_android.o | 0 .../sysroot/usr/{lib => libr6}/crtend_so.o | 0 .../mipsel-linux-android/4.4.3/mips-r6/crtbegin.o | 0 .../mipsel-linux-android/4.4.3/mips-r6/crtbeginS.o | 0 .../mipsel-linux-android/4.4.3/mips-r6/crtbeginT.o | 0 .../mipsel-linux-android/4.4.3/mips-r6/crtend.o | 0 .../mipsel-linux-android/4.4.3/mips-r6/crtendS.o | 0 test/Driver/android-ndk-standalone.cpp | 48 +- test/Driver/android-standalone.cpp | 16 - test/Driver/arm-implicit-it.s | 24 + test/Driver/clang_f_opts.c | 10 +- test/Driver/cuda-phases.cu | 206 + test/Driver/cuda-version-check.cu | 9 + test/Driver/linux-ld.c | 76 +- test/Driver/masm.s | 11 + test/Driver/miamcu-opt.c | 14 +- test/Driver/miamcu-opt.cpp | 2 +- test/Driver/mingw-libgcc.c | 24 +- test/Driver/mingw.cpp | 14 +- test/Driver/mips-mti-linux.c | 4 +- test/Driver/modules.m | 6 + test/Driver/offloading-interoperability.c | 17 + test/Driver/preserve-as-comments.c | 2 + test/Driver/sanitizer-ld.c | 2 +- test/Driver/windows-cross.c | 2 +- test/Driver/windows-thumb.s | 2 + test/Frontend/aarch64-target-cpu.c | 14 + test/Frontend/darwin-version.c | 4 + test/Frontend/int128.cpp | 11 + test/Index/complete-method-decls.m | 2 +- test/Index/complete-objc-message-id.m | 4 +- test/Index/complete-objc-message.m | 8 +- test/Index/complete-recovery.m | 2 +- test/Index/complete-super.m | 4 +- test/Index/index-decls.m | 2 + test/Index/index-module.m | 2 +- test/Lexer/modules-ts.cpp | 11 + test/Misc/amdgcn.languageOptsOpenCL.cl | 12 + test/Modules/Inputs/DiagOutOfDate.h | 1 + test/Modules/Inputs/PR27699/Subdir/a.h | 1 + test/Modules/Inputs/PR27699/Subdir/b.h | 1 + test/Modules/Inputs/PR27699/module.modulemap | 1 + test/Modules/Inputs/PR27699/streambuf | 7 + test/Modules/Inputs/PR28332/TextualInclude.h | 7 + test/Modules/Inputs/PR28332/a.h | 8 + test/Modules/Inputs/PR28332/b.h | 3 + test/Modules/Inputs/PR28332/c.h | 2 + test/Modules/Inputs/PR28332/module.modulemap | 3 + test/Modules/Inputs/module.map | 4 + .../Inputs/pch-import-module-out-of-date.pch | 1 + test/Modules/Inputs/unused-global-init/init.h | 1 + .../Inputs/unused-global-init/module.modulemap | 3 + test/Modules/Inputs/unused-global-init/other.h | 1 + test/Modules/Inputs/unused-global-init/unused.h | 1 + test/Modules/Inputs/unused-global-init/used.h | 2 + test/Modules/ModuleDebugInfo.cpp | 2 +- test/Modules/diagnostic-options-out-of-date.m | 12 + test/Modules/embed-files.cpp | 5 + test/Modules/odr.cpp | 8 +- test/Modules/pr27699.cpp | 9 + test/Modules/pr28332.cpp | 8 + test/Modules/submodules-merge-defs.cpp | 7 + test/Modules/templates.mm | 8 +- test/Modules/unused-global-init.cpp | 37 + test/OpenMP/atomic_messages.c | 4 + test/OpenMP/atomic_messages.cpp | 4 + .../distribute_parallel_for_simd_misc_messages.c | 17 + test/OpenMP/distribute_simd_misc_messages.c | 17 + test/OpenMP/linking.c | 18 +- test/OpenMP/nesting_of_regions.cpp | 837 +- test/OpenMP/parallel_for_simd_codegen.cpp | 110 +- test/OpenMP/target_data_use_device_ptr_codegen.cpp | 464 ++ test/OpenMP/target_depend_messages.cpp | 2 +- test/OpenMP/target_enter_data_depend_messages.cpp | 4 +- test/OpenMP/target_exit_data_depend_messages.cpp | 4 +- test/OpenMP/target_is_device_ptr_codegen.cpp | 293 + test/OpenMP/target_is_device_ptr_messages.cpp | 34 + test/OpenMP/target_map_codegen.cpp | 290 +- test/OpenMP/target_map_messages.cpp | 17 +- test/OpenMP/target_parallel_depend_messages.cpp | 2 +- .../OpenMP/target_parallel_for_depend_messages.cpp | 2 +- test/OpenMP/target_parallel_for_map_messages.cpp | 16 +- .../target_parallel_for_simd_collapse_messages.cpp | 24 +- .../target_parallel_for_simd_depend_messages.cpp | 2 +- .../target_parallel_for_simd_map_messages.cpp | 16 +- .../target_parallel_for_simd_misc_messages.c | 181 + .../target_parallel_for_simd_ordered_messages.cpp | 24 +- test/OpenMP/target_parallel_map_messages.cpp | 16 +- test/OpenMP/target_simd_aligned_messages.cpp | 203 + test/OpenMP/target_simd_ast_print.cpp | 310 + test/OpenMP/target_simd_collapse_messages.cpp | 100 + test/OpenMP/target_simd_defaultmap_messages.cpp | 58 + test/OpenMP/target_simd_depend_messages.cpp | 90 + test/OpenMP/target_simd_device_messages.cpp | 40 + test/OpenMP/target_simd_firstprivate_messages.cpp | 261 + test/OpenMP/target_simd_if_messages.cpp | 91 + test/OpenMP/target_simd_is_device_ptr_messages.cpp | 288 + test/OpenMP/target_simd_lastprivate_messages.cpp | 238 + test/OpenMP/target_simd_linear_messages.cpp | 269 + test/OpenMP/target_simd_loop_messages.cpp | 629 ++ test/OpenMP/target_simd_map_messages.cpp | 273 + test/OpenMP/target_simd_messages.cpp | 92 + test/OpenMP/target_simd_misc_messages.c | 485 ++ test/OpenMP/target_simd_nowait_messages.cpp | 18 + test/OpenMP/target_simd_private_messages.cpp | 231 + test/OpenMP/target_simd_reduction_messages.cpp | 313 + test/OpenMP/target_simd_safelen_messages.cpp | 102 + test/OpenMP/target_simd_simdlen_messages.cpp | 142 + test/OpenMP/target_update_depend_messages.cpp | 4 +- test/OpenMP/task_depend_messages.cpp | 2 +- test/PCH/Inputs/pragma-once.h | 5 + test/PCH/pragma-once.c | 13 + test/Parser/cxx1z-decomposition.cpp | 135 + test/Parser/gcc-__final-compatibility.cpp | 9 + test/Parser/ms-inline-asm.c | 2 +- test/Parser/objc-available.m | 24 + test/Preprocessor/predefined-arch-macros.c | 3 + test/Profile/c-generate.c | 4 +- test/Profile/gcc-flag-compatibility.c | 8 +- test/Sema/builtins.cl | 5 +- test/Sema/dllexport.c | 18 +- test/Sema/dllimport.c | 18 +- test/Sema/ext_vector_components.c | 27 + test/Sema/incompatible-function-pointer-types.c | 14 + test/Sema/initialize-noreturn.c | 2 +- test/Sema/inline.c | 2 +- test/Sema/nullability.c | 67 + test/Sema/overloadable.c | 2 +- test/Sema/typo-correction.c | 15 + test/SemaCXX/alias-template.cpp | 4 +- test/SemaCXX/atomic-ops.cpp | 9 + test/SemaCXX/cxx1z-constexpr-lambdas.cpp | 20 +- test/SemaCXX/cxx1z-decomposition.cpp | 11 + test/SemaCXX/dllexport.cpp | 18 +- test/SemaCXX/dllimport.cpp | 18 +- test/SemaCXX/inline.cpp | 13 + test/SemaCXX/lambda-expressions.cpp | 30 +- test/SemaCXX/nullability.cpp | 20 + test/SemaCXX/pr28050.cpp | 11 + test/SemaObjC/attr-availability.m | 31 + test/SemaObjC/dllexport.m | 30 + test/SemaObjC/dllimport.m | 30 + test/SemaObjC/nullability.m | 28 +- test/SemaObjC/objc-array-literal.m | 8 + test/SemaObjC/objc-dictionary-literal.m | 7 + test/SemaObjCXX/dllexport.mm | 33 + test/SemaObjCXX/dllimport.mm | 32 + test/SemaOpenCL/ext_vectors.cl | 11 + test/SemaOpenCL/extension-version.cl | 12 + test/SemaOpenCL/sampler_t.cl | 64 +- test/SemaTemplate/alias-templates.cpp | 6 + tools/arcmt-test/arcmt-test.cpp | 6 +- tools/c-index-test/c-index-test.c | 7 +- tools/clang-check/ClangCheck.cpp | 2 +- tools/clang-format/ClangFormat.cpp | 2 - tools/clang-fuzzer/ClangFuzzer.cpp | 1 + tools/diagtool/DiagTool.cpp | 1 - tools/diagtool/TreeView.cpp | 1 - tools/driver/cc1as_main.cpp | 6 +- tools/driver/driver.cpp | 4 +- tools/libclang/CIndex.cpp | 16 +- tools/libclang/CIndexDiagnostic.cpp | 6 +- tools/libclang/CIndexInclusionStack.cpp | 2 - tools/libclang/CIndexUSRs.cpp | 2 +- tools/libclang/CIndexer.cpp | 15 +- tools/libclang/CIndexer.h | 5 +- tools/libclang/CXComment.cpp | 3 +- tools/libclang/CXCursor.cpp | 9 +- tools/libclang/CXIndexDataConsumer.h | 1 - tools/libclang/CXLoadedDiagnostic.cpp | 2 - tools/libclang/CXLoadedDiagnostic.h | 1 - tools/libclang/CXStoredDiagnostic.cpp | 3 - tools/libclang/CXString.cpp | 1 - tools/libclang/Indexing.cpp | 2 +- unittests/AST/ASTVectorTest.cpp | 1 - unittests/AST/CommentParser.cpp | 1 - unittests/AST/ExternalASTSourceTest.cpp | 1 + unittests/ASTMatchers/ASTMatchersTraversalTest.cpp | 21 + unittests/ASTMatchers/Dynamic/ParserTest.cpp | 1 - unittests/Basic/VirtualFileSystemTest.cpp | 1 - unittests/Format/FormatTest.cpp | 4 + unittests/Frontend/CodeGenActionTest.cpp | 5 +- unittests/Frontend/FrontendActionTest.cpp | 3 +- unittests/Tooling/CompilationDatabaseTest.cpp | 1 - unittests/Tooling/LookupTest.cpp | 8 + .../Tooling/RecursiveASTVisitorTestCallVisitor.cpp | 1 - .../Tooling/RecursiveASTVisitorTestDeclVisitor.cpp | 1 - .../Tooling/RecursiveASTVisitorTestExprVisitor.cpp | 1 - .../RecursiveASTVisitorTestTypeLocVisitor.cpp | 1 - unittests/Tooling/RefactoringTest.cpp | 1 - unittests/Tooling/ToolingTest.cpp | 3 +- utils/TableGen/ClangAttrEmitter.cpp | 9 + utils/TableGen/ClangDiagnosticsEmitter.cpp | 4 - utils/TableGen/NeonEmitter.cpp | 2 - utils/perf-training/perf-helper.py | 1 + www/analyzer/checker_dev_manual.html | 224 +- www/cxx_dr_status.html | 18 +- www/make_cxx_dr_status | 4 +- 629 files changed, 25188 insertions(+), 15912 deletions(-) create mode 100644 include/clang/AST/Availability.h create mode 100644 include/clang/Analysis/CloneDetection.h rename {lib/StaticAnalyzer/Checkers/MPI-Checker => include/clang/StaticAnalyzer/Ch [...] create mode 100644 lib/Analysis/CloneDetection.cpp create mode 100644 lib/StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp create mode 100644 lib/StaticAnalyzer/Checkers/CloneChecker.cpp create mode 100644 test/ARCMT/objcmt-ns-enum-crash.m create mode 100644 test/ARCMT/objcmt-ns-enum-crash.m.result create mode 100644 test/Analysis/copypaste/blocks.cpp create mode 100644 test/Analysis/copypaste/false-positives.cpp create mode 100644 test/Analysis/copypaste/functions.cpp create mode 100644 test/Analysis/copypaste/objc-methods.m create mode 100644 test/Analysis/copypaste/sub-sequences.cpp create mode 100644 test/Analysis/self-assign.cpp create mode 100644 test/CodeGen/builtins-x86-disabled.c delete mode 100644 test/CodeGen/forwarding-blocks-if.c create mode 100644 test/CodeGenCUDA/kernel-args-alignment.cu create mode 100644 test/CodeGenCXX/naked.cpp create mode 100644 test/CodeGenObjC/dllstorage.m create mode 100644 test/CodeGenOpenCL/sampler.cl create mode 100644 test/CoverageMapping/abspath.cpp rename test/CoverageMapping/{system_macro.c => system_macro.cpp} (50%) copy test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/{aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/{aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/{aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/{aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/{aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/{aarch64-linux-android/4.9 [...] copy test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/{aarch64-linux-android => m [...] copy test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/{aarch64-linux-android => m [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => basic_android_ndk_tree/lib/gcc [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda => basic_android_ndk_tree/mips64el-li [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => basic_android_ndk_tree/mips64e [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => basic_android_ndk_tree/mips64e [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => basic_android_ndk_tree/mips64e [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => basic_android_ndk_tree/mips64e [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => basic_android_ndk_tree/mipsel- [...] copy test/Driver/Inputs/{CUDA/usr/local/cuda/bin => basic_android_ndk_tree/mipsel- [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr2}/crtbegin [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr2}/crtbegin [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr2}/crtbegin [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr2}/crtend_a [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr2}/crtend_s [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr6}/crtbegin [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr6}/crtbegin [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr6}/crtbegin [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr6}/crtend_a [...] copy test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/{lib => libr6}/crtend_s [...] delete mode 100644 test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-andr [...] delete mode 100644 test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-andr [...] delete mode 100644 test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-andr [...] delete mode 100644 test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-andr [...] delete mode 100644 test/Driver/Inputs/basic_android_tree/lib/gcc/mipsel-linux-andr [...] create mode 100644 test/Driver/arm-implicit-it.s create mode 100644 test/Driver/cuda-phases.cu create mode 100644 test/Driver/masm.s create mode 100644 test/Driver/offloading-interoperability.c create mode 100644 test/Driver/preserve-as-comments.c create mode 100644 test/Driver/windows-thumb.s create mode 100644 test/Frontend/aarch64-target-cpu.c create mode 100644 test/Frontend/int128.cpp create mode 100644 test/Lexer/modules-ts.cpp create mode 100644 test/Modules/Inputs/DiagOutOfDate.h create mode 100644 test/Modules/Inputs/PR27699/Subdir/a.h create mode 100644 test/Modules/Inputs/PR27699/Subdir/b.h create mode 100644 test/Modules/Inputs/PR27699/module.modulemap create mode 100644 test/Modules/Inputs/PR27699/streambuf create mode 100644 test/Modules/Inputs/PR28332/TextualInclude.h create mode 100644 test/Modules/Inputs/PR28332/a.h create mode 100644 test/Modules/Inputs/PR28332/b.h create mode 100644 test/Modules/Inputs/PR28332/c.h create mode 100644 test/Modules/Inputs/PR28332/module.modulemap create mode 100644 test/Modules/Inputs/pch-import-module-out-of-date.pch create mode 100644 test/Modules/Inputs/unused-global-init/init.h create mode 100644 test/Modules/Inputs/unused-global-init/module.modulemap create mode 100644 test/Modules/Inputs/unused-global-init/other.h create mode 100644 test/Modules/Inputs/unused-global-init/unused.h create mode 100644 test/Modules/Inputs/unused-global-init/used.h create mode 100644 test/Modules/diagnostic-options-out-of-date.m create mode 100644 test/Modules/pr27699.cpp create mode 100644 test/Modules/pr28332.cpp create mode 100644 test/Modules/unused-global-init.cpp create mode 100644 test/OpenMP/target_data_use_device_ptr_codegen.cpp create mode 100644 test/OpenMP/target_is_device_ptr_codegen.cpp create mode 100644 test/OpenMP/target_simd_aligned_messages.cpp create mode 100644 test/OpenMP/target_simd_ast_print.cpp create mode 100644 test/OpenMP/target_simd_collapse_messages.cpp create mode 100644 test/OpenMP/target_simd_defaultmap_messages.cpp create mode 100644 test/OpenMP/target_simd_depend_messages.cpp create mode 100644 test/OpenMP/target_simd_device_messages.cpp create mode 100644 test/OpenMP/target_simd_firstprivate_messages.cpp create mode 100644 test/OpenMP/target_simd_if_messages.cpp create mode 100644 test/OpenMP/target_simd_is_device_ptr_messages.cpp create mode 100644 test/OpenMP/target_simd_lastprivate_messages.cpp create mode 100644 test/OpenMP/target_simd_linear_messages.cpp create mode 100644 test/OpenMP/target_simd_loop_messages.cpp create mode 100644 test/OpenMP/target_simd_map_messages.cpp create mode 100644 test/OpenMP/target_simd_messages.cpp create mode 100644 test/OpenMP/target_simd_misc_messages.c create mode 100644 test/OpenMP/target_simd_nowait_messages.cpp create mode 100644 test/OpenMP/target_simd_private_messages.cpp create mode 100644 test/OpenMP/target_simd_reduction_messages.cpp create mode 100644 test/OpenMP/target_simd_safelen_messages.cpp create mode 100644 test/OpenMP/target_simd_simdlen_messages.cpp create mode 100644 test/PCH/Inputs/pragma-once.h create mode 100644 test/PCH/pragma-once.c create mode 100644 test/Parser/cxx1z-decomposition.cpp create mode 100644 test/Parser/gcc-__final-compatibility.cpp create mode 100644 test/Parser/objc-available.m create mode 100644 test/Sema/incompatible-function-pointer-types.c create mode 100644 test/SemaCXX/atomic-ops.cpp create mode 100644 test/SemaCXX/cxx1z-decomposition.cpp create mode 100644 test/SemaCXX/pr28050.cpp create mode 100644 test/SemaObjC/dllexport.m create mode 100644 test/SemaObjC/dllimport.m create mode 100644 test/SemaObjCXX/dllexport.mm create mode 100644 test/SemaObjCXX/dllimport.mm create mode 100644 test/SemaOpenCL/ext_vectors.cl