Given:
//simd.h:
#include <immintrin.h> // IWYU pragma: export
__m128 a;
//simd.imp:
[{ include: ["<xmmintrin.h>", "public", "<immintrin.h>", "public"] }]
I get:
simd.h should add these lines:
#include <xmmintrin.h> // for __m128
Without the export pragma the mapping works correctly and I don't get that incorrect
suggestion. This is both with 3.4.1 and HEAD. Also it is both with angle and double
quotes. It also doesn't matter whether the mapping is from public or from private.
Reported by roland@rschulz.eu on 2014-05-30 04:09:55
Originally reported on Google Code with ID 139
Reported by
roland@rschulz.eu
on 2014-05-30 04:09:55