Test? On Fri, Feb 13, 2015 at 3:32 PM, John Thompson < [email protected]> wrote:
> Author: jtsoftware > Date: Fri Feb 13 17:32:08 2015 > New Revision: 229187 > > URL: http://llvm.org/viewvc/llvm-project?rev=229187&view=rev > Log: > Fix broken logic for include in block check. > > Modified: > clang-tools-extra/trunk/modularize/PreprocessorTracker.cpp > > Modified: clang-tools-extra/trunk/modularize/PreprocessorTracker.cpp > URL: > http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/modularize/PreprocessorTracker.cpp?rev=229187&r1=229186&r2=229187&view=diff > > ============================================================================== > --- clang-tools-extra/trunk/modularize/PreprocessorTracker.cpp (original) > +++ clang-tools-extra/trunk/modularize/PreprocessorTracker.cpp Fri Feb 13 > 17:32:08 2015 > @@ -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); > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
