This is an archive of the discontinued LLVM Phabricator instance.

[Clang] Fix some Clang-tidy modernize-use-bool-literals warnings; other minor fixes.
AbandonedPublic

Authored by Eugene.Zelenko on May 13 2016, 1:33 PM.

Details

Summary

Fix some Include What You Use warnings.

I checked this patch on my own build on RHEL 6. Regressions were OK.

Diff Detail

Repository
rL LLVM

Event Timeline

Eugene.Zelenko retitled this revision from to [Clang] Fix some Clang-tidy modernize-use-bool-literals warnings; other minor fixes..
Eugene.Zelenko updated this object.
Eugene.Zelenko added reviewers: hans, aaron.ballman.
Eugene.Zelenko set the repository for this revision to rL LLVM.
Eugene.Zelenko added a subscriber: cfe-commits.
Prazek added a subscriber: Prazek.May 13 2016, 1:50 PM

Can you post this review with more context? (diff -U99999)

Include mode context.

hans edited edge metadata.May 16 2016, 8:55 AM

I'd leave out the blank lines between DEF_TRAVERSE_STMTs, but the rest looks good.

include/clang/AST/RecursiveASTVisitor.h
2014

I'm not sure about the blank lines in these DEF_TRAVERSE_STMTs. I don't really see what the logic is.

Eugene.Zelenko abandoned this revision.Jul 19 2016, 10:37 AM