'What's the point of a `.inc` file in C++ & C? What situation would you want to use it?
I'm sure this is has been asked before and will be closed and marked as a duplicate but I'm having problems finding it...
For example, at llvm/lib/Support/Unix/Signals.inc within the llvm project. What's the point of using this suffix for a cpp file?
Solution 1:[1]
In the context of llvm .inc files are generated by tablegen files :
https://llvm.org/docs/TableGen/ProgRef.html
So the .inc extension is used to distinguish between auto generated headerfile vs manually written headerfiles.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Darshan Bhat |
