[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:46:10 PST 2018

steven_wu added a comment.

In https://reviews.llvm.org/D41780#968664, @efriedma wrote:

> If you move all the #pragma STDC handlers from the lexer to the parser, you might be able to avoid adding an explicit STDC handler in PrintPreprocessedOutput.cpp.

If it is safe to do that, I can change it. I am not sure if the other STDC pragmas would affect preprocessor output in any other way (which seems not).

  rC Clang


More information about the cfe-commits mailing list