Re: [libvirt] [PATCH v2 0/5] Misc cleanups for internal.h & fix tests with CLang

2017-07-10 Thread Andrea Bolognani
On Wed, 2017-07-05 at 12:58 +0100, Daniel P. Berrange wrote: > When writing the fix for test suite mocking under CLang I found a > bunch of cruft in internal.h The first four patches thus cleanup > up internal.h. We then add the extra annotations requird to prevent > CLang optimizer breaking mock

Re: [libvirt] [PATCH v2 0/5] Misc cleanups for internal.h & fix tests with CLang

2017-07-09 Thread Roman Bogorodskiy
Daniel P. Berrange wrote: > When writing the fix for test suite mocking under CLang I found a > bunch of cruft in internal.h The first four patches thus cleanup > up internal.h. We then add the extra annotations requird to prevent > CLang optimizer breaking mock overrides. > > Changed in v2: >

[libvirt] [PATCH v2 0/5] Misc cleanups for internal.h & fix tests with CLang

2017-07-05 Thread Daniel P. Berrange
When writing the fix for test suite mocking under CLang I found a bunch of cruft in internal.h The first four patches thus cleanup up internal.h. We then add the extra annotations requird to prevent CLang optimizer breaking mock overrides. Changed in v2: - Fixed version check to find clang -