Commit 01f26959025b88a85aac76094812c29337ac793e
Print warning for unknown header extensions
Author: xaizek
Author date (UTC): 2014-04-09 20:42
Committer name: xaizek
Committer date (UTC): 2014-04-09 20:42
Parent(s): dff645f34fbfb05ca3b45914e6e0abd80115c64b
Signing key:
Tree: c4f55df0c016a119eb5bf5039db2bd2d1f2977e7
File src/IncludeFinderAction.cpp changed (mode: 100644) (index e7554bd..9162045) |
... |
... |
IncludeFinder::diagnoseAndReport() |
178 |
178 |
<< hdrName |
<< hdrName |
179 |
179 |
<< std::endl; |
<< std::endl; |
180 |
180 |
} |
} |
|
181 |
|
} else { |
|
182 |
|
std::cout << name |
|
183 |
|
<< ':' |
|
184 |
|
<< "unexpected extension: " |
|
185 |
|
<< nameParts.second |
|
186 |
|
<< std::endl; |
181 |
187 |
} |
} |
182 |
188 |
} |
} |
183 |
189 |
} |
} |
184 |
190 |
|
|
185 |
|
|
|
186 |
191 |
if (!selfInclude.second.empty() && !includes.empty()) { |
if (!selfInclude.second.empty() && !includes.empty()) { |
187 |
192 |
if (includes[0] != selfInclude) { |
if (includes[0] != selfInclude) { |
188 |
193 |
std::cout << name |
std::cout << name |
|
... |
... |
IncludeFinder::diagnoseAndReport() |
193 |
198 |
<< std::endl; |
<< std::endl; |
194 |
199 |
} |
} |
195 |
200 |
} |
} |
196 |
|
|
|
197 |
201 |
} |
} |
198 |
202 |
|
|
199 |
203 |
inline void |
inline void |