[PATCH] D80751: [clang][diagnostics] Add '-Wundef-prefix' warning option

Zixu Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 9 12:07:34 PDT 2020


zixuw updated this revision to Diff 269628.
zixuw added a comment.

Update test case for `#pragma clang diagnostic`
Update test case to verify that the state of `-Wundef` can still be modified using `#pragma clang diagnostic`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80751

Files:
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticLexKinds.td
  clang/include/clang/Basic/DiagnosticOptions.h
  clang/include/clang/Driver/Options.td
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Lex/PPExpressions.cpp
  clang/test/Preprocessor/warn-macro-undef-prefix.c
  clang/test/Preprocessor/warn-macro-undef.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80751.269628.patch
Type: text/x-patch
Size: 6651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200609/e8391b5a/attachment.bin>


More information about the cfe-commits mailing list