This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards
ClosedPublic

Authored by Eugene.Zelenko on Sep 25 2015, 3:43 PM.

Details

Reviewers
kcc
Summary

I checked this patch on my own build on RHEL 6.

Please check it in if it's OK, because I don't have SVN write access.

Diff Detail

Event Timeline

Eugene.Zelenko retitled this revision from to [compiler-rt] Fix Clang-tidy modernize-use-nullptr warnings in lib/sanitizer_common headers, unify closing inclusion guards.
Eugene.Zelenko updated this object.
Eugene.Zelenko added a reviewer: kcc.
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a subscriber: llvm-commits.
kcc accepted this revision.Sep 25 2015, 3:51 PM
kcc edited edge metadata.

LGTM, thanks!

What are the plans to keep this from regressing?

This revision is now accepted and ready to land.Sep 25 2015, 3:51 PM

Could you please elaborate more what did you mean as regressing?

kcc added a comment.Sep 25 2015, 4:12 PM

You've run clang-tidy to make the code better.
But we don't have it as a pre-commit check and so the following commits will
make the code clang-tidy-unclean again (i.e regress).

Actually, there are still a lot of work need to be done in compiler-rt code before thinking about pre-commit checks. But, sure, after clean-up it'll be good idea to have such checks.

Could you please check in changes, since I don't have SVN write access?

kcc added a comment.Sep 25 2015, 4:18 PM

I'll commit this on Monday-ish unless someone beats me to it.

kcc closed this revision.Sep 29 2015, 11:25 AM

r248816.