[PATCH] D49609: [isl] Typesafe user pointers
Tobias Grosser via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 25 02:51:02 PDT 2018
grosser added a comment.
I used the std::any variant as an easy way to showcase how the bindings generator could be modified to do what we want (and also to show how an ideal interface could look like). I feel we should bring this up on the isl mailing list first to see what would be a good way to add this feature. We potentially could replace std::any with a simpler C++11 compatible solution:
http://brotherst-code.blogspot.com/2015/10/how-to-get-typeindex-without-rtti.all
Not sure if this is worth making the generator "pluggable". I feel this feature might trigger broader interest.
Repository:
rPLO Polly
https://reviews.llvm.org/D49609
More information about the llvm-commits
mailing list