diff options
| author | Rahul Joshi <rjoshi@nvidia.com> | 2024-08-12 21:05:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 07:05:07 +0300 |
| commit | b8fc97fdc107433da90c0bf9f9e8f7dd505f08a5 (patch) | |
| tree | 7750de4f909e7969e3208e663f067ddf37a8fba0 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
| parent | c772f5d53a75f2d5d0e8eb8c09c2d6c8d0fb1255 (diff) | |
| download | llvm-b8fc97fdc107433da90c0bf9f9e8f7dd505f08a5.zip llvm-b8fc97fdc107433da90c0bf9f9e8f7dd505f08a5.tar.gz llvm-b8fc97fdc107433da90c0bf9f9e8f7dd505f08a5.tar.bz2 | |
[NFC][TableGen] Refactor preprocessor directive handling (#102967)
- Make `PreprocessorDirs` array constexpr, move its definition outside
the anonymous namespace, and make it static.
- Change `Word` field to a StringRef.
- Simplify `prepIsDirective` to use StringRef comparison and early
`continue` per LLVM coding standards.
- Use C++17 structured bindings to iterate over the array.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions
