The prefix check did not include the trailing /, so llvm-c headers were treated like llvm headers, resulting in incorrect suggestions to use LLVM_ABI where LLVM_C_ABI was already present. See https://github.com/llvm/llvm-project/pull/176309#issuecomment-3757987748 for an example.