[Lldb-commits] [lldb] [lldb][Format] Add function.suffix frame-format variable (PR #137763)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 29 00:12:04 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h -- lldb/include/lldb/Core/FormatEntity.h lldb/source/Core/FormatEntity.cpp lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
index 90db03c45..6491fb761 100644
--- a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
+++ b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
@@ -401,7 +401,8 @@ GetDemangledFunctionSuffix(const SymbolContext &sc) {
if (!info->hasBasename())
return std::nullopt;
- return demangled_name.slice(info->QualifiersRange.second, llvm::StringRef::npos);
+ return demangled_name.slice(info->QualifiersRange.second,
+ llvm::StringRef::npos);
}
bool CPlusPlusLanguage::CxxMethodName::TrySimplifiedParse() {
``````````
</details>
https://github.com/llvm/llvm-project/pull/137763
More information about the lldb-commits
mailing list