[all-commits] [llvm/llvm-project] b3801d: Replace redundant code in LanguageCategory with te...

adrian-prantl via All-commits all-commits at lists.llvm.org
Tue Dec 10 16:11:16 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b3801de7c50faa2b730e62e1cfabeec8c5cebae2
      https://github.com/llvm/llvm-project/commit/b3801de7c50faa2b730e62e1cfabeec8c5cebae2
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M lldb/include/lldb/DataFormatters/LanguageCategory.h
    M lldb/source/DataFormatters/LanguageCategory.cpp

  Log Message:
  -----------
  Replace redundant code in LanguageCategory with templates (NFC)

Differential Revision: https://reviews.llvm.org/D71296


  Commit: 2fb07b90dc1c2c08fe6fc69c9d569a1fc2c8a8e1
      https://github.com/llvm/llvm-project/commit/2fb07b90dc1c2c08fe6fc69c9d569a1fc2c8a8e1
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M lldb/source/DataFormatters/LanguageCategory.cpp

  Log Message:
  -----------
  Remove unsound caching in LanguageCategory

Analogous to https://reviews.llvm.org/D71233 it is not safe to cache
something that depends on the actual ValueObject in a cache then keys
only off the type name.

Differential Revision: https://reviews.llvm.org/D71297


Compare: https://github.com/llvm/llvm-project/compare/636c93ed11a5...2fb07b90dc1c


More information about the All-commits mailing list