Revisit `BasicSpecifiers::External` for user-authored `extern`
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 76
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Revisit this one the IFC has a better representation for the syntactic extern on function declarations vs compiler-generated/implicit external-linkage.
e.g.
extern void f();
void g();
On MSVC, both of the functions above have external-linkage, but BasicSpecifiers::External is insufficient for telling us whether the user wrote extern or external-linkage was generated by the compiler.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing BasicSpecifiers::External and the IFC representation used for function declarations. Compare extern void f(); with void g(); and define the representation needed to distinguish user-authored extern from compiler-generated external linkage; done means the two cases are distinguishable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100