[PATCH] D32118: Cleanup some GraphTraits iteration code

Yoav Ben-Shalom via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 16 07:17:19 PDT 2017


yabash updated this revision to Diff 95408.
yabash added a comment.

Updated according to alexfh's comments.

A lot of "this->" in the code could be removed,
however the specific one you mentioned (and some others) couldn't,
since they are members of a templated base class,
and need to be qualified.


https://reviews.llvm.org/D32118

Files:
  include/llvm/Analysis/BlockFrequencyInfoImpl.h
  include/llvm/Analysis/DominanceFrontierImpl.h
  include/llvm/Analysis/LoopInfo.h
  include/llvm/Analysis/LoopInfoImpl.h
  include/llvm/Support/GenericDomTree.h
  include/llvm/Support/GraphWriter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32118.95408.patch
Type: text/x-patch
Size: 15052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170416/a17630c1/attachment.bin>


More information about the llvm-commits mailing list