[libcxx-commits] [PATCH] D119561: [libc++] Replace `#include ""` with `<>` in libcxx/src/. NFCI

Eric Fiselier via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 11 11:45:13 PST 2022


EricWF requested changes to this revision.
EricWF added a comment.
This revision now requires changes to proceed.

Why would we do this?

> Our best guess is that the two syntaxes should have exactly equivalent

effects,

They don't. You can use `clang++ -E -x c++ - -v < /dev/null` to view the search path order for the various include types.

The point of writing includes in the source directory using quotes is to ensure we pick up our local headers, and not something installed along a system path.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119561



More information about the libcxx-commits mailing list