summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/cpp11-migrate/Core/IncludeExcludeInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/cpp11-migrate/Core/IncludeExcludeInfo.cpp')
-rw-r--r--clang-tools-extra/cpp11-migrate/Core/IncludeExcludeInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/cpp11-migrate/Core/IncludeExcludeInfo.cpp b/clang-tools-extra/cpp11-migrate/Core/IncludeExcludeInfo.cpp
index d6bc333ca20..e3f07c5f0d3 100644
--- a/clang-tools-extra/cpp11-migrate/Core/IncludeExcludeInfo.cpp
+++ b/clang-tools-extra/cpp11-migrate/Core/IncludeExcludeInfo.cpp
@@ -151,6 +151,7 @@ bool IncludeExcludeInfo::isFileIncluded(StringRef FilePath) const {
I != E; ++I)
if ((InIncludeList = fileHasPathPrefix(FilePath, *I)))
break;
+
// If file is not in the list of included paths then it is not necessary
// to check the excluded path list.
if (!InIncludeList)
OpenPOWER on IntegriCloud