sbenza added a comment. To be more specific, the problem comes from the use of `hasAnscestor` (done by `isInTemplateInstantiation` ) while there is a `TemplateArgument` in the bound nodes. This tries to put the node into the cache. To trigger this easily you only need to have a hit in the cache. I think you can trigger it by adding a second line `boost::lexical_cast<std::string>(42);` in the `string_as_T` test. That second hit should get a cache hit and trigger the bug.
http://reviews.llvm.org/D19144 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits