[all-commits] [llvm/llvm-project] 6eaf46: Revert "Revert "[clang][pp] adds '#pragma include_...

Christopher Di Bella via All-commits all-commits at lists.llvm.org
Thu Jul 29 19:33:08 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eaf46beb4628abf8f5b09a333bcd44d2fb2aff9
      https://github.com/llvm/llvm-project/commit/6eaf46beb4628abf8f5b09a333bcd44d2fb2aff9
  Author: Christopher Di Bella <cjdb at google.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Lex/PreprocessorLexer.h
    M clang/lib/Lex/Lexer.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/PPLexerChange.cpp
    M clang/lib/Lex/Pragma.cpp
    A clang/test/PCH/ms-pch-macro-include_instead-regression.c
    A clang/test/Preprocessor/Inputs/include_instead/bad-syntax.h
    A clang/test/Preprocessor/Inputs/include_instead/file-not-found.h
    A clang/test/Preprocessor/Inputs/include_instead/non-system-header.h
    A clang/test/Preprocessor/Inputs/include_instead/private-x.h
    A clang/test/Preprocessor/Inputs/include_instead/private1.h
    A clang/test/Preprocessor/Inputs/include_instead/private2.h
    A clang/test/Preprocessor/Inputs/include_instead/private3.h
    A clang/test/Preprocessor/Inputs/include_instead/public-after.h
    A clang/test/Preprocessor/Inputs/include_instead/public-before.h
    A clang/test/Preprocessor/Inputs/include_instead/public-empty.h
    A clang/test/Preprocessor/include_instead.cpp
    A clang/test/Preprocessor/include_instead_file_not_found.cpp

  Log Message:
  -----------
  Revert "Revert "[clang][pp] adds '#pragma include_instead'""

Includes regression test for problem noted by @hans.
This reverts commit 973de7185606a21fd5e9d5e8c014fbf898c0e72f.

Differential Revision: https://reviews.llvm.org/D106898

(cherry picked from commit 087195419719e908394081b4cc6f365170b9882c)




More information about the All-commits mailing list