-
Hello,
I am trying to run include-what-you-use.exe on a codebase which require `-fdelayed-template-parsing` flag to compile correctly (codebase originally compiled for Windows with MSVC).
I am a…
-
```
Given:
//simd.h:
#include // IWYU pragma: export
__m128 a;
//simd.imp:
[{ include: ["", "public", "", "public"] }]
I get:
simd.h should add these lines:
#include // for __m128
…
-
```
Given:
//simd.h:
#include // IWYU pragma: export
__m128 a;
//simd.imp:
[{ include: ["", "public", "", "public"] }]
I get:
simd.h should add these lines:
#include // for __m128
…
-
```
Given:
//simd.h:
#include // IWYU pragma: export
__m128 a;
//simd.imp:
[{ include: ["", "public", "", "public"] }]
I get:
simd.h should add these lines:
#include // for __m128
…
-
If one or more forward declaration needs to be removed that eliminates all of them for particular namespace you would expect the namespace declaration to be removed completely.
For example if we have…
-
Compiler Explorer (aka https://godbolt.org) offers `include-what-you-use` as integrated tool but unfortunately it has not been updated since it has been introduced and is still at 0.12.
I am aware …
-
Originally reported on Google Code with ID 141
```
IWYU doesn't come with default mappings for libc++ (the llvm stl implementation)
Example:
==> stringtest.cc
-
using 0.8.0 release it suggests
#include "utility" // for pair
when it should be
#include
std::pair Foo::bar() {
return std::make_pair(m_foo, m_bar);
}
-
Example:
```
// a.h
struct Meters
{
int32_t value;
};
```
```
// b.h
#include "a.h"
struct MyData
{
Meters meters;
};
```
```
// c.cpp
#include "b.h"
#include …
-
IWYU cannot automatically add header file inclusions when relative paths to source files are used in the compile_commands.json file. Moreover, the completion of LSP has also become abnormal, and the m…