This is an archive of the discontinued LLVM Phabricator instance.

Fixed misleading parameter name for PPCallbacks::FileSkipped
ClosedPublic

Authored by voskresensky.vladimir on Apr 20 2015, 7:23 AM.

Details

Reviewers
nikola
Summary

The first parameter of PPCallbacks::FileSkipped callback is SkippedFile, not the ParentFile according to the call at Preprocessor::HandleIncludeDirective

Diff Detail

Event Timeline

voskresensky.vladimir retitled this revision from to Fixed misleading parameter name for PPCallbacks::FileSkipped.
voskresensky.vladimir updated this object.
voskresensky.vladimir edited the test plan for this revision. (Show Details)
nikola added a subscriber: Unknown Object (MLST).
nikola edited edge metadata.Apr 20 2015, 4:58 PM

Your original patch had changes in the clang-extra repo as well but those are missing in this review, was that intentional?

include/clang/Lex/PPCallbacks.h
58–59

You can probably remove ParentFile from this sentence.

voskresensky.vladimir edited edge metadata.

Sorry for the long delay! I've attached changes from 'clang-extra'

No worries. This looks good, just fix the ParentFile reference I mentioned.

nikola accepted this revision.May 12 2015, 4:11 AM
nikola edited edge metadata.

LGTM, would you like me to commit this if you don't have access?

This revision is now accepted and ready to land.May 12 2015, 4:11 AM

Nikola, I don't have write access, so I'd appreciate your help with commit.

Btw, the updated diff was again only about clang repository, not extra. I used "update current" instead of "create new diff" was that correct? I do not see extra files in the list now, they are only in history of http://reviews.llvm.org/differential/diff/25416. What was the right way to use phabricator for such use case?

Thanks!
Vladimir.

I have no idea to be honest, the fact that we have only one svn repository but checkout different parts separately makes things confusing. And since I'm using git it's even more complicated ;)

Thanks for this, committed r237115 and r237116

nikola closed this revision.May 25 2015, 5:12 PM