This is an archive of the discontinued LLVM Phabricator instance.

Allow use of private headers in different sub-modules.
ClosedPublic

Authored by klimek on Nov 4 2015, 3:34 PM.

Details

Reviewers
rsmith

Diff Detail

Event Timeline

klimek updated this revision to Diff 39276.Nov 4 2015, 3:34 PM
klimek retitled this revision from to Allow use of private headers in different sub-modules..
klimek updated this object.
klimek added a reviewer: rsmith.
klimek added a subscriber: cfe-commits.
rsmith added inline comments.Nov 4 2015, 4:10 PM
lib/Lex/ModuleMap.cpp
235–237

We still have some duplication between this check...

264–267

... and this one. I don't think we need both.

klimek updated this revision to Diff 39287.Nov 4 2015, 4:23 PM

Remove unnecessary if and fix segfault.

klimek marked 2 inline comments as done.Nov 4 2015, 4:24 PM

Addressed comments.

rsmith accepted this revision.Nov 4 2015, 5:50 PM
rsmith edited edge metadata.
This revision is now accepted and ready to land.Nov 4 2015, 5:50 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in rL252170.