[PATCH] D32263: Preprocessor: Suppress -Wnonportable-include-path for header maps

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 21 12:37:51 PDT 2017


dexonsmith updated this revision to Diff 96201.
dexonsmith added a comment.

Thanks for the review, Eli.

I've changed `IsModule` to be a required `bool*` parameter.  Setting the default to `nullptr` looked confusing at call sites.


https://reviews.llvm.org/D32263

Files:
  clang/include/clang/Lex/HeaderSearch.h
  clang/include/clang/Lex/Preprocessor.h
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Frontend/Rewrite/InclusionRewriter.cpp
  clang/lib/Lex/HeaderSearch.cpp
  clang/lib/Lex/PPDirectives.cpp
  clang/lib/Lex/PPMacroExpansion.cpp
  clang/lib/Lex/Pragma.cpp
  clang/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap
  clang/test/Preprocessor/Inputs/nonportable-hmaps/headers/foo/Foo.h
  clang/test/Preprocessor/nonportable-include-with-hmap.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32263.96201.patch
Type: text/x-patch
Size: 10683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170421/538b3244/attachment.bin>


More information about the cfe-commits mailing list