tschuett added a comment. In D133289#4096588 <https://reviews.llvm.org/D133289#4096588>, @aaron.ballman wrote:
> In D133289#4037180 <https://reviews.llvm.org/D133289#4037180>, @tschuett > wrote: > >> It surprised me that there are no type inference messages? The type of this >> auto is double. I only found warnings of misuse of auto and codegen tests. > > Can you give a code example of what you expected to see a diagnostic for but > aren't getting one? This is probably only for testing and not for Clang users: auto Float = 3.0; // note that Float is a float Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133289/new/ https://reviews.llvm.org/D133289 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits