Commit 99647b89 authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

C++: Add clarifying comment about local include handling



Change-Id: I96486983460bb72dc7b7fa993863b2938e99a8b4
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 5bca241a
......@@ -227,6 +227,8 @@ QString CppPreprocessor::resolveFile_helper(const QString &fileName, IncludeType
QString path = cleanPath(currentFileInfo.absolutePath()) + fileName;
if (checkFile(path))
return path;
// Fall through! "16.2 Source file inclusion" from the standard states to continue
// searching as if this would be a global include.
}
foreach (const QString &includePath, m_includePaths) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment