[PATCH] D69950: Reapply "Fix crash on switch conditions of non-integer types in templates"

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 23:37:20 PST 2019


mstorsjo added a comment.

This (when reapplied in https://reviews.llvm.org/rG878a24ee244a24c39d1c57e9af2) broke compilation of code that earlier built fine. A reduced example:

  namespace glslang {
  class TPoolAllocator {
    void operator=(TPoolAllocator);
  };
  template <class> class a {
    TPoolAllocator *b;
    void c() { allocator = *b; }
    TPoolAllocator allocator;
  };
  } // namespace glslang


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69950/new/

https://reviews.llvm.org/D69950





More information about the cfe-commits mailing list