Files
swift-mirror/test/Sema/Inputs/bad.accessnotes
Becca Royal-Gordon 8d0040fa2b Improve access note error handling
The LLVM rebranch added an “AllowUnknownKeys” setting to llvm::yaml::Input, which lets us rip out a lot of marginal code and encourages a broader rework of access note error diagnosis:

• Access note warnings and errors are now diagnosed as they’re found during YAML parsing
• They now have proper SourceLocs inside the .accessnotes file
• They’re now tested using -verify-additional-file instead of FileCheck
• A lot of gross duct tape is now gone
2021-02-10 00:29:34 -08:00

3 lines
135 B
Plaintext

Colourless green ideas sleep furiously.
# expected-warning@-1 {{ignored access notes file because it cannot be parsed: not a mapping}}