[PATCH] D106394: [clang][pp] adds '#pragma include_instead'

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 20 16:31:56 PDT 2021


cjdb updated this revision to Diff 360317.
cjdb marked an inline comment as done.
cjdb added a comment.

- renames test files so they better describe intention
- replaces `SmallVector` with `SetVector`
- replaces `std::accumulate` with `llvm::interleave`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106394

Files:
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticLexKinds.td
  clang/include/clang/Lex/HeaderSearch.h
  clang/include/clang/Lex/Preprocessor.h
  clang/include/clang/Lex/PreprocessorLexer.h
  clang/lib/Lex/PPDirectives.cpp
  clang/lib/Lex/PPLexerChange.cpp
  clang/lib/Lex/Pragma.cpp
  clang/test/Preprocessor/Inputs/include_instead/include_instead-bad-syntax.h
  clang/test/Preprocessor/Inputs/include_instead/include_instead-non-system-header.h
  clang/test/Preprocessor/Inputs/include_instead/include_instead-warns-one-alternative.h
  clang/test/Preprocessor/Inputs/include_instead/include_instead-warns-three-alternatives.h
  clang/test/Preprocessor/Inputs/include_instead/include_instead-warns-two-alternatives.h
  clang/test/Preprocessor/Inputs/include_instead/public1.h
  clang/test/Preprocessor/Inputs/include_instead/public2.h
  clang/test/Preprocessor/Inputs/include_instead/public3.h
  clang/test/Preprocessor/include_instead.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106394.360317.patch
Type: text/x-patch
Size: 19125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210720/5a004e00/attachment-0001.bin>


More information about the cfe-commits mailing list