[PATCH] D102923: [clang][lex] Remark on search path usage

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 12 02:03:13 PDT 2021


jansvoboda11 added a comment.

Thanks for the review, I handled the header map case and added tests. I'll commit once the CI passes.



================
Comment at: clang/lib/Lex/HeaderSearch.cpp:473
+  // The case where the target file **does not exist** is handled here:
+  HS.noteLookupUsage(*HS.searchDirIdx(*this), IncludeLoc);
   return None;
----------------
Note: Here's the header map special case for when a file matched but does not exist.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102923



More information about the cfe-commits mailing list