[cfe-commits] [PATCH] Add #pragma region for MSVC mode
pravic
ehysta at gmail.com
Mon Nov 5 12:43:03 PST 2012
Sorry for spamming, mailer cuts my comments...
> What about an 'endregion' without a matching 'region'? Does MSVC
> ignore it silently?
It is editor-visible feature. Compiler ignores it completely, even if
regions do not matched with 'endregion'.
Nesting supported.
So, we can implement 'endregion' matching just for diagnostic purposes.
http://llvm-reviews.chandlerc.com/D65
More information about the cfe-commits
mailing list