<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>92491</bug_id>
          
          <creation_ts>2012-07-27 04:51:48 -0700</creation_ts>
          <short_desc>Style checker is not strict enough in detecting of primary header for a .cpp file</short_desc>
          <delta_ts>2012-07-30 05:11:52 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Pozdnyakov">mikhail.pozdnyakov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>680452</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Pozdnyakov">mikhail.pozdnyakov</who>
    <bug_when>2012-07-27 04:51:48 -0700</bug_when>
    <thetext>Style checker is not strict enough in detecting of primary header for a .cpp file.
This causes following problem: if a .cpp file does not have primary header
but includes another header file having the name same as a substring of this 
.cpp file name, the following message is issued:
&quot; Found header this file implements after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted. &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>680575</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Pozdnyakov">mikhail.pozdnyakov</who>
    <bug_when>2012-07-27 06:51:27 -0700</bug_when>
    <thetext>Little example:
File ewk_view_loader_client.cpp does not have primary header.
Adding &apos;#include &quot;ewk_view.h&quot; &apos; causes an error message 
mentioned in previous comment because ewk_view.h is erroneously treated as 
a primary header.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>