[Swift CI] Build Still Failing: 0. OSS - LLDB Incremental - OS X (master) #378

This is swift failing to build:

FAILED: lib/Immediate/CMakeFiles/swiftImmediate.dir/Immediate.cpp.o
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Immediate -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/lib/Immediate -Iinclude -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/Ninja-ReleaseAssert/llvm-macosx-x86_64/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/Ninja-ReleaseAssert/llvm-macosx-x86_64/tools/clang/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/tools/clang/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/cmark/src -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/Ninja-ReleaseAssert/cmark-macosx-x86_64/src -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -O3 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -UNDEBUG -fno-exceptions -fno-rtti -target x86_64-apple-macosx10.9 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -arch x86_64 -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/../../../Developer/Library/Frameworks -mmacosx-version-min=10.9 -O2 -g0 -UNDEBUG -MD -MT lib/Immediate/CMakeFiles/swiftImmediate.dir/Immediate.cpp.o -MF lib/Immediate/CMakeFiles/swiftImmediate.dir/Immediate.cpp.o.d -o lib/Immediate/CMakeFiles/swiftImmediate.dir/Immediate.cpp.o -c /Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/lib/Immediate/Immediate.cpp

/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/lib/Immediate/Immediate.cpp:200:28: error: reference to type 'std::unique_ptr<DiagnosticHandler>' could not bind to an lvalue of type 'void (const llvm::DiagnosticInfo &, void *)'

  Ctx.setDiagnosticHandler(linkerDiagnosticHandler, nullptr);
                           ^~~~~~~~~~~~~~~~~~~~~~~
