Powered by Linux
[PATCH 17/18] don't try to parse silenced functions — Semantic Matching Tool

[PATCH 17/18] don't try to parse silenced functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: John Levon <levon@xxxxxxxxxxxxxxxxx>
---
 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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux