[PATCH] D136533: [clang] Fix missing diagnostic of declaration use when accessing TypeDecls through typename access

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 05:07:45 PDT 2022


mizvekov added a subscriber: ldionne.
mizvekov added a comment.

In D136533#3884364 <https://reviews.llvm.org/D136533#3884364>, @glandium wrote:

> (And specifically, FuzzerFork.cpp doesn't use any of those declared things. Its only sin is to `#include <fstream>`, which happens to have /some/ methods (std::filesystem-related) only available on macos 10.15+.)
>
> Edit: Corollary: anything that `#include <fstream>`, builds with C++17 or more, and wants to support macos < 10.15, is broken by this patch.

Nonetheless, it seems libc++ uses a deprecated declaration from it's own headers.

@ldionne FYI, we may have a libc++ issue here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136533/new/

https://reviews.llvm.org/D136533



More information about the cfe-commits mailing list