[cfe-users] does clang support option like MSVC's /Zc:forScope-

Guofeng Zhang via cfe-users cfe-users at lists.llvm.org
Thu Oct 31 23:35:41 PDT 2019


In early versions of C++, the scope of a variable defined in a for loop
header extended to the end of the block containing the loop.

Is there way for clang to compile this old source?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20191101/de1e17a2/attachment.html>

More information about the cfe-users mailing list