/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/include/llvm/IR/LLVMContext.h:211:66: note: passing argument to parameter 'DH' here
  void setDiagnosticHandler(std::unique_ptr<DiagnosticHandler> &&DH,
                                                                 ^
/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/lib/Immediate/Immediate.cpp:202:28: error: rvalue reference to type 'unique_ptr<...>' cannot bind to lvalue of type 'unique_ptr<...>'
  Ctx.setDiagnosticHandler(OldHandler, OldDiagnosticContext);
                           ^~~~~~~~~~
/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/include/llvm/IR/LLVMContext.h:211:66: note: passing argument to parameter 'DH' here
  void setDiagnosticHandler(std::unique_ptr<DiagnosticHandler> &&DH,
                                                                 ^
2 errors generated.

Unlikely to be an lldb issue.

Jim

···

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

New issue found!

[FAILURE] oss-lldb-incremental-osx [#378]

Build URL: https://ci.swift.org/job/oss-lldb-incremental-osx/378/
Project: oss-lldb-incremental-osx
Date of build: Thu, 09 Nov 2017 22:40:22 -0600
Build duration: 20 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

Changes

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

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

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

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

  • 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: lib/StaticAnalyzer/Core/CMakeLists.txt
    • edit: include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
    • add: test/Analysis/loop-unrolling.cpp
    • add: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
    • edit: test/Analysis/analyzer-config.c
    • add: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
    • edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
    • edit: lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
    • edit: lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
    • edit: test/Analysis/analyzer-config.cpp

  • 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: lib/Analysis/ThreadSafety.cpp
    • edit: include/clang/Basic/Attr.td
    • edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
    • edit: test/Sema/attr-capabilities.c
    • edit: test/SemaCXX/warn-thread-safety-analysis.cpp
    • edit: lib/Sema/SemaDeclAttr.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: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
    • edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
    • edit: test/Analysis/loop-unrolling.cpp
    • edit: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h

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

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

  • 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: lib/StaticAnalyzer/Core/AnalysisManager.cpp
    • edit: test/Analysis/loop-unrolling.cpp

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

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

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

    • edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
    • edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
    • edit: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
    • edit: test/Analysis/loop-unrolling.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: lib/Parse/ParseExpr.cpp
    • edit: include/clang/Parse/Parser.h
    • edit: lib/Analysis/CloneDetection.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: include/clang/Lex/LiteralSupport.h
    • edit: lib/CodeGen/CGExprScalar.cpp
    • edit: lib/Sema/SemaType.cpp
    • edit: lib/AST/ASTContext.cpp
    • edit: include/clang/Serialization/ASTBitCodes.h
    • edit: lib/Serialization/ASTReader.cpp
    • edit: test/Lexer/half-literal.cpp
    • edit: lib/Parse/ParseExprCXX.cpp
    • edit: include/clang/Basic/Specifiers.h
    • edit: lib/Parse/ParseDecl.cpp
    • add: test/CodeGenCXX/float16-declarations.cpp
    • edit: lib/Sema/SemaTemplateVariadic.cpp
    • edit: lib/AST/MicrosoftMangle.cpp
    • edit: lib/Parse/ParseExpr.cpp
    • edit: include/clang/AST/BuiltinTypes.def
    • edit: lib/CodeGen/CGDebugInfo.cpp
    • edit: lib/Sema/SemaExpr.cpp
    • edit: lib/Serialization/ASTCommon.cpp
    • edit: lib/Format/FormatToken.cpp
    • edit: lib/AST/ItaniumMangle.cpp
    • edit: lib/AST/TypeLoc.cpp
    • edit: include/clang/AST/ASTContext.h
    • edit: lib/AST/StmtPrinter.cpp
    • edit: lib/Lex/LiteralSupport.cpp
    • edit: lib/Sema/DeclSpec.cpp
    • edit: lib/AST/NSAPI.cpp
    • edit: lib/CodeGen/ItaniumCXXABI.cpp
    • edit: tools/libclang/CXType.cpp
    • add: test/Frontend/float16.cpp
    • edit: lib/Sema/SemaDecl.cpp
    • edit: include/clang-c/Index.h
    • edit: include/clang/Sema/DeclSpec.h
    • edit: include/clang/Basic/TokenKinds.def
    • edit: lib/AST/Type.cpp
    • edit: lib/Analysis/PrintfFormatString.cpp
    • edit: lib/CodeGen/CodeGenTypes.cpp
    • edit: lib/Index/USRGeneration.cpp
    • edit: lib/Parse/ParseTentative.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: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
    • edit: test/Analysis/null-deref-path-notes.c

  • 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/Analysis/Consumed.cpp
    • edit: lib/Sema/SemaChecking.cpp
    • edit: lib/Analysis/UninitializedValues.cpp
    • edit: lib/Sema/SemaDeclCXX.cpp
    • edit: include/clang/AST/Expr.h
    • edit: lib/Sema/SemaDecl.cpp

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

    • edit: test/Analysis/call_once.cpp
    • edit: lib/Analysis/BodyFarm.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: test/Analysis/MisusedMovedObject.cpp
    • edit: lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp

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

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

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

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

  • 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: test/Analysis/call_once.cpp
    • edit: lib/Analysis/BodyFarm.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

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

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

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

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

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

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

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

  • 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: test/Analysis/expr-inspection.c
    • edit: lib/StaticAnalyzer/Core/SymbolManager.cpp

  • 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: lib/StaticAnalyzer/Core/Store.cpp
    • edit: test/Analysis/ptr-arith.c

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

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

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

    • edit: lib/Analysis/BodyFarm.cpp
    • edit: test/Analysis/call_once.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: include/clang/Analysis/AnalysisDeclContext.h
    • edit: lib/Analysis/AnalysisDeclContext.cpp

  • 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/SVals.h
    • edit: include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.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: lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
    • edit: test/Analysis/bug_hash_test.cpp
    • edit: include/clang/StaticAnalyzer/Checkers/Checkers.td
    • edit: test/Analysis/bug_hash_test.m
    • edit: lib/StaticAnalyzer/Checkers/DebugCheckers.cpp

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

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

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

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

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

    • add: include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
    • edit: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
    • 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: lib/Analysis/AnalysisDeclContext.cpp
    • edit: include/clang/Analysis/BodyFarm.h
    • edit: include/clang/Analysis/AnalysisDeclContext.h

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

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

  • 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: test/Analysis/unix-fns.c
    • edit: lib/Analysis/BodyFarm.cpp

  • 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: test/Analysis/constant-folding.c
    • edit: lib/StaticAnalyzer/Core/RangeConstraintManager.cpp

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

  • Commit 11f34cfdd31ec9552df7fb7679064c0375c7f34f by ahmed.bougacha:
This patch fixes 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

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

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

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

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

    • edit: include/llvm/CodeGen/MIRYamlMapping.h
    • edit: lib/CodeGen/MIRPrinter.cpp
    • add: test/CodeGen/MIR/ARM/target-constant-pools-error.mir
    • edit: test/CodeGen/MIR/X86/constant-pool.mir
    • edit: lib/CodeGen/MIRParser/MIRParser.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.

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

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

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

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

    • edit: test/CodeGen/X86/GlobalISel/legalize-or-scalar.mir
    • edit: test/CodeGen/X86/GlobalISel/legalize-xor-scalar.mir
    • edit: test/CodeGen/X86/GlobalISel/legalize-sub.mir
    • edit: test/CodeGen/X86/GlobalISel/and-scalar.ll
    • edit: test/CodeGen/X86/GlobalISel/legalize-add.mir
    • edit: test/CodeGen/X86/GlobalISel/xor-scalar.ll
    • edit: test/CodeGen/X86/GlobalISel/add-scalar.ll
    • edit: test/CodeGen/X86/GlobalISel/legalize-mul-scalar.mir
    • edit: lib/Target/X86/X86LegalizerInfo.cpp
    • edit: test/CodeGen/X86/GlobalISel/legalize-and-scalar.mir
    • edit: test/CodeGen/X86/GlobalISel/or-scalar.ll
    • add: test/CodeGen/X86/GlobalISel/sub-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 It enables

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

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

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

  • 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/Utils.cpp
    • edit: lib/CodeGen/GlobalISel/IRTranslator.cpp

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

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

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

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

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

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

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

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

  • 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: docs/GlobalISel.rst
    • edit: include/llvm/Target/GenericOpcodes.td

  • 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 b6ab1c5299b974657b5c7d38bb97c1b0c8728653 by jingham:
XFail this test - the debug information for main2.swift is wrong and

    • edit: packages/Python/lldbsuite/test/lang/swift/struct_change_rerun/TestSwiftStructChangeRerun.py

  • Commit f69bc0eb14694e550a2a716d2d5a2ea134202031 by github:
libSyntax: various non-functional enhancements. NFC (#12842)

    • edit: include/swift/Syntax/SyntaxParsingContext.h
    • edit: lib/Parse/Parser.cpp
    • edit: lib/Parse/ParseExpr.cpp
    • edit: lib/Syntax/SyntaxParsingContext.cpp

I’ve resolved that last night, everything is green now.

···

On Nov 10, 2017, at 10:29 AM, Jim Ingham <jingham@apple.com> wrote:

This is swift failing to build:

FAILED: lib/Immediate/CMakeFiles/swiftImmediate.dir/Immediate.cpp.o
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Immediate -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/lib/Immediate -Iinclude -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/Ninja-ReleaseAssert/llvm-macosx-x86_64/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/Ninja-ReleaseAssert/llvm-macosx-x86_64/tools/clang/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/tools/clang/include -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/cmark/src -I/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/Ninja-ReleaseAssert/cmark-macosx-x86_64/src -Wno-unknown-warning-option -Werror=unguarded-availability-new -fno-stack-protector -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -O3 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -UNDEBUG -fno-exceptions -fno-rtti -target x86_64-apple-macosx10.9 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -arch x86_64 -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/../../../Developer/Library/Frameworks -mmacosx-version-min=10.9 -O2 -g0 -UNDEBUG -MD -MT lib/Immediate/CMakeFiles/swiftImmediate.dir/Immediate.cpp.o -MF lib/Immediate/CMakeFiles/swiftImmediate.dir/Immediate.cpp.o.d -o lib/Immediate/CMakeFiles/swiftImmediate.dir/Immediate.cpp.o -c /Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/lib/Immediate/Immediate.cpp

/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/lib/Immediate/Immediate.cpp:200:28: error: reference to type 'std::unique_ptr<DiagnosticHandler>' could not bind to an lvalue of type 'void (const llvm::DiagnosticInfo &, void *)'

Ctx.setDiagnosticHandler(linkerDiagnosticHandler, nullptr);
                          ^~~~~~~~~~~~~~~~~~~~~~~
/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/include/llvm/IR/LLVMContext.h:211:66: note: passing argument to parameter 'DH' here
void setDiagnosticHandler(std::unique_ptr<DiagnosticHandler> &&DH,
                                                                ^
/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/swift/lib/Immediate/Immediate.cpp:202:28: error: rvalue reference to type 'unique_ptr<...>' cannot bind to lvalue of type 'unique_ptr<...>'
Ctx.setDiagnosticHandler(OldHandler, OldDiagnosticContext);
                          ^~~~~~~~~~
/Users/buildnode/jenkins/workspace/oss-lldb-incremental-osx/llvm/include/llvm/IR/LLVMContext.h:211:66: note: passing argument to parameter 'DH' here
void setDiagnosticHandler(std::unique_ptr<DiagnosticHandler> &&DH,
                                                                ^
2 errors generated.

Unlikely to be an lldb issue.

Jim

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

New issue found!

[FAILURE] oss-lldb-incremental-osx [#378]

Build URL: https://ci.swift.org/job/oss-lldb-incremental-osx/378/
Project: oss-lldb-incremental-osx
Date of build: Thu, 09 Nov 2017 22:40:22 -0600
Build duration: 20 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

Changes

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

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

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

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

  • 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: lib/StaticAnalyzer/Core/CMakeLists.txt
    • edit: include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
    • add: test/Analysis/loop-unrolling.cpp
    • add: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
    • edit: test/Analysis/analyzer-config.c
    • add: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
    • edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
    • edit: lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
    • edit: lib/StaticAnalyzer/Core/AnalyzerOptions.cpp
    • edit: test/Analysis/analyzer-config.cpp

  • 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: lib/Analysis/ThreadSafety.cpp
    • edit: include/clang/Basic/Attr.td
    • edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
    • edit: test/Sema/attr-capabilities.c
    • edit: test/SemaCXX/warn-thread-safety-analysis.cpp
    • edit: lib/Sema/SemaDeclAttr.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: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
    • edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
    • edit: test/Analysis/loop-unrolling.cpp
    • edit: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h

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

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

  • 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: lib/StaticAnalyzer/Core/AnalysisManager.cpp
    • edit: test/Analysis/loop-unrolling.cpp

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

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

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

    • edit: lib/StaticAnalyzer/Core/ExprEngine.cpp
    • edit: lib/StaticAnalyzer/Core/LoopUnrolling.cpp
    • edit: include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
    • edit: test/Analysis/loop-unrolling.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: lib/Parse/ParseExpr.cpp
    • edit: include/clang/Parse/Parser.h
    • edit: lib/Analysis/CloneDetection.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: include/clang/Lex/LiteralSupport.h
    • edit: lib/CodeGen/CGExprScalar.cpp
    • edit: lib/Sema/SemaType.cpp
    • edit: lib/AST/ASTContext.cpp
    • edit: include/clang/Serialization/ASTBitCodes.h
    • edit: lib/Serialization/ASTReader.cpp
    • edit: test/Lexer/half-literal.cpp
    • edit: lib/Parse/ParseExprCXX.cpp
    • edit: include/clang/Basic/Specifiers.h
    • edit: lib/Parse/ParseDecl.cpp
    • add: test/CodeGenCXX/float16-declarations.cpp
    • edit: lib/Sema/SemaTemplateVariadic.cpp
    • edit: lib/AST/MicrosoftMangle.cpp
    • edit: lib/Parse/ParseExpr.cpp
    • edit: include/clang/AST/BuiltinTypes.def
    • edit: lib/CodeGen/CGDebugInfo.cpp
    • edit: lib/Sema/SemaExpr.cpp
    • edit: lib/Serialization/ASTCommon.cpp
    • edit: lib/Format/FormatToken.cpp
    • edit: lib/AST/ItaniumMangle.cpp
    • edit: lib/AST/TypeLoc.cpp
    • edit: include/clang/AST/ASTContext.h
    • edit: lib/AST/StmtPrinter.cpp
    • edit: lib/Lex/LiteralSupport.cpp
    • edit: lib/Sema/DeclSpec.cpp
    • edit: lib/AST/NSAPI.cpp
    • edit: lib/CodeGen/ItaniumCXXABI.cpp
    • edit: tools/libclang/CXType.cpp
    • add: test/Frontend/float16.cpp
    • edit: lib/Sema/SemaDecl.cpp
    • edit: include/clang-c/Index.h
    • edit: include/clang/Sema/DeclSpec.h
    • edit: include/clang/Basic/TokenKinds.def
    • edit: lib/AST/Type.cpp
    • edit: lib/Analysis/PrintfFormatString.cpp
    • edit: lib/CodeGen/CodeGenTypes.cpp
    • edit: lib/Index/USRGeneration.cpp
    • edit: lib/Parse/ParseTentative.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: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
    • edit: test/Analysis/null-deref-path-notes.c

  • 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/Analysis/Consumed.cpp
    • edit: lib/Sema/SemaChecking.cpp
    • edit: lib/Analysis/UninitializedValues.cpp
    • edit: lib/Sema/SemaDeclCXX.cpp
    • edit: include/clang/AST/Expr.h
    • edit: lib/Sema/SemaDecl.cpp

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

    • edit: test/Analysis/call_once.cpp
    • edit: lib/Analysis/BodyFarm.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: test/Analysis/MisusedMovedObject.cpp
    • edit: lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp

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

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

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

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

  • 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: test/Analysis/call_once.cpp
    • edit: lib/Analysis/BodyFarm.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

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

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

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

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

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

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

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

  • 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: test/Analysis/expr-inspection.c
    • edit: lib/StaticAnalyzer/Core/SymbolManager.cpp

  • 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: lib/StaticAnalyzer/Core/Store.cpp
    • edit: test/Analysis/ptr-arith.c

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

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

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

    • edit: lib/Analysis/BodyFarm.cpp
    • edit: test/Analysis/call_once.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: include/clang/Analysis/AnalysisDeclContext.h
    • edit: lib/Analysis/AnalysisDeclContext.cpp

  • 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/SVals.h
    • edit: include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.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: lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
    • edit: test/Analysis/bug_hash_test.cpp
    • edit: include/clang/StaticAnalyzer/Checkers/Checkers.td
    • edit: test/Analysis/bug_hash_test.m
    • edit: lib/StaticAnalyzer/Checkers/DebugCheckers.cpp

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

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

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

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

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

    • add: include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
    • edit: lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
    • 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: lib/Analysis/AnalysisDeclContext.cpp
    • edit: include/clang/Analysis/BodyFarm.h
    • edit: include/clang/Analysis/AnalysisDeclContext.h

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

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

  • 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: test/Analysis/unix-fns.c
    • edit: lib/Analysis/BodyFarm.cpp

  • 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: test/Analysis/constant-folding.c
    • edit: lib/StaticAnalyzer/Core/RangeConstraintManager.cpp

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

  • Commit 11f34cfdd31ec9552df7fb7679064c0375c7f34f by ahmed.bougacha:
This patch fixes 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

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

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

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

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

    • edit: include/llvm/CodeGen/MIRYamlMapping.h
    • edit: lib/CodeGen/MIRPrinter.cpp
    • add: test/CodeGen/MIR/ARM/target-constant-pools-error.mir
    • edit: test/CodeGen/MIR/X86/constant-pool.mir
    • edit: lib/CodeGen/MIRParser/MIRParser.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.

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

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

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

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

    • edit: test/CodeGen/X86/GlobalISel/legalize-or-scalar.mir
    • edit: test/CodeGen/X86/GlobalISel/legalize-xor-scalar.mir
    • edit: test/CodeGen/X86/GlobalISel/legalize-sub.mir
    • edit: test/CodeGen/X86/GlobalISel/and-scalar.ll
    • edit: test/CodeGen/X86/GlobalISel/legalize-add.mir
    • edit: test/CodeGen/X86/GlobalISel/xor-scalar.ll
    • edit: test/CodeGen/X86/GlobalISel/add-scalar.ll
    • edit: test/CodeGen/X86/GlobalISel/legalize-mul-scalar.mir
    • edit: lib/Target/X86/X86LegalizerInfo.cpp
    • edit: test/CodeGen/X86/GlobalISel/legalize-and-scalar.mir
    • edit: test/CodeGen/X86/GlobalISel/or-scalar.ll
    • add: test/CodeGen/X86/GlobalISel/sub-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 It enables

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

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

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

  • 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/Utils.cpp
    • edit: lib/CodeGen/GlobalISel/IRTranslator.cpp

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

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

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

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

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

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

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

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

  • 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: docs/GlobalISel.rst
    • edit: include/llvm/Target/GenericOpcodes.td

  • 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 b6ab1c5299b974657b5c7d38bb97c1b0c8728653 by jingham:
XFail this test - the debug information for main2.swift is wrong and

    • edit: packages/Python/lldbsuite/test/lang/swift/struct_change_rerun/TestSwiftStructChangeRerun.py

  • Commit f69bc0eb14694e550a2a716d2d5a2ea134202031 by github:
libSyntax: various non-functional enhancements. NFC (#12842)

    • edit: include/swift/Syntax/SyntaxParsingContext.h
    • edit: lib/Parse/Parser.cpp
    • edit: lib/Parse/ParseExpr.cpp
    • edit: lib/Syntax/SyntaxParsingContext.cpp