[PATCH] D42577: [Lexer] Support adding working directory to relative search dir for #include shortening in HeaderSearch.

Benjamin Kramer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 29 05:17:19 PST 2018


bkramer accepted this revision.
bkramer added inline comments.
This revision is now accepted and ready to land.


================
Comment at: include/clang/Lex/HeaderSearch.h:708
+  ///
+  /// \param WorkingDir If non-empty, this will be prepend to search directory
+  /// paths that are relative.
----------------
prepended


================
Comment at: lib/Lex/HeaderSearch.cpp:1584
+  // the most appropriate one for this analysis (and that it's spelled the
+  // same
   // way as the corresponding header search path).
----------------
Reflow comment.


Repository:
  rC Clang

https://reviews.llvm.org/D42577





More information about the cfe-commits mailing list