[all-commits] [llvm/llvm-project] 407666: [lldb][test] Replace use of p with expression (NFC)

Dave Lee via All-commits all-commits at lists.llvm.org
Wed Jan 25 11:04:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40766642283854d035a992513e314d59c1b4ca53
      https://github.com/llvm/llvm-project/commit/40766642283854d035a992513e314d59c1b4ca53
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M lldb/test/API/commands/expression/call-function/TestCallStdStringFunction.py
    M lldb/test/API/commands/expression/codegen-crash-typedefdecl-not-in_declcontext/main.cpp
    M lldb/test/API/commands/expression/persist_objc_pointeetype/TestPersistObjCPointeeType.py
    M lldb/test/API/commands/expression/rdar44436068/main.c
    M lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py
    M lldb/test/API/commands/target/dump-pcm-info/TestDumpPCMInfo.py
    A lldb/test/API/functionalities/alias/Makefile
    A lldb/test/API/functionalities/alias/TestPAlias.py
    A lldb/test/API/functionalities/alias/main.c
    M lldb/test/API/functionalities/backticks/TestBackticksWithoutATarget.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-ptr-to-array/TestPtrToArrayFormatting.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py
    M lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
    M lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashing.py
    M lldb/test/API/functionalities/inferior-crashing/TestInferiorCrashingStep.py
    M lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
    M lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py
    M lldb/test/API/functionalities/multiple-slides/TestMultipleSlides.py
    M lldb/test/API/functionalities/set-data/TestSetData.py
    M lldb/test/API/functionalities/ubsan/user-expression/TestUbsanUserExpression.py
    M lldb/test/API/lang/c/enum_types/TestEnumTypes.py
    M lldb/test/API/lang/c/strings/TestCStrings.py
    M lldb/test/API/lang/cpp/namespace/TestNamespace.py
    M lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py
    M lldb/test/API/lang/objc/foundation/TestObjCMethodsNSError.py
    M lldb/test/API/lang/objc/modules-auto-import/TestModulesAutoImport.py
    M lldb/test/API/lang/objc/modules/TestObjCModules.py
    M lldb/test/API/lang/objc/objc-struct-argument/TestObjCStructArgument.py
    M lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
    M lldb/test/API/linux/aarch64/non_address_bit_memory_access/TestAArch64LinuxNonAddressBitMemoryAccess.py
    M lldb/test/API/linux/builtin_trap/TestBuiltinTrap.py
    M lldb/test/API/lua_api/TestFileHandle.lua
    M lldb/test/API/macosx/early-process-launch/TestEarlyProcessLaunch.py
    M lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py
    M lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py
    M lldb/test/API/python_api/file_handle/TestFileHandle.py
    M lldb/test/API/types/TestRecursiveTypes.py

  Log Message:
  -----------
  [lldb][test] Replace use of p with expression (NFC)

In API tests, replace use of the `p` alias with the `expression` command.

To avoid conflating tests of the alias with tests of the expression command,
this patch canonicalizes to the use `expression`.

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




More information about the All-commits mailing list