see the issue https://github.com/llvm/llvm-project/issues/64191
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
thanks!
clang-tools-extra/clangd/IncludeCleaner.cpp | ||
---|---|---|
86–87 | can you unify this and the previous check and just have a single: if (PI && PI->shouldKeep(Inc.HashLine + 1)) return false; at the top of the function? |
Comment Actions
also we should get this cherry-picked too. keep pragmas on includes are not common, but people do have export pragmas often enough to cause some annoyance here.
can you unify this and the previous check and just have a single:
at the top of the function?