Sometimes the compiler provider is called on files that we don't
compile. Instead of complaining, we just return an empty set of includes
or defines.
Details
Details
- Reviewers
mwolff - Group Reviewers
KDevelop - Commits
- R32:8cbb71444fd5: Ignore unrecognized files in CompilerProvider
R32:2462a638732d: Ignore unrecognized files in CompilerProvider
Diff Detail
Diff Detail
- Repository
- R32 KDevelop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
lgtm, but you can simplify the code by writing return {}; in both places. Also, it doesn't hurt to add a short comment saying something like you do in your commit message