[Lldb-commits] [lldb] 0ff2905 - [lldb] Hyphenate Objective-C exception breakpoint labels ✍️

Stephane Moore via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 1 15:03:08 PST 2022


Author: Stephane Moore
Date: 2022-03-01T15:02:44-08:00
New Revision: 0ff290570965b920d0fb8495c0e4b43e6e9ccbf0

URL: https://github.com/llvm/llvm-project/commit/0ff290570965b920d0fb8495c0e4b43e6e9ccbf0
DIFF: https://github.com/llvm/llvm-project/commit/0ff290570965b920d0fb8495c0e4b43e6e9ccbf0.diff

LOG: [lldb] Hyphenate Objective-C exception breakpoint labels ✍️

Objective-C is officially hyphenated:
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html#//apple_ref/doc/uid/TP30001163

Reviewed By: mwyman, clayborg

Differential Revision: https://reviews.llvm.org/D113616

Added: 
    

Modified: 
    lldb/tools/lldb-vscode/VSCode.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/tools/lldb-vscode/VSCode.cpp b/lldb/tools/lldb-vscode/VSCode.cpp
index 3209eea4a897f..8e43ea3b771e6 100644
--- a/lldb/tools/lldb-vscode/VSCode.cpp
+++ b/lldb/tools/lldb-vscode/VSCode.cpp
@@ -34,8 +34,8 @@ VSCode::VSCode()
       exception_breakpoints(
           {{"cpp_catch", "C++ Catch", lldb::eLanguageTypeC_plus_plus},
            {"cpp_throw", "C++ Throw", lldb::eLanguageTypeC_plus_plus},
-           {"objc_catch", "Objective C Catch", lldb::eLanguageTypeObjC},
-           {"objc_throw", "Objective C Throw", lldb::eLanguageTypeObjC},
+           {"objc_catch", "Objective-C Catch", lldb::eLanguageTypeObjC},
+           {"objc_throw", "Objective-C Throw", lldb::eLanguageTypeObjC},
            {"swift_catch", "Swift Catch", lldb::eLanguageTypeSwift},
            {"swift_throw", "Swift Throw", lldb::eLanguageTypeSwift}}),
       focus_tid(LLDB_INVALID_THREAD_ID), sent_terminated_event(false),


        


More information about the lldb-commits mailing list