================
@@ -262,6 +264,8 @@ TEST(IncludeCleaner, GenerateMissingHeaderDiags) {
TU.Filename = "main.cpp";
TU.AdditionalFiles["a.h"] = guard("#include \"b.h\"");
TU.AdditionalFiles["b.h"] = guard("void b();");
+ TU.AdditionalFiles["a_angled.h"] = guard("#include \"b_angled.h\"");
----------------
HighCommander4 wrote:
```c++
TU.ExtraArgs.push_back("-I" + testPath("."));
```
should be sufficient to get `#include <b_angled.h>` to compile.
Will leave the naming up to you as it's a minor point. (Possible suggestion:
`b_angled` --> `angled`, and `a_angled` --> `angled_wrapper`?)
https://github.com/llvm/llvm-project/pull/140594
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits