Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
thanks, lgtm!
clang-tools-extra/clangd/IncludeCleaner.cpp | ||
---|---|---|
42 | i've got a feeling that this might have nasty side effects in the presence of functions with defaulted-arguments, but they're pretty obscure (like declare a function with a default parameter in a header, then in the main file both include the header and have a forward declaration of the function, now that forward declaration can't have the default parameter because the one in the header has. but who does that really). so i suppose it won't result in any false positives in practice. |
i've got a feeling that this might have nasty side effects in the presence of functions with defaulted-arguments, but they're pretty obscure (like declare a function with a default parameter in a header, then in the main file both include the header and have a forward declaration of the function, now that forward declaration can't have the default parameter because the one in the header has. but who does that really). so i suppose it won't result in any false positives in practice.