forked from OSchip/llvm-project
Fix broken logic for include in block check.
llvm-svn: 229187
This commit is contained in:
parent
c980fa92eb
commit
9ea81b0041
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue