[PATCH] D124638: [clang] Track how headers get included generally during lookup time

Cyndy Ishida via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 12:08:32 PDT 2022


cishida added inline comments.


================
Comment at: clang/lib/Lex/HeaderSearch.cpp:1036
+
+    // This file is a system header or C++ unfriendly if the dir is.
     HFI.DirInfo = CurDir->getDirCharacteristic();
----------------
tschuett wrote:
> Why did the comment move?
It refers to setting the `DirInfo` field, so I moved it to keep the comment near that assignment.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124638



More information about the cfe-commits mailing list