[Swift CI] Build Failure: OSS - Swift Package - Ubuntu 16.04 (swift 4.1) #131

Next build should be green, since this didn’t get my changes to fix LLVM update issues.

···

On Nov 9, 2017, at 10:24 PM, no-reply@swift.org wrote:

[FAILURE] oss-swift-4.1-package-linux-ubuntu-16_04 [#131]

Build URL: https://ci.swift.org/job/oss-swift-4.1-package-linux-ubuntu-16_04/131/
Project: oss-swift-4.1-package-linux-ubuntu-16_04
Date of build: Thu, 09 Nov 2017 23:49:15 -0600
Build duration: 31 min
Identified problems:

Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-4.1-package-linux-ubuntu-16_04/131/consoleFull#3528847653122a513-f36a-4c87-8ed7-cbc36a1ec144>
Changes

Commit 97adc5f12e40263ddb9a675a02f432c65daaee71 by ahmed.bougacha:
[MIR] Print target-specific constant pools

add: test/CodeGen/MIR/ARM/target-constant-pools-error.mir
edit: include/llvm/CodeGen/MIRYamlMapping.h
edit: lib/CodeGen/MIRParser/MIRParser.cpp
edit: test/CodeGen/MIR/X86/constant-pool.mir
edit: lib/CodeGen/MIRPrinter.cpp

Commit bebdcae7d9fa45851b2f8a819b6c230115e76490 by ahmed.bougacha:
[CodeGen] Fix some Clang-tidy modernize and Include What You Use

edit: include/llvm/CodeGen/MIRYamlMapping.h

Commit 66210e84c48072979e39cc4039c54042131ddab9 by ahmed.bougacha:
[GlobalISel][X86] G_FCONSTANT support.

edit: lib/Target/X86/X86LegalizerInfo.cpp
add: test/CodeGen/X86/GlobalISel/fconstant.ll
edit: test/CodeGen/X86/GlobalISel/regbankselect-X86_64.mir
edit: lib/Target/X86/X86InstructionSelector.cpp
edit: lib/Target/X86/X86RegisterBankInfo.cpp
edit: test/CodeGen/X86/GlobalISel/legalize-constant.mir
add: test/CodeGen/X86/GlobalISel/select-fconstant.mir

Commit 121242ac03980a7c3ba46a7de539694fcbaa2c62 by ahmed.bougacha:
[GlobalISel][X86] Use correct physical register in mir tests.NFC.

edit: test/CodeGen/X86/GlobalISel/select-insert-vec512.mir
edit: test/CodeGen/X86/GlobalISel/regbankselect-X86_64.mir
edit: test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir
edit: test/CodeGen/X86/GlobalISel/select-and-scalar.mir
edit: test/CodeGen/X86/GlobalISel/legalize-ext-x86-64.mir
edit: test/CodeGen/X86/GlobalISel/select-undef.mir
edit: test/CodeGen/X86/GlobalISel/select-ext.mir
edit: test/CodeGen/X86/GlobalISel/select-cmp.mir
edit: test/CodeGen/X86/GlobalISel/select-unmerge-vec512.mir
edit: test/CodeGen/X86/GlobalISel/legalize-mul-scalar.mir
edit: test/CodeGen/X86/GlobalISel/select-xor-scalar.mir
edit: test/CodeGen/X86/GlobalISel/select-or-scalar.mir
edit: test/CodeGen/X86/GlobalISel/legalize-insert-vec512.mir
edit: test/CodeGen/X86/GlobalISel/select-mul-scalar.mir
edit: test/CodeGen/X86/GlobalISel/select-phi.mir
edit: test/CodeGen/X86/GlobalISel/legalize-cmp.mir
edit: test/CodeGen/X86/GlobalISel/select-add.mir
edit: test/CodeGen/X86/GlobalISel/legalize-phi.mir
edit: test/CodeGen/X86/GlobalISel/legalize-ext.mir

Commit 6a3164df8f2c3e6cdd5ad806b5bdc8cfe97dafac by ahmed.bougacha:
[GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND

add: test/CodeGen/X86/GlobalISel/sub-scalar.ll
edit: test/CodeGen/X86/GlobalISel/add-scalar.ll
edit: test/CodeGen/X86/GlobalISel/legalize-add.mir
edit: test/CodeGen/X86/GlobalISel/legalize-sub.mir
edit: test/CodeGen/X86/GlobalISel/legalize-and-scalar.mir
edit: test/CodeGen/X86/GlobalISel/and-scalar.ll
edit: test/CodeGen/X86/GlobalISel/legalize-mul-scalar.mir
edit: test/CodeGen/X86/GlobalISel/legalize-or-scalar.mir
edit: test/CodeGen/X86/GlobalISel/or-scalar.ll
edit: lib/Target/X86/X86LegalizerInfo.cpp
edit: test/CodeGen/X86/GlobalISel/legalize-xor-scalar.mir
edit: test/CodeGen/X86/GlobalISel/xor-scalar.ll

Commit 736be99a0dd878ec734bf7aa455906e772ee6be5 by ahmed.bougacha:
[GlobalISel][X86] refactoring X86InstructionSelector.cpp .NFC.

edit: lib/Target/X86/X86InstructionSelector.cpp

Commit 9881d01abf1a02ca2a2e174dfb16a2f49a21e2ef by ahmed.bougacha:
Split opt-remark YAML and opt output testing on this test

edit: test/Transforms/GVN/opt-remarks.ll

Commit 13c9ccabd4d81a8ceb36abc2bfcf52497a9be844 by ahmed.bougacha:
Improve comment

edit: include/llvm/Analysis/OptimizationDiagnosticInfo.h

Commit 42a3c53004c2529fbfcb6e4bbe8391880aa6667a by ahmed.bougacha:
This patch fixes https://bugs.llvm.org/show_bug.cgi?id=32352 <https://bugs.llvm.org/show_bug.cgi?id=32352> It enables

edit: include/llvm/Analysis/OptimizationDiagnosticInfo.h
edit: include/llvm/IR/DiagnosticInfo.h
edit: tools/llc/llc.cpp
edit: lib/IR/Core.cpp
edit: test/Transforms/GVN/opt-remarks.ll
edit: lib/Transforms/Scalar/GVN.cpp
edit: include/llvm/LTO/Config.h
add: lib/IR/DiagnosticHandler.cpp
edit: tools/llvm-lto/llvm-lto.cpp
edit: include/llvm/IR/LLVMContext.h
edit: lib/Transforms/Vectorize/LoopVectorize.cpp
edit: lib/IR/LLVMContextImpl.h
edit: tools/lto/lto.cpp
edit: lib/IR/DiagnosticInfo.cpp
add: include/llvm/IR/DiagnosticHandler.h
edit: lib/IR/CMakeLists.txt
edit: tools/llvm-link/llvm-link.cpp
edit: lib/IR/LLVMContext.cpp
edit: lib/IR/LLVMContextImpl.cpp
edit: include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h
edit: lib/LTO/LTOCodeGenerator.cpp
edit: tools/llvm-dis/llvm-dis.cpp
edit: include/llvm/LTO/legacy/LTOCodeGenerator.h

Commit 7e92e11fef4d76d8a9d04115a76a032ae3957548 by ahmed.bougacha:
Allow ORE.emit to take a closure to delay building the remark object

edit: lib/IR/DiagnosticInfo.cpp
edit: include/llvm/Analysis/OptimizationDiagnosticInfo.h
edit: include/llvm/IR/DiagnosticInfo.h
edit: lib/IR/DiagnosticHandler.cpp
edit: include/llvm/IR/DiagnosticHandler.h

Commit cb23c2b83f82388ede37e1d1805c73f35eb6666d by ahmed.bougacha:
Fix build for LLVM unittests

edit: unittests/Linker/LinkModulesTest.cpp

Commit 977c701bfe137665dff3f6d09808b71ce40210a2 by ahmed.bougacha:
[GlobalISel] Only build expensive remarks if they're enabled. NFC.

edit: lib/CodeGen/GlobalISel/IRTranslator.cpp
edit: lib/CodeGen/GlobalISel/Utils.cpp

Commit c94ff728d8d1155a8594e992b0a83dc8fa3fc85d by ahmed.bougacha:
[globalisel] Add support for intrinsic_w_chain.

edit: include/llvm/Target/GlobalISel/SelectionDAGCompat.td
add: test/CodeGen/X86/GlobalISel/select-intrinsic-x86-flags-read-u32.mir
edit: utils/TableGen/GlobalISelEmitter.cpp

Commit 45db2d984b6241c49bdf1a2406bec7565f7cac94 by ahmed.bougacha:
[globalisel] Add support for intrinsic_void

add: test/CodeGen/AArch64/GlobalISel/select-intrinsic-aarch64-hint.mir
edit: include/llvm/Target/GlobalISel/SelectionDAGCompat.td

Commit ddb01fed5e7d30f2d372d49ce81e3ea1b74f85a8 by ahmed.bougacha:
[globalisel] Add a G_BSWAP instruction and support bswap using it.

edit: lib/Target/AArch64/AArch64LegalizerInfo.cpp
add: test/CodeGen/AArch64/GlobalISel/select-bswap.mir
edit: include/llvm/Target/GlobalISel/SelectionDAGCompat.td
edit: include/llvm/Target/TargetOpcodes.def
edit: include/llvm/Target/GenericOpcodes.td

Commit bd502f2f0000a8ebe30f328d4e41ed59e8d40368 by ahmed.bougacha:
[MIRPrinter] Print empty successor lists when they cannot be guessed

edit: test/CodeGen/MIR/ARM/ifcvt_canFallThroughTo.mir
add: test/CodeGen/MIR/X86/unreachable_block.ll
edit: lib/CodeGen/MIRPrinter.cpp

Commit 213db310e21e190687471662b2e8d238b3273659 by ahmed.bougacha:
[ARM] Fix some Clang-tidy modernize-use-using and Include What You Use

edit: lib/Target/ARM/ARMCallLowering.h
edit: lib/Target/ARM/ARMCallLowering.cpp

Commit eb8a047cbe0a9e2290b1e80e561cd9d6ea55a01f by ahmed.bougacha:
[GlobalISel] Update the documentation and comments for G_EXTRACT

edit: include/llvm/Target/GenericOpcodes.td
edit: docs/GlobalISel.rst

Commit a0555e9f3951aea6057c1f174cd3aaa40e9c67c0 by ahmed.bougacha:
[GlobalISel] Update the documentation for G_SEQUENCE

edit: docs/GlobalISel.rst

Commit ad3f195ed233bce75f1ad915e9d4aadb66427b2a by ahmed.bougacha:
[GlobalISel] Update the documentation and comment for G_[UN]MERGE_VALUES

edit: docs/GlobalISel.rst
edit: include/llvm/Target/GenericOpcodes.td

Commit dd8f0aa111eb19c8ac1b0f563d30e9b4f53b4eaa by ekarpenkov:
This feature allows the analyzer to consider loops to completely unroll.

delete: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
edit: test/Analysis/analyzer-config.c
edit: include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
edit: lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
edit: lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
edit: lib/StaticAnalyzer/Core/CMakeLists.txt
edit: test/Analysis/analyzer-config.cpp
delete: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
delete: test/Analysis/loop-unrolling.cpp

Commit e64d19ed9c236cf07e5c0b3d04bcf3508e1b178f by ekarpenkov:
[clang] Fix handling of "%zd" in scanf

edit: test/Sema/format-strings-scanf.c
edit: lib/Analysis/ScanfFormatString.cpp
edit: test/Sema/format-strings-fixit-ssize_t.c

Commit afc3cde6ccd826e8448193c4eb7173cb6d3dd1f6 by ekarpenkov:
[analyzer] Further improve suppress-on-sink behavior in incomplete

edit: lib/StaticAnalyzer/Core/BugReporter.cpp

Commit f7993f62b78aeceb3c5a331f7583ee3c955f69d4 by ekarpenkov:
[analyzer] Treat throws as sinks for suppress-on-sink purposes.

edit: lib/StaticAnalyzer/Core/BugReporter.cpp

Commit 0bca31d259d956245ebc645c4303ec837e94e957 by ekarpenkov:
[StaticAnalyzer] Completely unrolling specific loops with known bound

edit: test/Analysis/analyzer-config.cpp
add: test/Analysis/loop-unrolling.cpp
add: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
edit: lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
edit: lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
add: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
edit: lib/StaticAnalyzer/Core/CMakeLists.txt
edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
edit: include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
edit: test/Analysis/analyzer-config.c

Commit 7a0f37824a3fb141b05c27c6eac45fd58aeff7c1 by ekarpenkov:
[StaticAnalyzer] LoopUnrolling - Attempt to fix a crash in r309006.

edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp

Commit 906c47b1f8be37392661bf4d3fd2fe3e7caf58ae by ekarpenkov:
clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h: Add a forward

edit: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h

Commit 06517adc85762608b6ba0d5b8ffb41819d97e7f3 by ekarpenkov:
[StaticAnalyzer] LoopUnrolling - Attempt #2 to fix a crash in r309006.

edit: test/Sema/attr-capabilities.c
edit: lib/Analysis/ThreadSafety.cpp
edit: lib/Sema/SemaDeclAttr.cpp
edit: include/clang/Basic/Attr.td
edit: test/SemaCXX/warn-thread-safety-analysis.cpp
edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp

Commit d60337edb3996059a651936c4f3480bc0bd7c945 by ekarpenkov:
[analyzer] Rename functions responsible for CFG-based suppress-on-sink.

edit: lib/StaticAnalyzer/Core/BugReporter.cpp

Commit 7d69806d71716cf6f99c0976db621af82e7a130c by ekarpenkov:
[analyzer] Fix SimpleSValBuilder::simplifySVal

edit: test/Analysis/ptr-arith.cpp

Commit dc8a1bf5fc840a699529db761add2bdebd65899a by ekarpenkov:
[StaticAnalyzer] LoopUnrolling: Exclude cases where the counter is

edit: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
edit: test/Analysis/loop-unrolling.cpp

Commit b996a9b1a77808c83d5d2c26a02af3a945932f51 by ekarpenkov:
[CFG] Add LoopExit information to CFG

edit: test/Analysis/analyzer-config.c
edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
edit: test/Analysis/analyzer-config.cpp
edit: lib/StaticAnalyzer/Core/AnalysisManager.cpp

Commit 12eb9e29219c068fabbd024a6d3365779efd15db by ekarpenkov:
[StaticAnalyzer] Handle LoopExit CFGElement in the analyzer

edit: lib/StaticAnalyzer/Core/ExprEngine.cpp

Commit 124a8999c0a77d2dd50121a2f6459451a846f2d9 by ekarpenkov:
[StaticAnalyzer] LoopUnrolling: Track a LoopStack in order to completely

edit: test/Analysis/loop-unrolling.cpp
edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
edit: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
edit: lib/StaticAnalyzer/Core/ExprEngine.cpp

Commit c0560b88bc912ea43c77a1571a80beba06359222 by ekarpenkov:
Test commit access.

edit: include/clang/Analysis/CloneDetection.h

Commit 4abe27128fd379e9a80ed58a2513064e7d3543ef by ekarpenkov:
[analyzer] Make StmtDataCollector customizable

edit: lib/Analysis/CloneDetection.cpp

Commit b06b9ce2205ab0858f3f1fb8f2fc0fa34fa47985 by ekarpenkov:
[StaticAnalyzer] LoopUnrolling fixes

edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
edit: test/Analysis/loop-unrolling.cpp
edit: lib/StaticAnalyzer/Core/AnalysisManager.cpp

Commit f2b5d82096f2955d1f547f616ce4fb0bb58c8a5e by ekarpenkov:
[StaticAnalyzer] LoopUnrolling: Excluding loops which splits the state

edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
edit: test/Analysis/loop-unrolling.cpp

Commit f298eb4879a6b58c9a49cf79e3d2a5587a749bb9 by ekarpenkov:
[StaticAnalyzer] LoopUnrolling: Keep track the maximum number of steps

edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
edit: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
edit: test/Analysis/loop-unrolling.cpp
edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp

Commit a31d1737e66fd54b80e29669f8ba9e44b2eff598 by ekarpenkov:
[analyzer] Fix crash in modeling arithmetic

edit: test/Analysis/ptr-arith.cpp

Commit cc82ca0d896c2a0855dbd72751eb34de1a987c72 by ekarpenkov:
Remove trailing space.

edit: lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp

Commit 5a4f1c8d15e1a410af98e377dca3c8d138274aa7 by ekarpenkov:
[analyzer] Adjust ptr arithmetic test

edit: test/Analysis/ptr-arith.cpp

Commit f3487ae9d842c56ddfa015114392188e7d4cc236 by ekarpenkov:
std::function -> llvm::function_ref. NFC.

edit: include/clang/Analysis/CloneDetection.h
edit: include/clang/Parse/Parser.h
edit: lib/Analysis/CloneDetection.cpp
edit: lib/Parse/ParseExpr.cpp

Commit 8d2492fffafcce8d60a101807024e11f8e68bf83 by ekarpenkov:
[analyzer] MinComplexityConstraint now early exits and only does one

edit: lib/Analysis/CloneDetection.cpp

Commit f7008c30798aabd5c59480734818adfbdba85ccc by ekarpenkov:
Removed dead code (PR34467). NFCI.

edit: lib/StaticAnalyzer/Core/CallEvent.cpp

Commit 26aceffb18e381d33b23834e645ceb29b548f121 by ekarpenkov:
[NFC] [CSA] Move AnyFunctionCall::getRuntimeDefinition implementation to

edit: lib/StaticAnalyzer/Core/CallEvent.cpp

Commit d5df1b7bf36cda849ae28049d37f02bf2f5b4dfd by ekarpenkov:
Add _Float16 as a C/C++ source language type

edit: lib/Parse/ParseTentative.cpp
edit: lib/Parse/ParseDecl.cpp
edit: include/clang/Serialization/ASTBitCodes.h
edit: include/clang/Sema/DeclSpec.h
edit: lib/Index/USRGeneration.cpp
edit: lib/Parse/ParseExprCXX.cpp
edit: lib/AST/ASTContext.cpp
edit: tools/libclang/CXType.cpp
edit: lib/CodeGen/CGDebugInfo.cpp
edit: lib/CodeGen/ItaniumCXXABI.cpp
edit: lib/Sema/SemaType.cpp
edit: lib/Sema/SemaExpr.cpp
edit: lib/Lex/LiteralSupport.cpp
edit: include/clang/Basic/Specifiers.h
edit: lib/AST/MicrosoftMangle.cpp
edit: include/clang-c/Index.h
edit: lib/Analysis/PrintfFormatString.cpp
edit: lib/AST/NSAPI.cpp
edit: lib/CodeGen/CGExprScalar.cpp
edit: lib/Sema/DeclSpec.cpp
edit: include/clang/AST/BuiltinTypes.def
edit: lib/AST/ItaniumMangle.cpp
edit: lib/Format/FormatToken.cpp
edit: lib/AST/Type.cpp
add: test/Frontend/float16.cpp
edit: lib/AST/StmtPrinter.cpp
edit: lib/Parse/ParseExpr.cpp
edit: include/clang/AST/ASTContext.h
edit: lib/Serialization/ASTCommon.cpp
edit: lib/CodeGen/CodeGenTypes.cpp
edit: include/clang/Basic/TokenKinds.def
add: test/CodeGenCXX/float16-declarations.cpp
edit: test/Lexer/half-literal.cpp
edit: lib/Sema/SemaDecl.cpp
edit: lib/Serialization/ASTReader.cpp
edit: include/clang/Lex/LiteralSupport.h
edit: lib/AST/TypeLoc.cpp
edit: lib/Sema/SemaTemplateVariadic.cpp

Commit 149ae512d098e560c7541ecee8057878eb7702f0 by ekarpenkov:
Updated two annotations for Store.h and CodeGenFunction.h.

edit: include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
edit: lib/CodeGen/CodeGenFunction.h

Commit fbec1c93f9e7f1b7c2b618ed9411887f7b609638 by ekarpenkov:
[Analyzer] Check function name size before indexing.

edit: test/Analysis/retain-release.mm

Commit 1d144d87858b1d11b7b5aa448d52f07813df5872 by ekarpenkov:
[Analyzer] Log when auto-synthesized body is used.

edit: lib/StaticAnalyzer/Core/CallEvent.cpp

Commit cffab114b5a7af2c77cbd472fd0c12eb1563c083 by ekarpenkov:
[analyzer] Fix crash on modeling of pointer arithmetic

edit: test/Analysis/ptr-arith.cpp

Commit 060e80f1e5e6fd4ed8547b8da056dbc6eb70b9b5 by ekarpenkov:
[analyzer] Fix and refactor bugreporter::getDerefExpr() API.

edit: test/Analysis/null-deref-path-notes.c
edit: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

Commit 331748093f254a4d895f58221b51260ad60e9f59 by ekarpenkov:
[analyzer] Match more patterns in bugreporter::getDerefExpr() API.

edit: test/Analysis/null-deref-path-notes.c
edit: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

Commit 9a1a3f47cc175cb4588451e2c6bf2147407e16f0 by ekarpenkov:
[analyzer] Fix an outdated comment in a test. NFC.

edit: test/Analysis/null-deref-path-notes.c

Commit 38c7ee9527ef17795778d60bbcea3b9c6d3140db by ekarpenkov:
Consolidate std::move() detection code. No behavior change.

edit: lib/Sema/SemaChecking.cpp
edit: include/clang/AST/Expr.h
edit: lib/Sema/SemaDeclCXX.cpp
edit: lib/Analysis/Consumed.cpp
edit: lib/Analysis/UninitializedValues.cpp
edit: lib/Sema/SemaDecl.cpp

Commit 59ce53dd573be60543518df843b65654af2c7a86 by ekarpenkov:
[Analyzer] Synthesize function body for std::call_once

edit: lib/Analysis/BodyFarm.cpp
edit: test/Analysis/call_once.cpp

Commit 30d7f27b056f59a148ad94187215c42a25dd902b by ekarpenkov:
[Analyzer] Add dummy implementation to call_once to avoid linkage

edit: test/Analysis/call_once.cpp

Commit dcebbb469882a937029b06551e137bc83b181668 by ekarpenkov:
[Analysis] Remove unused makeLvalueToRValue variant.

edit: lib/Analysis/BodyFarm.cpp

Commit 873b993ebca1ee3e58a37a6e6ecf7bd21d12030f by ekarpenkov:
[Analyzer] Avoid copy and modifying passed reference in

edit: lib/Analysis/BodyFarm.cpp

Commit 8765059828a1068d64efb6d881e0ed0285e1084c by ekarpenkov:
[Analyzer] More granular special casing in RetainCountChecker

edit: test/Analysis/retain-release.mm

Commit 1b0dc86f9f78cba3c68b918eece93417e5be5769 by ekarpenkov:
Fix assertion failure in thread safety analysis (PR34800).

edit: test/SemaCXX/warn-thread-safety-analysis.cpp
edit: include/clang/Analysis/Analyses/ThreadSafetyTIL.h

Commit a69b19c1f90382009ab1e33bd09d6fbba488d416 by ekarpenkov:
[Analyzer] Do not segfault on unexpected call_once implementation

edit: lib/Analysis/BodyFarm.cpp
edit: test/Analysis/call_once.cpp

Commit 6f9007aa64c85e096758d8dfb74561e903c5b5bd by ekarpenkov:
[analyzer] PthreadLockChecker: Add printState() method for

edit: lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp

Commit a39d414b498acc08d9d35b10878f4eabb87c443e by ekarpenkov:
[analyzer] MisusedMovedObject: Add printState() method for

edit: lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp

Commit 143e4db9c87a25aac299e21097a165cae0987964 by ekarpenkov:
[analyzer] MisusedMovedObject: Fix state-resetting a base-class

edit: lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp
edit: test/Analysis/MisusedMovedObject.cpp

Commit db6dcd1defc3c6b7dfdad128fb0f104ed06786c2 by ekarpenkov:
[Analyzer] Clarify error messages for undefined result

edit: include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
edit: lib/StaticAnalyzer/Checkers/ConversionChecker.cpp
edit: lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
edit: test/Analysis/bitwise-ops.c
edit: lib/StaticAnalyzer/Core/CheckerContext.cpp

Commit db1137dd24933af1118b230d1c37a3f2bf4e25eb by ekarpenkov:
[Analyzer] Assume that string-like const globals are non-nil.

edit: include/clang/StaticAnalyzer/Checkers/Checkers.td
edit: lib/StaticAnalyzer/Checkers/CMakeLists.txt
add: test/Analysis/nonnull-string-constants.mm
add: lib/StaticAnalyzer/Checkers/NonnullStringConstantsChecker.cpp

Commit 2c3ea8204856bea1500883d696a03d6b6c957cfe by ekarpenkov:
[Analyzer] Fix introduced regression: properly check for nullable

edit: lib/StaticAnalyzer/Checkers/NonnullStringConstantsChecker.cpp

Commit 27dd0433aa567898ee535eecbdda7ef2a796ccb4 by ekarpenkov:
[Analyzer] Support bodyfarming libstdc++ implementation of

edit: lib/Analysis/BodyFarm.cpp
edit: test/Analysis/call_once.cpp

Commit 214b8b4ffa5966e706860e67e8737ad198331949 by ekarpenkov:
SVal::getAsSymbol(bool IncludeBaseRegions): Follow

edit: lib/StaticAnalyzer/Core/SVals.cpp

Commit bffc50a17ec432bdbd1a5964b2121674e5deb9f5 by ekarpenkov:
[Analyzer] Assume that CFBooleanRef const globals are non-null

delete: test/Analysis/nonnull-string-constants.mm
edit: lib/StaticAnalyzer/Checkers/CMakeLists.txt
delete: lib/StaticAnalyzer/Checkers/NonnullStringConstantsChecker.cpp
edit: include/clang/StaticAnalyzer/Checkers/Checkers.td

Commit 7b1e725eced6558bd7afd921b36b88287d68ba0b by ekarpenkov:
[analyzer] RetainCount: Ignore annotations on user-made CFRetain

add: test/Analysis/retain-release-safe.c
edit: lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp

Commit b8a8ed1001088b6ac861f197b6456470279dbb42 by ekarpenkov:
[analyzer] CStringChecker: pr34460: Avoid a crash when a cast is not

edit: test/Analysis/casts.c
edit: lib/StaticAnalyzer/Checkers/CStringChecker.cpp
edit: test/Analysis/bstring.cpp

Commit d16d91e437949f85c4a9b474fa09a10c5fc61084 by ekarpenkov:
[analyzer] pr28449: Fix support for various array initializers.

add: test/Analysis/compound-literals.c
add: test/Analysis/objc-encode.m
edit: lib/StaticAnalyzer/Core/RegionStore.cpp

Commit 0ca415cf5d4ec3dafaa22b1ab81b1e33dc0fc3be by ekarpenkov:
[Analyzer] Always use non-reference types when creating expressions in

edit: lib/Analysis/BodyFarm.cpp
edit: test/Analysis/call_once.cpp

Commit 9a83db51eff6e887517afb6ece4ed2c380d4de77 by ekarpenkov:
[analyzer] Dump signed integers in SymIntExpr and IntSymExpr correctly

edit: lib/StaticAnalyzer/Core/SymbolManager.cpp
edit: test/Analysis/expr-inspection.c

Commit acd52cca7377bbca1065d4c5be930feab603347e by ekarpenkov:
[Analyzer] Correctly handle parameters passed by reference when

edit: lib/Analysis/BodyFarm.cpp
edit: test/Analysis/call_once.cpp

Commit b780292e981346db8f2e8ddcf6d0ab06b4a723c0 by ekarpenkov:
[analyzer] Fix handling of labels in getLValueElement

edit: test/Analysis/ptr-arith.c
edit: lib/StaticAnalyzer/Core/Store.cpp

Commit 28d7d919a277125f336680e55117663a2028e909 by ekarpenkov:
[Analyzer] Do not use static storage to for implementations created in

edit: lib/StaticAnalyzer/Core/AnalysisManager.cpp
delete: lib/Analysis/BodyFarm.h
edit: lib/Analysis/AnalysisDeclContext.cpp
add: include/clang/Analysis/BodyFarm.h
edit: include/clang/Analysis/AnalysisDeclContext.h
edit: lib/Analysis/BodyFarm.cpp

Commit cc9fd2884c6e7e8d20a55bccd41a6ab5661b345e by ekarpenkov:
[Analyzer] Handle implicit function reference in bodyfarming

edit: test/Analysis/call_once.cpp
edit: lib/Analysis/BodyFarm.cpp

Commit cb4c5d530d211f545c15d296f903520e64e950a2 by ekarpenkov:
[Analyzer] Fix for the memory leak: fix typo in if-statement.

edit: lib/Analysis/AnalysisDeclContext.cpp

Commit 3ddfc14398382412905fe35d0af10b16c14e5016 by ekarpenkov:
[Analyzer] Store BodyFarm in std::unique_ptr

edit: lib/Analysis/AnalysisDeclContext.cpp
edit: include/clang/Analysis/AnalysisDeclContext.h

Commit a0447d4b49a74c246c2c55f2dfd9fbda7979769d by ekarpenkov:
[Analyzer] Remove unnecessary semicolon in analyzer tests.

edit: test/Analysis/call_once.cpp

Commit b77e9f981e12492d644432db05da62957e9d1e3a by ekarpenkov:
[Analyzer] Remove spaces inside comments mentioning the parameter name,

edit: lib/Analysis/BodyFarm.cpp

Commit fed64e6c37d7d0df933909f8de38e587c3502b80 by ekarpenkov:
[Analyzer] Give more descriptive name to BdyFrm field.

edit: lib/Analysis/AnalysisDeclContext.cpp
edit: include/clang/Analysis/AnalysisDeclContext.h

Commit 18b340d6d1d6ac9f57b57c01e350adf8b70452c5 by ekarpenkov:
StaticAnalyzer: Modularize/fix ODR violations making functions inline

edit: include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h
edit: include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
edit: include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
edit: include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h

Commit 6fb3e97efa15e187d7d65819b4f86ad8b79ecbeb by ekarpenkov:
[analyzer] LoopUnrolling: check the bitwidth of the used numbers

edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
edit: test/Analysis/loop-unrolling.cpp

Commit 3051cf1284ff85b47cff0976733dc1a2e1418b98 by ekarpenkov:
[analyzer] MisusedMovedObjectChecker: Fix false positive on

edit: lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp
edit: test/Analysis/MisusedMovedObject.cpp

Commit bac61e62e1d452a744a630a15d921b2b05aad0ac by ekarpenkov:
[analyzer] MisusedMovedObjectChecker: More precise warning message

edit: test/Analysis/MisusedMovedObject.cpp
edit: lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp

Commit de4e17bd12d9ed46bb86bf2f4d1d751ebde9d8e2 by ekarpenkov:
[analyzer] Handle ObjC messages conservatively in CallDescription

edit: lib/StaticAnalyzer/Core/CallEvent.cpp
add: test/Analysis/block-in-critical-section.m

Commit c5b62bb9671dadb9a86639d9ec1377de0a711a24 by ekarpenkov:
Add missing expected-no-diagnostics comment to test.

edit: test/Analysis/block-in-critical-section.m

Commit ca1452809903276d28dd21d786d6d2b4e0f92a24 by ekarpenkov:
[analyzer] lock_guard and unique_lock extension for

edit: lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
edit: test/Analysis/block-in-critical-section.cpp

Commit d3362a17b8e1562bd5d08c4964dd819811c5fafc by ekarpenkov:
[analyzer] Make issue hash related tests more concise

edit: test/Analysis/bug_hash_test.m
edit: include/clang/StaticAnalyzer/Checkers/Checkers.td
edit: lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
edit: lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
edit: test/Analysis/bug_hash_test.cpp

Commit 24265f1164e4ed1d76bce841733f4d9f1b7ee771 by ekarpenkov:
[analyzer] Use the signature of the primary template for issue hash

edit: lib/StaticAnalyzer/Core/IssueHash.cpp
edit: test/Analysis/bug_hash_test.cpp
edit: test/Analysis/edges-new.mm

Commit 049341613cf6c0d48ab1ad505bd4e7dc2fe99494 by ekarpenkov:
[analyzer] Left shifting a negative value is undefined

edit: test/Analysis/bitwise-ops.c
edit: lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
edit: lib/StaticAnalyzer/Core/BasicValueFactory.cpp

Commit 28c7833db6abf8477cb135cd5fc6cb266cf82728 by ekarpenkov:
[analyzer] Use the same filename for the header and the implementation

edit: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
add: include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
edit: include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
delete: include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h

Commit b9aa29a12d87685d65c7d5b1156aacf9c1dbadaa by ekarpenkov:
[Analyzer] Use value storage for BodyFarm

edit: include/clang/Analysis/AnalysisDeclContext.h
edit: lib/Analysis/AnalysisDeclContext.cpp
edit: include/clang/Analysis/BodyFarm.h

Commit 943d8175334accadeef6d18f5b50447b70029462 by ekarpenkov:
[analyzer] Removing unused stored field.

edit: lib/Analysis/AnalysisDeclContext.cpp
edit: include/clang/Analysis/AnalysisDeclContext.h

Commit fd223b4920078fbe4f78235d8e99ac4128668e05 by ekarpenkov:
[analyzer] do not crash on libcxx03 call_once implementation

edit: test/Analysis/call_once.cpp
edit: lib/Analysis/BodyFarm.cpp

Commit 2798345355463a41fe22ab3b0525123b0aa4bbc4 by ekarpenkov:
[analyzer] [NFC] very minor ExprEngineC refactoring

edit: lib/StaticAnalyzer/Core/ExprEngineC.cpp

Commit 2f1ac35e064e39e0b8748a616ff70ab8f999e241 by ekarpenkov:
[analyzer] Model correct dispatch_once() 'done' value in BodyFarm

edit: lib/Analysis/BodyFarm.cpp
edit: test/Analysis/unix-fns.c

Commit 7b165352372582489fcc7739e4d5a553a5ddc2fb by ekarpenkov:
[analyzer] [NFC] Remove unused typedef from SVals.h

edit: include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h

Commit bac8aa2c325b26a795abaa4de588af8fc3098eb3 by ekarpenkov:
[analyzer] pr34779: CStringChecker: Accept non-standard headers.

edit: lib/StaticAnalyzer/Checkers/CStringChecker.cpp
add: test/Analysis/string-with-signedness.c

Commit ad42e5d1b21c5913bc31e926768a40b0f8393620 by ekarpenkov:
[analyzer] Fix a crash on logical operators with vectors.

edit: lib/StaticAnalyzer/Core/ExprEngineC.cpp
add: test/Analysis/vector.c

Commit 1476d1c2e339a72c464cdf5967589c8da0d21431 by ekarpenkov:
[analyzer] assume bitwise arithmetic axioms

edit: lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
edit: test/Analysis/constant-folding.c

Commit c28cc79c192f34e3017879fb37ee9676bd471030 by ekarpenkov:
[analyzer] do not crash when trying to convert an APSInt to an

edit: test/Analysis/taint-tester.c
edit: lib/StaticAnalyzer/Core/ProgramState.cpp

Commit 031892702a0314ead57fd9e002909caf61205811 by ekarpenkov:
Revert "Add _Float16 as a C/C++ source language type"

edit: lib/Analysis/PrintfFormatString.cpp
delete: test/CodeGenCXX/float16-declarations.cpp
edit: lib/AST/StmtPrinter.cpp
edit: include/clang/Basic/Specifiers.h
edit: lib/CodeGen/CGDebugInfo.cpp
edit: include/clang/Serialization/ASTBitCodes.h
edit: lib/Sema/SemaExpr.cpp
edit: lib/Parse/ParseTentative.cpp
edit: lib/Sema/DeclSpec.cpp
edit: tools/libclang/CXType.cpp
edit: lib/AST/NSAPI.cpp
edit: lib/Index/USRGeneration.cpp
edit: include/clang/Basic/TokenKinds.def
edit: lib/CodeGen/CGExprScalar.cpp
edit: lib/AST/MicrosoftMangle.cpp
edit: lib/Sema/SemaType.cpp
edit: lib/AST/TypeLoc.cpp
edit: lib/Format/FormatToken.cpp
edit: lib/Serialization/ASTReader.cpp
edit: lib/CodeGen/ItaniumCXXABI.cpp
edit: test/Lexer/half-literal.cpp
edit: lib/Parse/ParseExpr.cpp
edit: lib/AST/ASTContext.cpp
edit: include/clang/Sema/DeclSpec.h
edit: include/clang-c/Index.h
edit: include/clang/AST/ASTContext.h
edit: lib/Parse/ParseDecl.cpp
edit: lib/CodeGen/CodeGenTypes.cpp
edit: lib/Lex/LiteralSupport.cpp
edit: lib/Serialization/ASTCommon.cpp
edit: include/clang/AST/BuiltinTypes.def
edit: lib/AST/Type.cpp
edit: lib/Parse/ParseExprCXX.cpp
edit: lib/Sema/SemaTemplateVariadic.cpp
edit: lib/AST/ItaniumMangle.cpp
delete: test/Frontend/float16.cpp
edit: lib/Sema/SemaDecl.cpp
edit: include/clang/Lex/LiteralSupport.h

Commit 11f34cfdd31ec9552df7fb7679064c0375c7f34f by ahmed.bougacha:
This patch fixes https://bugs.llvm.org/show_bug.cgi?id=32352 <https://bugs.llvm.org/show_bug.cgi?id=32352> LLVM code

edit: lib/CodeGen/CodeGenAction.cpp

Commit cae699c147cc75c5eeabf6d452384b4ee76fc3f8 by ahmed.bougacha:
Fix ClangDiagnosticHandler::is*RemarkEnabled members

edit: lib/CodeGen/CodeGenAction.cpp
add: test/Frontend/optimization-remark-extra-analysis.c

Commit 81aea9ea0d003bfa139cc800e0ba4eeb720580f2 by stevenwu:
[Driver] Make clang/cc conforms to UNIX standard

edit: lib/Driver/Compilation.cpp
add: test/Driver/unix-conformance.c
add: test/Driver/cuda-bail-out.cu
edit: test/Driver/output-file-cleanup.c