[PATCH] D107095: Implement #pragma clang header_unsafe
Chris Bieneman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 2 12:52:11 PDT 2021
beanz updated this revision to Diff 363550.
beanz added a comment.
Updates based on post-commit feedback from @lattner on D106732 <https://reviews.llvm.org/D106732>.
This should inline the determination for emitting warnings, but keep the actual
warning emission in a call.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107095/new/
https://reviews.llvm.org/D107095
Files:
clang/docs/LanguageExtensions.rst
clang/include/clang/Basic/DiagnosticGroups.td
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/include/clang/Basic/IdentifierTable.h
clang/include/clang/Lex/Preprocessor.h
clang/lib/Lex/Pragma.cpp
clang/lib/Lex/Preprocessor.cpp
clang/test/Lexer/Inputs/unsafe-macro-2.h
clang/test/Lexer/Inputs/unsafe-macro.h
clang/test/Lexer/unsafe-macro.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107095.363550.patch
Type: text/x-patch
Size: 15396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210802/65cdc7ca/attachment-0001.bin>
More information about the cfe-commits
mailing list