[PATCH] D106732: Support macro deprecation #pragma clang deprecated

Chris Bieneman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 26 15:27:07 PDT 2021


beanz updated this revision to Diff 361831.
beanz added a comment.

Fixing handling of #ifdef, #ifndef, and defined()

All tests pass this time :)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106732

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/PPDirectives.cpp
  clang/lib/Lex/PPExpressions.cpp
  clang/lib/Lex/PPMacroExpansion.cpp
  clang/lib/Lex/Pragma.cpp
  clang/test/Lexer/deprecate-macro.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106732.361831.patch
Type: text/x-patch
Size: 12113 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210726/4293f706/attachment.bin>


More information about the cfe-commits mailing list