cjc0013 wrote:

Updated to separate GMF internal-linkage identity from the ODR-check policy.

- Added a dedicated `-f[no-]modules-unique-gmf-internal-linkage` option, 
enabled by default.
- AST deserialization and Itanium mangling now both use that option; neither 
depends on `-fskip-odr-check-in-gmf`.
- For qualifying GMF internal-linkage functions, `findExisting` now returns 
`false` directly.
- The regression crosses the controls in both directions: unique GMF identity 
with ODR checking enabled, and ordinary identity with ODR checking skipped.
- Moved the documentation out of the ODR-check section and documented the 
independent opt-out.

Validation:

- `ninja -C /root/llvm-build-195661 -j4 clang`: passed
- focused GMF regression: 1 passed
- adjacent C++20 module tests: 4 passed
- changed-line clang-format and `git diff --check`: clean


https://github.com/llvm/llvm-project/pull/219238
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to