Re: [Qemu-devel] [PATCH 00/35] RFC: coroutine annotations & clang check

2017-07-05 Thread Marc-André Lureau
Hi On Wed, Jul 5, 2017 at 7:26 AM Markus Armbruster wrote: > > Marc-André Lureau writes: > > > Hi, > > > > After investigating a bit using clang-tidy to do some coroutine checks > > (and hitting a wall as there are no pre-processor info in the AST), it > > was suggested to me on the clang mailin

Re: [Qemu-devel] [PATCH 00/35] RFC: coroutine annotations & clang check

2017-07-04 Thread Markus Armbruster
Marc-André Lureau writes: > Hi, > > After investigating a bit using clang-tidy to do some coroutine checks > (and hitting a wall as there are no pre-processor info in the AST), it > was suggested to me on the clang mailing list to try to use > -Wthread-safety. I had to modify clang a bit to make

[Qemu-devel] [PATCH 00/35] RFC: coroutine annotations & clang check

2017-07-04 Thread Marc-André Lureau
Hi, After investigating a bit using clang-tidy to do some coroutine checks (and hitting a wall as there are no pre-processor info in the AST), it was suggested to me on the clang mailing list to try to use -Wthread-safety. I had to modify clang a bit to make it work on qemu code base (annotations