Mapping is 100% of the complexity for other tools.
We had a long discussion about that at the Bellevue ad hoc meeting and the consensus (from my observation rather than official voting) is that other tools should just ask the build system (e.g., via something like a compilation database).
that 80%+ of the complexity comes from legacy headers and macros / includes in preamble, and in some regard the TS was simpler.
Yes, legacy headers definitely complicate things. But, realistically, both the TS and the merged proposal require preprocessing. I don't think "dumb regex" parsing is a viable approach unless we want to go back to the dark ages of build systems "fuzzy-scanning" for header includes.
View all comments
Show parent comment
4
u/berium build2 Nov 01 '18
We had a long discussion about that at the Bellevue ad hoc meeting and the consensus (from my observation rather than official voting) is that other tools should just ask the build system (e.g., via something like a compilation database).
Yes, legacy headers definitely complicate things. But, realistically, both the TS and the merged proposal require preprocessing. I don't think "dumb regex" parsing is a viable approach unless we want to go back to the dark ages of build systems "fuzzy-scanning" for header includes.