[polly] r246442 - [NFC] Add isl_set output stream operator
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 31 06:54:37 PDT 2015
Author: jdoerfert
Date: Mon Aug 31 08:54:36 2015
New Revision: 246442
URL: http://llvm.org/viewvc/llvm-project?rev=246442&view=rev
Log:
[NFC] Add isl_set output stream operator
Modified:
polly/trunk/include/polly/Support/GICHelper.h
Modified: polly/trunk/include/polly/Support/GICHelper.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/Support/GICHelper.h?rev=246442&r1=246441&r2=246442&view=diff
==============================================================================
--- polly/trunk/include/polly/Support/GICHelper.h (original)
+++ polly/trunk/include/polly/Support/GICHelper.h Mon Aug 31 08:54:36 2015
@@ -65,6 +65,12 @@ inline llvm::raw_ostream &operator<<(llv
}
inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
+ __isl_keep isl_set *Set) {
+ OS << polly::stringFromIslObj(Set);
+ return OS;
+}
+
+inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
__isl_keep isl_pw_aff *Map) {
OS << polly::stringFromIslObj(Map);
return OS;
More information about the llvm-commits
mailing list