diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-07-01 10:30:13 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-07-02 15:17:43 +0200 |
commit | 99647b89e57e3d2ba48d26b8ae6f607d56b91477 (patch) | |
tree | fb5d88014243326b33a3ace774dc4c463358b900 /src/plugins/cpptools/cpppreprocessor.cpp | |
parent | 5bca241afb51e89688b88e0dfb6580a5cf23372e (diff) | |
download | qt-creator-99647b89e57e3d2ba48d26b8ae6f607d56b91477.tar.gz |
C++: Add clarifying comment about local include handling
Change-Id: I96486983460bb72dc7b7fa993863b2938e99a8b4
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpppreprocessor.cpp')
-rw-r--r-- | src/plugins/cpptools/cpppreprocessor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cpppreprocessor.cpp b/src/plugins/cpptools/cpppreprocessor.cpp index 825b29ce8c..e16553699a 100644 --- a/src/plugins/cpptools/cpppreprocessor.cpp +++ b/src/plugins/cpptools/cpppreprocessor.cpp @@ -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) { |