[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
Thu May 12 05:23:35 PDT 2022


ken-matsui updated this revision to Diff 428910.
ken-matsui added a comment.

Fix the failed test


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125178/new/

https://reviews.llvm.org/D125178

Files:
  clang/docs/ReleaseNotes.rst
  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-pp-directive.c
  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.428910.patch
Type: text/x-patch
Size: 16078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220512/1c1569bb/attachment-0001.bin>


More information about the cfe-commits mailing list