|
|
|
|
|
by gHosts
497 days ago
|
|
It's part of a compiler ecosystem. ie. The front end is shared. See clang-tidy and clang analyzer for example. ps: That's what I like most about the core guidelines, they are trying very hard to stick to guidelines (not rules) that pretty much uncontroversially make things safer _and_ can be checked automatically. They're explicitly walking away from bikeshed paintings like naming conventions and formatting. |
|
I know compiler front ends can be and are used to create tooling. The point is, you shouldn't be required to implement some kinds of checking in the course of implementing a compiler. If you use a compiler, you should not be required to do all this analysis every single time you compile (unless it is enforcing an objectively necessary standard, and the cost of running it is negligible).