-
```
Using iwyu with this code
----
#include
#include
#include
int foo(void) {
fprintf(stderr, "an error\n");
return INT_MAX;
}
----
will display
foo.c should add these lines:
fo…
-
```
Using iwyu with this code
----
#include
#include
#include
int foo(void) {
fprintf(stderr, "an error\n");
return INT_MAX;
}
----
will display
foo.c should add these lines:
fo…
-
Hi,
I have this `.nvim.lua` local project file:
```
local configs = require 'nvim_lsp/configs'
configs.clangd = {
cmd = {
"clangd",
"--pretty",
"--header-insertio…
-
```
Given a header file like this one:
#include
struct X {
void f(const SomeLargeClass &c) {
// lots of code here
}
};
... it would be great if iwyu could say something like "moving defini…
-
```
Given a header file like this one:
#include
struct X {
void f(const SomeLargeClass &c) {
// lots of code here
}
};
... it would be great if iwyu could say something like "moving defini…
-
```
Given a header file like this one:
#include
struct X {
void f(const SomeLargeClass &c) {
// lots of code here
}
};
... it would be great if iwyu could say something like "moving defini…
-
Currently file names as used internally by llvm/clang are used for glob comparison
https://github.com/include-what-you-use/include-what-you-use/blob/6e6b06ed13bc5f592d89ad5d4e397f64b64a0bea/iwyu_lo…
-
I have a template class `MyClass` define in myclass.h. I make a typedef `typedef MyClass` in typedef.h and use it in main.cpp and include tyedef.h . Now iwyu tells me , I also need to include myclass.…
-
```
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
…
-
```
Compiling the latest IWYU with llvm from 2014-08-20 15:48:06 -0400 I get:
/home/rschulz/software/llvm/lib/libLLVMX86Desc.a(X86MCTargetDesc.o): In
function `createX86MCRelocationInfo(llvm::String…