[PATCH] D105439: [clang] protects users from relying on libc++ detail headers

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 5 10:16:23 PDT 2021


lebedev.ri added a comment.

Why not solve this in the headers themselves?
Just `#error` in implementation header if some macro isn't defined, and define said macro in parent header before including implementation detail headers?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105439



More information about the cfe-commits mailing list