aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authornerix <nerixdev@outlook.de>2025-07-02 12:21:31 +0200
committerGitHub <noreply@github.com>2025-07-02 11:21:31 +0100
commit4c7a706589ca97101972c88d90449d27275b3ab5 (patch)
treeb0b84c7ac62f15bd7f1b23294a4f7c1e1e7191e9 /clang/lib/Basic/SourceManager.cpp
parent40275a4ee31203b9ed014b0b830f456a1c267063 (diff)
downloadllvm-4c7a706589ca97101972c88d90449d27275b3ab5.zip
llvm-4c7a706589ca97101972c88d90449d27275b3ab5.tar.gz
llvm-4c7a706589ca97101972c88d90449d27275b3ab5.tar.bz2
[LLDB] Simplify libstdc++ string summaries (#146562)
From #143177. This combines the summaries for the pre- and post C++ 11 `std::string` as well as `std::wstring`. In all cases, the data pointer is reachable through `_M_dataplus._M_p`. It has the correct type (i.e. `char*`/`wchar_t*`) and it's null terminated, so LLDB knows how to format it as expected when using `GetSummaryAsCString`.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions