RESOLVED FIXED 38618
Ban the single letter 'l' as a variable name
https://bugs.webkit.org/show_bug.cgi?id=38618
Summary Ban the single letter 'l' as a variable name
James Robinson
Reported 2010-05-05 17:52:35 PDT
Ban the single letter 'l' as a variable name
Attachments
Patch (12.35 KB, patch)
2010-05-05 17:58 PDT, James Robinson
no flags
James Robinson
Comment 1 2010-05-05 17:58:47 PDT
James Robinson
Comment 2 2010-05-05 17:59:58 PDT
This warning trips 71 times in WebCore/ as of r58839. I can either clean these up proactively with a set of follow-up patches or just let them get cleaned up organically. Here's a list: WebCore/bridge/qt/qt_runtime.cpp:1780: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSComputedStyleDeclaration.cpp:347: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:2824: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:2950: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:3240: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:3872: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:4953: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:5137: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:5151: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:5207: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:5221: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:5532: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:5556: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/css/CSSStyleSelector.cpp:5744: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/dom/Document.cpp:2694: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/dom/Document.cpp:4466: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/dom/QualifiedName.cpp:54: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/dom/QualifiedName.h:117: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/dom/StyledElement.cpp:306: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/html/HTMLFormCollection.cpp:81: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/html/HTMLParser.cpp:463: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/html/HTMLParser.cpp:507: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/efl/RenderThemeEfl.cpp:499: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/Color.h:66: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/Color.h:101: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/FloatRect.cpp:65: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/FloatRect.cpp:94: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/FloatRect.cpp:115: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/IntRect.cpp:59: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/IntRect.cpp:88: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/cg/IntRectCG.cpp:42: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/transforms/TransformationMatrix.cpp:266: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/graphics/wince/GraphicsContextWince.cpp:130: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/platform/image-decoders/gif/GIFImageReader.cpp:410: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderBlock.cpp:4775: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderBlock.cpp:4824: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderBox.cpp:423: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderInline.cpp:1010: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderLayer.cpp:481: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderLayer.cpp:492: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderLayer.cpp:833: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderLayer.cpp:835: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderLayer.cpp:862: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderLayer.cpp:3108: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderObject.cpp:1582: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderScrollbarPart.cpp:80: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderText.cpp:1345: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderThemeChromiumSkia.cpp:292: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderThemeChromiumSkia.cpp:313: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderTreeAsText.cpp:456: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderTreeAsText.cpp:470: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderTreeAsText.cpp:523: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/RenderTreeAsText.cpp:636: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/FillLayer.h:95: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/FillLayer.h:96: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/FillLayer.h:104: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/NinePieceImage.h:61: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:745: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:776: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:777: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:779: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:824: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:890: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:891: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:892: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:964: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:1004: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:1005: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:1030: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/RenderStyle.h:1031: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4] WebCore/rendering/style/StyleReflection.h:53: l is incorrectly named. Don't use the single letter 'l' as an identifier name. [readability/naming] [4]
Adam Barth
Comment 3 2010-05-05 18:01:56 PDT
Comment on attachment 55185 [details] Patch Success!
James Robinson
Comment 4 2010-05-05 18:12:24 PDT
Comment on attachment 55185 [details] Patch Clearing flags on attachment: 55185 Committed r58852: <http://trac.webkit.org/changeset/58852>
James Robinson
Comment 5 2010-05-05 18:12:29 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.