(options)
| 57 | return tu |
| 58 | |
| 59 | def splitOptions(options): |
| 60 | optsList = [] |
| 61 | opt = "" |
| 62 | quoted = False |
| 63 | |
| 64 | for char in options: |
| 65 | if char == ' ' and not quoted: |
| 66 | if opt != "": |
| 67 | optsList += [opt] |
| 68 | opt = "" |
| 69 | continue |
| 70 | elif char == '"': |
| 71 | quoted = not quoted |
| 72 | opt += char |
| 73 | |
| 74 | if opt != "": |
| 75 | optsList += [opt] |
| 76 | return optsList |
| 77 | |
| 78 | def getQuickFix(diagnostic): |
| 79 | # Some diagnostics have no file, e.g. "too many errors emitted, stopping now" |
no outgoing calls
no test coverage detected