mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 20:40:11 +01:00
This was motivated by `MakeFunctionDecl`, which has been added to function.h as a helper function for making function declarations (an unintentional naming collision). I was wondering about renaming these functions to mark them as more clearly import-specific, reducing the chance of name collisions like this. Note the `Add` functions renamed here are typically updating an imported declaration with a definition -- not sure whether `Make...Decl` + `Add...Definition` vs `Import...Decl` + `Import...Definition` is actually losing anything though, since both seem to still require an understanding of the two-stage import process. Assisted-by: Google Antigravity with Gemini 3 Flash