[all-commits] [llvm/llvm-project] 48e09f: [lldb][NFC] Another attempt to fix GCC 5.x compila...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Jan 26 10:18:49 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 48e09faa9457b99b927ccc0d0fbbe452eaf9901d
      https://github.com/llvm/llvm-project/commit/48e09faa9457b99b927ccc0d0fbbe452eaf9901d
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h

  Log Message:
  -----------
  [lldb][NFC] Another attempt to fix GCC 5.x compilation

37510f69b4cb8d76064f108d57bebe95984a23ae tried to fix GCC 5.x compilation
by making the enum which is used as a unordered_map key unscoped. However it
seems that in GCC 5.x, enum keys are not supported *at all* in unordered_maps
(at least that's what some trial&error on godbolt tells me). This updates the
workaround to just use an int until GCC 5.x support is dropped.




More information about the All-commits mailing list