Bug 118718 - Don't warn about NULL usage in GTK functions even when a functional call spans multiple lines
Summary: Don't warn about NULL usage in GTK functions even when a functional call span...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 00:38 PDT by Kwang Yul Seo
Modified: 2013-07-16 00:40 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kwang Yul Seo 2013-07-16 00:38:43 PDT
Bug 32858, 39372, 70498, 43090, 51758 and 77890 add exceptions to the null check rule of check-webkit-style so that check-webkit-style won't warn about NULL usage in some GTK functions such as g_*() and gst_().

However, the implementation of the null check in check-webkit-style only matches one line at a time so that it fails to match if a function spans multiple lines. For example, check-webkit-style emits a style error if g_object_set spans multiple lines as in https://bugs.webkit.org/show_bug.cgi?id=118657#c20