-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Hamish fuzzer fixes #81843
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
Merged
Merged
Hamish fuzzer fixes #81843
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6cc1212
Add test case for formerly missing diagnostic
slavapestov 14f6dbf
Add tests suggested by @AnthonyLatsis
slavapestov 0e1561f
Sema: Change a couple of Identifier usages to DeclName instead
slavapestov 0a0019b
Sema: Fix null pointer dereference with invalid ParamDecl
slavapestov ff941bc
Sema: Fix crash when `any` is followed by something that doesn't pars…
slavapestov 6d0c739
Parse: An empty escaped identifier is entirely whitespace
slavapestov 401f527
Sema: Don't construct TupleType with InOutType inside
slavapestov d3cf1a4
Sema: getBaseIdentifier() => isSimpleName() in synthesizeCodingKeysIf…
slavapestov a3444a0
Sema: Handle invalid conformance in ApplyClassifier::classifyApply()
slavapestov 4e6352d
Sema: Handle bogus DeclNameRefs in translateExprToDeclRefTypeRepr()
slavapestov 2f6b45d
AST: Add an assertion to ProtocolConformanceRef::getAbstract()
slavapestov a0e7cce
ASTDemangler: Use associated type declarations instead of identifiers…
slavapestov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
...ompiler_crashers_2/1470917329979c9a.swift → ...r_crashers_2_fixed/1470917329979c9a.swift
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
...ompiler_crashers_2/14b6ac8674b84f44.swift → ...r_crashers_2_fixed/14b6ac8674b84f44.swift
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// {"signature":"(anonymous namespace)::ABIDependencyEvaluator::computeABIDependenciesForModule(swift::ModuleDecl*)"} | ||
// RUN: not --crash %target-swift-frontend -typecheck %s | ||
// RUN: not %target-swift-frontend -typecheck %s | ||
switch { | ||
case init |
2 changes: 1 addition & 1 deletion
2
.../compiler_crashers_2/43bf2cb496111e.swift → ...ler_crashers_2_fixed/43bf2cb496111e.swift
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// {"signature":"swift::Lexer::formEscapedIdentifierToken(char const*)"} | ||
// RUN: not --crash %target-swift-frontend -typecheck %s | ||
// RUN: not %target-swift-frontend -typecheck %s | ||
`` |
2 changes: 1 addition & 1 deletion
2
...compiler_crashers_2/448bdb8b9df6dd2.swift → ...er_crashers_2_fixed/448bdb8b9df6dd2.swift
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// {"signature":"swift::DeclRefTypeRepr::overwriteNameRef(swift::DeclNameRef)"} | ||
// RUN: not --crash %target-swift-frontend -typecheck %s | ||
// RUN: not %target-swift-frontend -typecheck %s | ||
switch { case init( |
2 changes: 1 addition & 1 deletion
2
...ompiler_crashers_2/59b42964e169b6fa.swift → ...r_crashers_2_fixed/59b42964e169b6fa.swift
This file contains hidden or 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
2 changes: 1 addition & 1 deletion
2
...compiler_crashers_2/5ce9cd9830dc12a.swift → ...er_crashers_2_fixed/5ce9cd9830dc12a.swift
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// {"signature":"swift::DeclAndTypePrinter::Implementation::visitVarDecl(swift::VarDecl*)"} | ||
// RUN: not --crash %target-swift-frontend -typecheck %s | ||
// RUN: not %target-swift-frontend -typecheck %s | ||
#init |
2 changes: 1 addition & 1 deletion
2
...ompiler_crashers_2/d03a7ba9ca6274b0.swift → ...r_crashers_2_fixed/d03a7ba9ca6274b0.swift
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// {"signature":"swift::ParamSpecifierRequest::evaluate(swift::Evaluator&, swift::ParamDecl*) const"} | ||
// RUN: not --crash %target-swift-frontend -typecheck %s | ||
// RUN: not %target-swift-frontend -typecheck %s | ||
func a([0]) |
2 changes: 1 addition & 1 deletion
2
...ompiler_crashers_2/fec3d092ae822aa6.swift → ...r_crashers_2_fixed/fec3d092ae822aa6.swift
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// {"signature":"swift::Parser::parseExprSequenceElement(swift::Diag<>, bool)"} | ||
// RUN: not --crash %target-swift-frontend -typecheck %s | ||
// RUN: not %target-swift-frontend -typecheck %s | ||
any a < |
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.
Uh oh!
There was an error while loading. Please reload this page.