[PATCH] D107095: Implement #pragma clang header_unsafe
Chris Bieneman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 10 08:29:01 PDT 2021
beanz updated this revision to Diff 365487.
beanz added a comment.
Updated docs, added header-unsafe-macro diag group, and added test case to verify that the -Wpedantic-macros warnings don't trip on eachother.
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/pedantic-macro-interplay.h
clang/test/Lexer/Inputs/unsafe-macro-2.h
clang/test/Lexer/Inputs/unsafe-macro.h
clang/test/Lexer/pedantic-macro-interplay.c
clang/test/Lexer/unsafe-macro.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107095.365487.patch
Type: text/x-patch
Size: 19253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210810/340170ed/attachment-0001.bin>
More information about the cfe-commits
mailing list