[all-commits] [llvm/llvm-project] cd2139: [lldb][NFC] Use the proper type for the 'storage' ...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Mon Aug 17 03:54:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cd2139a527f2d829bdde7877c992215f598e927b
      https://github.com/llvm/llvm-project/commit/cd2139a527f2d829bdde7877c992215f598e927b
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
    M lldb/unittests/Symbol/TestTypeSystemClang.cpp

  Log Message:
  -----------
  [lldb][NFC] Use the proper type for the 'storage' parameter of CreateFunctionDeclaration

All the callers pass an enum and we cast the int anyway back to the actual type,
so we might as well just use the type for the parameter.




More information about the All-commits mailing list