[clang] [clang][analyzer] scan-build: Ensure path prefixes exist (PR #71053)

2023-11-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: None (amcn) Changes scan-build's `UpdatePrefix` calculates the shared prefix of a set of files. Its use of strings and regular expressions to do so means that it can sometimes end up calculating a prefix which does not

[clang] [clang][analyzer] scan-build: Ensure path prefixes exist (PR #71053)

2023-11-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (amcn) Changes scan-build's `UpdatePrefix` calculates the shared prefix of a set of files. Its use of strings and regular expressions to do so means that it can sometimes end up calculating a prefix which does not correspond to a

[clang] [clang][analyzer] scan-build: Ensure path prefixes exist (PR #71053)

2023-11-02 Thread via cfe-commits
https://github.com/amcn created https://github.com/llvm/llvm-project/pull/71053 scan-build's `UpdatePrefix` calculates the shared prefix of a set of files. Its use of strings and regular expressions to do so means that it can sometimes end up calculating a prefix which does not correspond to a