We had using namespace std; sprinkled around several source files and tests.
This also follows the LLVM coding standard.
Paths
| Differential D120966
Remove cases of using namespace std ClosedPublic Authored by shafik on Mar 3 2022, 8:11 PM.
Details Summary We had using namespace std; sprinkled around several source files and tests. This also follows the LLVM coding standard.
Diff Detail
Event TimelineComment Actions As a side note, I noticed that we don't prefix typedefs from cstdint with std:: e.g. size_t. These typedefs are not guaranteed to be in the global namespace. This revision is now accepted and ready to land.Mar 3 2022, 8:55 PM Closed by commit rG9bd72b5c2585: [LLDB] Remove cases of using namespace std (authored by shafik). · Explain WhyMar 4 2022, 12:51 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413112 lldb/source/Core/FileSpecList.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/test/API/api/multithreaded/inferior.cpp
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/queue/main.cpp
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/tuple/main.cpp
lldb/test/API/functionalities/process_save_core_minidump/main.cpp
lldb/test/API/functionalities/thread/concurrent_events/main.cpp
lldb/unittests/SymbolFile/PDB/Inputs/test-pdb-types.cpp
|