This is an archive of the discontinued LLVM Phabricator instance.

[CodeComplete] Offer completions for headers with extension .hxx in include directives
ClosedPublic

Authored by nridge on Dec 16 2022, 12:36 AM.

Diff Detail

Event Timeline

nridge created this revision.Dec 16 2022, 12:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2022, 12:36 AM
nridge requested review of this revision.Dec 16 2022, 12:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2022, 12:36 AM

Precedent for treating .hxx as a supported header extension: https://reviews.llvm.org/D81366

kadircet accepted this revision.Dec 16 2022, 2:12 AM

thanks!

clang/lib/Sema/SemaCodeComplete.cpp
10032–10033

this isn't actually the extensions from Types.def (it only has h and hh). you mind rewording it as This has some extra common file extensions that aren't part of Types.def?

This revision is now accepted and ready to land.Dec 16 2022, 2:12 AM
nridge updated this revision to Diff 483616.Dec 16 2022, 11:33 AM

Update comment

clang/lib/Sema/SemaCodeComplete.cpp
10032–10033

I ended up removing the reference to Types.def altogether because it didn't seem to be adding any value.

This revision was landed with ongoing or failed builds.Dec 16 2022, 11:34 AM
This revision was automatically updated to reflect the committed changes.