[PATCH] D21955: InvariantEquivClassTy: Use struct instead of 4-tuple to increase readability

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 3 04:34:08 PDT 2016


grosser created this revision.
grosser added a reviewer: jdoerfert.
grosser added subscribers: llvm-commits, pollydev.

With a struct we can use named accessors instead of generic std::get<3>()
calls. This increases readability of the source code.

http://reviews.llvm.org/D21955

Files:
  include/polly/ScopInfo.h
  lib/Analysis/ScopInfo.cpp
  lib/CodeGen/IslNodeBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21955.62619.patch
Type: text/x-patch
Size: 7710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160703/3936280b/attachment.bin>


More information about the llvm-commits mailing list