[all-commits] [llvm/llvm-project] 8dc44d: Remove include of 'type_info' from ext-int test.

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Oct 20 12:54:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8dc44d8dd872eadf112c43fa7784110a43ccb683
      https://github.com/llvm/llvm-project/commit/8dc44d8dd872eadf112c43fa7784110a43ccb683
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2021-10-20 (Wed, 20 Oct 2021)

  Changed paths:
    M clang/test/CodeGenCXX/ext-int.cpp

  Log Message:
  -----------
  Remove include of 'type_info' from ext-int test.

Originally I thought that I needed to do a #include to trick the
compiler into letting me use typeid I believe, but Aaron explained that
it was just looking for the type_info type.  I had to give it some
public/private members to make it emit the same as before, but this
ought to be a 'perfect' replacement.




More information about the All-commits mailing list