[lldb] Introduce a LLDB printing policy for Clang type names that suppressed inline...
authorRaphael Isemann <teemperor@gmail.com>
Thu, 12 Nov 2020 10:33:36 +0000 (11:33 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 12 Nov 2020 13:00:33 +0000 (14:00 +0100)
commitda121fff1184267a405f81a87f7314df2d474e1c
treef5166ee7c27d24df9de6c24864b3eb671232856b
parenta088766508aa1a5b6e655a239546f1a64e96eb11
[lldb] Introduce a LLDB printing policy for Clang type names that suppressed inline namespaces

Commit 5f12f4ff9078455cad9d4806da01f570553a5bf9 made suppressing inline namespaces
when printing typenames default to true. As we're using the inline namespaces
in LLDB to construct internal type names (which need internal namespaces in them
to, for example, differentiate libc++'s std::__1::string from the std::string
from libstdc++), this broke most of the type formatting logic.
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py