File src/IncludeFinderAction.cpp changed (mode: 100644) (index 9162045..7c02124) |
... |
... |
IncludeFinder::diagnoseAndReport() |
159 |
159 |
|
|
160 |
160 |
typedef Includes::iterator It; |
typedef Includes::iterator It; |
161 |
161 |
for (It it = includes.begin(); it != includes.end(); ++it) { |
for (It it = includes.begin(); it != includes.end(); ++it) { |
162 |
|
const std::string &hdrName = it->second; |
|
|
162 |
|
const std::string &hdrPath = it->second; |
|
163 |
|
const std::string &hdrName = path_utils::extractTail(hdrPath); |
163 |
164 |
|
|
164 |
165 |
const std::pair<std::string, std::string> nameParts = |
const std::pair<std::string, std::string> nameParts = |
165 |
166 |
path_utils::crackName(hdrName); |
path_utils::crackName(hdrName); |
|
... |
... |
IncludeFinder::diagnoseAndReport() |
175 |
176 |
std::cout << name |
std::cout << name |
176 |
177 |
<< ':' |
<< ':' |
177 |
178 |
<< "ambiguous header name detection: " |
<< "ambiguous header name detection: " |
178 |
|
<< hdrName |
|
|
179 |
|
<< hdrPath |
179 |
180 |
<< std::endl; |
<< std::endl; |
180 |
181 |
} |
} |
181 |
182 |
} else { |
} else { |