tinygo/cgo
Ayke van Laethem c138a50457 cgo: improve diagnostics
This commit improves diagnostics in a few ways:

  * All panics apart from panics with no (easy) recovery are converted to
    regular errors with source location.
  * Some errors were improved slightly to give more information. For
    example, show the libclang type kind as a string instead of a
    number.
  * Improve source location by respecting line directives in the C
    preprocessor.
  * Refactor to unify error handling between libclang diagnostics and
    failures to parse the libclang AST.
2019-11-03 16:58:23 +01:00
..
cgo.go cgo: improve diagnostics 2019-11-03 16:58:23 +01:00
libclang.go cgo: improve diagnostics 2019-11-03 16:58:23 +01:00
libclang_config.go cgo: refactor; support multiple cgo files in a single package 2019-05-12 10:49:15 +02:00
libclang_stubs.c cgo: add support for bitfields using generated getters and setters 2019-06-03 16:13:19 +02:00
sync.go cgo: refactor; support multiple cgo files in a single package 2019-05-12 10:49:15 +02:00