diff options
author | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2015-02-13 23:32:08 +0000 |
---|---|---|
committer | John Thompson <John.Thompson.JTSoftware@gmail.com> | 2015-02-13 23:32:08 +0000 |
commit | 9ea81b00410b8e5dea6ac9a57fc8f38752b5db12 (patch) | |
tree | 49c2ae3e88f3f990b96db3d08878f52cbfe0c4cf /clang-tools-extra/modularize/PreprocessorTracker.cpp | |
parent | c980fa92ebac26a059e0d157362e82ae2f0c7d3a (diff) | |
download | bcm5719-llvm-9ea81b00410b8e5dea6ac9a57fc8f38752b5db12.tar.gz bcm5719-llvm-9ea81b00410b8e5dea6ac9a57fc8f38752b5db12.zip |
Fix broken logic for include in block check.
llvm-svn: 229187
Diffstat (limited to 'clang-tools-extra/modularize/PreprocessorTracker.cpp')
-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); |