[PATCH] D125178: Warn if using `elifdef` & `elifndef` in not C2x & C++2b mode
Ken Matsui via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 11 05:42:17 PDT 2022
ken-matsui updated this revision to Diff 428636.
ken-matsui added a comment.
Update the code as reviewed
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125178/new/
https://reviews.llvm.org/D125178
Files:
clang/include/clang/Basic/DiagnosticLexKinds.td
clang/lib/Lex/PPDirectives.cpp
clang/test/Lexer/Inputs/unsafe-macro-2.h
clang/test/Lexer/deprecate-macro.c
clang/test/Preprocessor/elifdef.c
clang/test/Preprocessor/ext-c2x-pp-directive.c
clang/test/Preprocessor/ext-cpp2b-pp-directive.cpp
clang/test/Preprocessor/if_warning.c
clang/test/Preprocessor/ifdef-recover.c
clang/test/Preprocessor/macro_misc.c
clang/test/Preprocessor/macro_vaopt_check.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125178.428636.patch
Type: text/x-patch
Size: 15449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220511/3444f98e/attachment.bin>
More information about the cfe-commits
mailing list