Turns out there's no API to find out if a user command exists. There's SBCommandInterpreter::CommandExists but that only checks for built-in commands. I needed this to write a test for an upcoming patch, and it's a useful thing to know. I added docs so it's clear CommandExists is for builtin commands and this one is for command script add commands.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo