[PATCH] D125178: Warn if using `elifdef` & `elifndef` in not C2x mode

Ken Matsui via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 06:52:01 PDT 2022


ken-matsui updated this revision to Diff 428358.
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/Preprocessor/ext-c2x-pp-directive.c
  clang/test/Preprocessor/ext-cpp2b-pp-directive.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125178.428358.patch
Type: text/x-patch
Size: 5916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220510/608f5b6c/attachment.bin>


More information about the cfe-commits mailing list