The EmulateInstructionRISCV uses a lot of types and functions in llvm and lldb, this change is to make the code look cleaner.
PS: This patch should be merged before D140032.
Paths
| Differential D140092
[NFC][LLDB] Using namespace llvm in EmulateInstructionRISCV ClosedPublic Authored by Emmmer on Dec 15 2022, 3:58 AM.
Details Summary The EmulateInstructionRISCV uses a lot of types and functions in llvm and lldb, this change is to make the code look cleaner. PS: This patch should be merged before D140032.
Diff Detail
Event TimelineHerald added subscribers: • pcwang-thead, eopXD, MaskRay. · View Herald TranscriptDec 15 2022, 3:58 AM This revision is now accepted and ready to land.Dec 15 2022, 4:43 AM Emmmer retitled this revision from [NFC] Using namespace llvm in EmulateInstructionRISCV to [NFC][LLDB] Using namespace llvm in EmulateInstructionRISCV.Dec 15 2022, 4:44 AM Closed by commit rG260ba2f22422: [NFC][LLDB] Using namespace llvm in EmulateInstructionRISCV (authored by Emmmer). · Explain WhyDec 15 2022, 5:32 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 483144 lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.h
lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
lldb/source/Plugins/Instruction/RISCV/RISCVInstructions.h
lldb/unittests/Instruction/RISCV/TestRISCVEmulator.cpp
|
You cannot use using namespace in a header file. That pollutes the lldb_private namespace for everyone who includes this file. Please revert this immediately.