[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #16 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d3fe767c16e7c528e4fc71c8a68ac14b4573d880 commit r13-3887-gd3fe767c16e7c528e4fc71c8a68ac14b4573d880 Author: Jonathan Wakely

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-05-30 Thread bmburstein at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #15 from Baruch Burstein --- (In reply to Jonathan Wakely from comment #13) > (In reply to rsand...@gcc.gnu.org from comment #12) > > > I think the patch would need to wait for GCC 13 now though. > > Indeed. Now that GCC 13 is

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #14 from Jonathan Wakely --- (In reply to Florian Weimer from comment #11) > Clang does not appear to treat this pragma as a statement. Is this also the > MSVC behavior? Yes, I think so. I'll check that my patch is consistent.

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #13 from Jonathan Wakely --- (In reply to rsand...@gcc.gnu.org from comment #12) > Jeff said at the end of the thread that he wouldn't mind > if someone else approves it, so it's probably worth posting > again. OK, will do. I think

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-25 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-21 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Florian Weimer changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #11

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-17 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #9 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #7) > I would say that is a terrible design... Yes, I completely agree, but I don't see why GCC should be in the business of diagnosing other people's junk :-)

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #8 from Jonathan Wakely --- (In reply to Austin Morton from comment #5) > https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553182.html > > I sent a patch to do exactly that in 2020 and it was not accepted. Thanks. The

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #7 from Jakub Jelinek --- I would say that is a terrible design...

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #6 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #4) > Exactly. Seems clang doesn't bother with it and allows anything, but it is > unclear if that is the best thing to do. MSVC ignores any tokens after the

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-15 Thread austinpmorton at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #5 from Austin Morton --- (In reply to Jonathan Wakely from comment #3) > The docs raise some questions. > > They say that a #pragma region must be ended by a #pragma endregion. Should > the compiler check that and issue a

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Jonathan Wakely changed: What|Removed |Added Keywords||easyhack --- Comment #3 from Jonathan

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2020-08-27 Thread bmburstein at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Baruch Burstein changed: What|Removed |Added CC||bmburstein at gmail dot com ---

[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2018-04-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|