diff options
| author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-02-10 11:07:14 -0600 |
|---|---|---|
| committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-02-10 20:30:00 -0600 |
| commit | 5afd9fd916beab15b8fe2e269b3c7466c9ffa574 (patch) | |
| tree | 2231376874d304388011fddb7f3dfa1250ca4874 /lldb/test/API/python_api/process/TestProcessAPI.py | |
| parent | f69c83645b81ffbffbce5abfe827f8ff1a965d9f (diff) | |
[CodingStandards] Clarify C++ Standard Library usage
The existing wording leaves it unclear if C++ standard library data
structures should be preferred over custom LLVM ones, e.g., SmallVector,
even though common practice seems clear on the issue. This change makes
the wording more explicit and aligns it better with the code base.
Some motivating statistics:
```
ag SmallVector llvm/lib/ | wc
8846 40306 901421
ag 'std::vector' llvm/lib/ | wc
2123 8990 214482
ag SmallVector clang/lib/ | wc
3023 13824 281691
ag 'std::vector' clang/lib/ | wc
719 2914 72817
```
Differential Revision: https://reviews.llvm.org/D74340
Diffstat (limited to 'lldb/test/API/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
