StefanPaulet wrote: I did not remove the `AtEndOfTU` parameter from `Sema::InstantiateVariableDefinition` as it breaks some tests related to diagnostics (e.g. `SemaCXX/undefined-internal.cpp`) , as previously the parameter could have been set to `true` although the end of the translation unit was not yet reached.
https://github.com/llvm/llvm-project/pull/117167 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits