[all-commits] [llvm/llvm-project] e9a902: Revert "Revert "Revert "[clang][pp] adds '#pragma ...
Christopher Di Bella via All-commits
all-commits at lists.llvm.org
Fri Apr 22 09:37:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e9a902c7f755a378e197c4b246a32859c0ee162d
https://github.com/llvm/llvm-project/commit/e9a902c7f755a378e197c4b246a32859c0ee162d
Author: Christopher Di Bella <cjdb at google.com>
Date: 2022-04-22 (Fri, 22 Apr 2022)
Changed paths:
M clang-tools-extra/clangd/Selection.cpp
M clang-tools-extra/pseudo/lib/Lex.cpp
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/SourceManager.h
M clang/include/clang/Lex/HeaderSearch.h
M clang/include/clang/Lex/Lexer.h
M clang/include/clang/Lex/Preprocessor.h
M clang/include/clang/Lex/PreprocessorLexer.h
M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
M clang/lib/Lex/Lexer.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPLexerChange.cpp
M clang/lib/Lex/Pragma.cpp
R clang/test/PCH/ms-pch-macro-include_instead-regression.c
R clang/test/Preprocessor/Inputs/include_instead/bad-syntax.h
R clang/test/Preprocessor/Inputs/include_instead/file-not-found.h
R clang/test/Preprocessor/Inputs/include_instead/non-system-header.h
R clang/test/Preprocessor/Inputs/include_instead/private-x.h
R clang/test/Preprocessor/Inputs/include_instead/private1.h
R clang/test/Preprocessor/Inputs/include_instead/private2.h
R clang/test/Preprocessor/Inputs/include_instead/private3.h
R clang/test/Preprocessor/Inputs/include_instead/public-after.h
R clang/test/Preprocessor/Inputs/include_instead/public-before.h
R clang/test/Preprocessor/Inputs/include_instead/public-empty.h
R clang/test/Preprocessor/include_instead.cpp
R clang/test/Preprocessor/include_instead_file_not_found.cpp
Log Message:
-----------
Revert "Revert "Revert "[clang][pp] adds '#pragma include_instead'"""
> Includes regression test for problem noted by @hans.
> is reverts commit 973de71.
>
> Differential Revision: https://reviews.llvm.org/D106898
Feature implemented as-is is fairly expensive and hasn't been used by
libc++. A potential reimplementation is possible if libc++ become
interested in this feature again.
Differential Revision: https://reviews.llvm.org/D123885
More information about the All-commits
mailing list