Add gcc -ftrack-macro-expansion
Open
clang:frontend
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Feature request
GCC supports -ftrack-macro-expansion
[https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html](https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html)
Could clang support it too.
It would help keep options the same across builds.
Contributor guide
Research direction
Start by reading GCC's Preprocessor Options documentation for -ftrack-macro-expansion and locating clang's preprocessor option handling. No source file or test is named in the issue; done means clang accepts the option and provides compatible macro-expansion tracking behavior while preserving build-option compatibility.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100