[Webkit-unassigned] [Bug 31618] New: "using" statement coding style guidelines need clarification
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 18 00:57:47 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31618
Summary: "using" statement coding style guidelines need
clarification
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: https://lists.webkit.org/pipermail/webkit-dev/2009-Nov
ember/010518.html
OS/Version: All
Status: UNCONFIRMED
Severity: Minor
Priority: P4
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: chris.jerdonek at gmail.com
I recently learned from Darin Adler on the webkit-dev list that there are a few
more "unwritten rules" regarding "using" statements in header files. Namely--
(1) "using namespace" directives are unacceptable only if in the global scope
(the guidelines say they are always unacceptable).
(2) The rules should probably apply not just to "using namespace" directives
but also to "using" declarations.
(3) Statements of the form "using WTF::..." are exceptions.
Also, the coding style page does not validate.
A patch is forthcoming.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list