[PATCH] D42248: [LangOpts] Add a LangOpt to represent "#pragma region" support.

Matt Davis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 10:56:07 PST 2018

mattd added a comment.

In https://reviews.llvm.org/D42248#980541, @majnemer wrote:

> Why not always support the pragma regardless of the compiler mode? Our "support" for it just ignores it anyway...

Thanks for the reply @majnemer.

I am not opposed to that idea.  My change just operates similar to the existing behavior.  The only reservation I had against not always accepting the pragma is that it might mislead devs who are not using PS4/VS based environments.


More information about the cfe-commits mailing list