Details
Details
- Reviewers
hokein - Commits
- rG86f1313424fb: [clangd] Config: If.PathExclude
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp | ||
---|---|---|
73 | IIUC the semantic is: we only process the file if (PathMatch("bar", "b.*") && !PathExclude("bar", ".*r")), PathExclude is true here, so we won't process the file. |
Comment Actions
BTW I'm not planning to add Suffix/SuffixExclude in the immediate future, at least for clangd 11 people will have to use PathMatch: '.*\.h' or so. Sound OK?
clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp | ||
---|---|---|
73 | Exactly. Added a small message to the assertion to clarify the intent. |
IIUC the semantic is: we only process the file if (PathMatch("bar", "b.*") && !PathExclude("bar", ".*r")), PathExclude is true here, so we won't process the file.