[all-commits] [llvm/llvm-project] 2ad7b6: [lldb][NFC] Make NameSearchContext::m_found member...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Feb 25 03:45:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ad7b6fba0e3a9e71df64bd1a51a14f9c5930eb3
      https://github.com/llvm/llvm-project/commit/2ad7b6fba0e3a9e71df64bd1a51a14f9c5930eb3
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/NameSearchContext.h

  Log Message:
  -----------
  [lldb][NFC] Make NameSearchContext::m_found members bools instead of bitfields

The size of NameSearchContext isn't important as we never store it and rarely
allocate more than a few. This way we also don't have to use the memset to
initialize these fields to zero.




More information about the All-commits mailing list