[lldb][NFC] Use the proper type for the 'storage' parameter of CreateFunctionDeclaration
authorRaphael Isemann <teemperor@gmail.com>
Mon, 17 Aug 2020 10:47:12 +0000 (12:47 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 17 Aug 2020 10:53:58 +0000 (12:53 +0200)
commitcd2139a527f2d829bdde7877c992215f598e927b
tree199c8d8c807b407e97944c18de62d89a4054bf06
parent2ccde3c96b784f74370beff5dab5fbf3e70fae8b
[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.
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
lldb/unittests/Symbol/TestTypeSystemClang.cpp