aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorRahul Joshi <rjoshi@nvidia.com>2024-08-12 21:05:07 -0700
committerGitHub <noreply@github.com>2024-08-13 07:05:07 +0300
commitb8fc97fdc107433da90c0bf9f9e8f7dd505f08a5 (patch)
tree7750de4f909e7969e3208e663f067ddf37a8fba0 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentc772f5d53a75f2d5d0e8eb8c09c2d6c8d0fb1255 (diff)
downloadllvm-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