jdoerfert added a comment. In D85878#2217408 <https://reviews.llvm.org/D85878#2217408>, @JonChesterfield wrote:
> If I recall correctly, &foo with variants of foo returns a pointer to the > base. Correct. > If we have no base, and disable_implicit_base, what does &foo yield? It > should probably be a compilation error with some descriptive message undefined symbol foo, or whatever message we emit if you use a variable that doesn't exist. A function definition `bar` inside of `begin/end declare variant` is *not* a function `bar`. It is a variant of a base function that exists or that we assume to exist (=implicitly declare). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85878/new/ https://reviews.llvm.org/D85878 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits