diff options
-rw-r--r-- | clang-tools-extra/modularize/PreprocessorTracker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/modularize/PreprocessorTracker.cpp b/clang-tools-extra/modularize/PreprocessorTracker.cpp index 894f3c0f771..8847da90a12 100644 --- a/clang-tools-extra/modularize/PreprocessorTracker.cpp +++ b/clang-tools-extra/modularize/PreprocessorTracker.cpp @@ -901,7 +901,7 @@ public: int DirectiveColumn, llvm::StringRef TargetPath) { // If it's not a header in the header list, ignore it with respect to // the check. - if (BlockCheckHeaderListOnly && !isHeaderListHeader(DirectivePath)) + if (BlockCheckHeaderListOnly && !isHeaderListHeader(TargetPath)) return; HeaderHandle CurrentHeaderHandle = findHeaderHandle(DirectivePath); StringHandle IncludeHeaderHandle = addString(TargetPath); |