public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Austin Morton <austinpmorton@gmail.com>
To: David Malcolm <dmalcolm@redhat.com>
Cc: Jeff Law <law@redhat.com>, GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH v2] c: Silently ignore pragma region [PR85487]
Date: Fri, 13 Nov 2020 12:50:23 -0500	[thread overview]
Message-ID: <CAPWKHJTnHqcmaoWTrtoMbTc21v5H+eFWbDFp1xiZNMgAV5YocA@mail.gmail.com> (raw)
In-Reply-To: <7f56b383637c481da4cd9fb9b83714445907431b.camel@redhat.com>

> How much does this pragma get used "in the wild"?

A quick search on github for "#pragma region" comes back with 170k C++ results
and searching for "#pragma" comes back with 38M C++ results

Possibly not the best metric, but we can "conclude" roughly 0.45% of
open source C++
code files on github using any pragmas makes use of #pragma region.

https://github.com/search?l=C%2B%2B&q=%22%23pragma+region%22&type=Code
https://github.com/search?l=C%2B%2B&q=%22%23pragma%22&type=Code

  reply	other threads:[~2020-11-13 17:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-03  0:59 Austin Morton
2020-11-13  4:25 ` Jeff Law
2020-11-13 14:57   ` Austin Morton
2020-11-13 15:22     ` David Malcolm
2020-11-13 17:50       ` Austin Morton [this message]
2020-11-13 15:35     ` Jakub Jelinek
2020-11-13 17:37       ` Austin Morton
2020-11-13 23:29     ` Jeff Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPWKHJTnHqcmaoWTrtoMbTc21v5H+eFWbDFp1xiZNMgAV5YocA@mail.gmail.com \
    --to=austinpmorton@gmail.com \
    --cc=dmalcolm@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=law@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).