Currently, this would not correctly associate a category with the related include if it was top-level (i.e. no slashes in the path). This ensures that we explicitly think about that case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
clang-format: please reformat the code
- return Canonical.substr( - 0, Canonical.find_first_of('+', StartIndex)); + return Canonical.substr(0, Canonical.find_first_of('+', StartIndex));