forked from apple/swift
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] swiftwasm from main #5214
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: immutable value 'i' was never used; consider replacing with '_' or removing it for i in 0...N { ^
warning: tuple conversion from '(offset: Int, element: S.Element)' to '(index: Int, elem: S.Element)' mismatches labels
warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
warning: heterogeneous collection literal could only be inferred to '[Any]'; add explicit type annotation if this is intentional
…e is a placeholder If base type of the leading-dot syntax expression has been determined to be a placeholder, this could only mean that `.<name>` couldn't be resolved in the current context. Resolves: rdar://104302974
… ref Previously no API returned a raw 'swiftscan_string_ref_t' directly so this was not needed. However, 'swiftscan_compiler_target_info_query' returns a string directly, which the clients need to clean up.
If we include this file, it generates inline assembly, which would be fine except that when apps are being built with bitcode, that isn't allowed. rdar://103274667
I've not been able to fill in the 32-bit expectations here yet. Until I can do that, this won't work on any 32-bit platforms.
'sourcekitd' itself should not call 'swift::' functions. It should just deserialize the request, execute the logic in LangSupport, then serialize the result.
If the json file doesn't contain a value for this, this was never set, which results in UB. Unfortunately clang doesn't warn about this but gcc does https://godbolt.org/z/M3sdE73zs
Resolves rdar://103534243
Resolves rdar://104198440
Specify end of second range to std::mismatch (since C++14) to avoid accidentally stepping outside that range. In this case fixes a crash when trying to find a common prefix with an empty StringRef. Also add early return if no common root can be found. Fix for "REPL crashes during autocompletion" apple#62802
…oncurrency declarations in requirement inference.
…econcurrency decls if the decl we're inferring the generic signature for is not itself preconcurrency.
We have a similar helper class for the unary-but-for case, might as well have one for the nullary-but-for case.
…eference When emitting debug info that references into a macro expansion, dump the macro expansion buffer into a file on disk (in the temporary directory) so that one can see the macro expansion buffers in the source files themselves. The test here validates that the generated LLVM IR looks correct, but I'm having a problem getting LLDB to actually locate the source code correctly.
The path components may not be related to the current value in case mismatching types are visited, e.g. different concrete types of an existential. This can lead to mismatching operand numbers for struct and tuple instructions. rdar://104435056
Don't use tsd_private.h in compatibility libraries for ARMv7k.
Fix/suppress warnings in benchmarks
…e-test-on-watch Disable this test on watchOS
[Dependency Scanning] Provide libSwiftScan API to dispose of a string result
…upport [SourceKit] Move demangle/mangle logic to SwfitLangSupport
… with leading-dot syntax Member chains with leading-dot syntax can infer the base type only from context, so optionality mismatch with the contextual type should propagate object type down the chain.
Add SIL instructions for pack indexing
This is failing on the Linux bots. Let’s disable the test for now. apple#63107 tracks the actual failure.
…pe-trampoline Disable rdar74087329-debug-scope-trampoline-blocks.swift
The expected output would be different. The output for arm64e will change once this work is finished so it makes no sense to adjust the test for it now.
…plicitmoduleinfo-isframework Add default value for ExplicitModuleInfo isFramework
WalkUtils: fix a crash when visiting mismatching types
[NFC] Add 'package' access modifier to AccessLevel
Skip the shadowing decl and instead reference the top-most shadowed decl (ie. follow any shadowed decls up the chain). Also fix `getShorthandShadows` missing references in `MemberDeclRefExpr` by using `getReferencedDecl` instead of assuming it is a `DeclRefExpr`. Resolves rdar://99730146, rdar://100006415, and rdar://103449038.
…_disable The relative_protocol_witness_table.swift test does not work on arm64e
…ype rather than i8* Tolerate the more precise pointer value when storing rdar://103964986
[CSSimplify] Report unresolved base failure if leading-dot syntax bas…
IRGen: Thin function values may carry a precise pointer to function type rather than i8*
When there are no excerpts, we should assume indentation of zero.
This allows the debugger to choose whether to display the expanded macro (inlined) or the original source code (parent frame). rdar://102916513
…en to disk. This helps LLDB recognize the last line of the macro.
[Index] Resolve any shadowed references to the decl they shadow
[IDE] Fix crash in common root search in REPL code completion
…expansion-buffers
…-fix Fix -conditional-runtime-records crash on @objc protocols
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )