[all-commits] [llvm/llvm-project] d1a179: [lldb] Replace unneeded use of Foundation with Obj...

Dave Lee via All-commits all-commits at lists.llvm.org
Sun Apr 4 20:05:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1a1798e51a30fbf537e9fd8931a49b504f37a25
      https://github.com/llvm/llvm-project/commit/d1a1798e51a30fbf537e9fd8931a49b504f37a25
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2021-04-04 (Sun, 04 Apr 2021)

  Changed paths:
    M lldb/test/API/commands/expression/context-object-objc/Makefile
    M lldb/test/API/commands/expression/context-object-objc/main.m
    M lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/main.mm
    M lldb/test/API/commands/frame/recognizer/Makefile
    M lldb/test/API/commands/frame/recognizer/main.m
    M lldb/test/API/functionalities/type_lookup/Makefile
    M lldb/test/API/functionalities/type_lookup/main.mm
    M lldb/test/API/lang/objc/bitfield_ivars/Makefile
    M lldb/test/API/lang/objc/bitfield_ivars/main.m
    M lldb/test/API/lang/objc/blocks/Makefile
    M lldb/test/API/lang/objc/blocks/ivars-in-blocks.h
    M lldb/test/API/lang/objc/blocks/ivars-in-blocks.m
    M lldb/test/API/lang/objc/conflicting-definition/Test/Test.h
    M lldb/test/API/lang/objc/forward-decl/Container.h
    M lldb/test/API/lang/objc/forward-decl/Makefile
    M lldb/test/API/lang/objc/forward-decl/main.m
    M lldb/test/API/lang/objc/foundation/my-base.m
    M lldb/test/API/lang/objc/hidden-ivars/InternalDefiner.h
    M lldb/test/API/lang/objc/ivar-IMP/Makefile
    M lldb/test/API/lang/objc/ivar-IMP/myclass.h
    M lldb/test/API/lang/objc/ivar-IMP/myclass.m
    M lldb/test/API/lang/objc/ivar-IMP/repro.m
    M lldb/test/API/lang/objc/modules-objc-property/main.m
    M lldb/test/API/lang/objc/modules-objc-property/myModule.h
    M lldb/test/API/lang/objc/objc-ivar-offsets/Makefile
    M lldb/test/API/lang/objc/objc-ivar-offsets/objc-ivar-offsets.h
    M lldb/test/API/lang/objc/objc-super/Makefile
    M lldb/test/API/lang/objc/objc-super/class.m
    M lldb/test/API/lang/objcxx/class-name-clash/myobject.mm
    M lldb/test/API/python_api/class_members/main.mm
    M lldb/test/API/python_api/objc_type/Makefile
    M lldb/test/API/python_api/objc_type/main.m

  Log Message:
  -----------
  [lldb] Replace unneeded use of Foundation with ObjectiveC in tests (NFC)

When referencing `NSObject`, it's enough to import `objc/NSObject.h`. Importing `Foundation` is unnecessary in these cases.

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




More information about the All-commits mailing list