smatch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Levon <levon@movementarian.org>
Subject: [PATCH 17/18] don't try to parse silenced functions
Date: Fri, 23 Nov 2018 13:00:37 +0000	[thread overview]
Message-ID: <E1gQCRX-00068s-Ag@movementarian.org> (raw)

Signed-off-by: John Levon <levon@movementarian.org>
---
 smatch_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smatch_flow.c b/smatch_flow.c
index ca36eaa0..85db248e 100644
--- a/smatch_flow.c
+++ b/smatch_flow.c
@@ -1062,7 +1062,7 @@ void __split_stmt(struct statement *stmt)
 	if (!__in_fake_assign)
 		__silence_warnings_for_stmt = false;
 
-	if (__bail_on_rest_of_function)
+	if (__bail_on_rest_of_function || is_silenced_function())
 		return;
 
 	if (out_of_memory() || taking_too_long()) {
-- 
2.14.1

                 reply	other threads:[~2018-11-24  1:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1gQCRX-00068s-Ag@movementarian.org \
    --to=levon@movementarian.org \
    /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).