[PATCH] D41780: Preserve unknown STDC pragma through preprocessor

Steven Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 5 11:17:33 PST 2018


steven_wu created this revision.
steven_wu added reviewers: efriedma, rsmith, arphaman.

should keep the unknown STDC pragma through preprocessor and we also
should not emit warning for unknown STDC pragma during preprocessor.

rdar://problem/35724351


Repository:
  rC Clang

https://reviews.llvm.org/D41780

Files:
  include/clang/Basic/DiagnosticLexKinds.td
  include/clang/Basic/DiagnosticParseKinds.td
  include/clang/Parse/Parser.h
  lib/Frontend/PrintPreprocessedOutput.cpp
  lib/Lex/Pragma.cpp
  lib/Parse/ParsePragma.cpp
  test/Preprocessor/pragma_unknown.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41780.128775.patch
Type: text/x-patch
Size: 7418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180105/07a354d5/attachment.bin>


More information about the cfe-commits mailing list