This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix an assertion failure of "SLocEntry::getExpansion()" when IncludeInserter handles macro header file.
ClosedPublic

Authored by hokein on Mar 2 2016, 5:54 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein updated this revision to Diff 49611.Mar 2 2016, 5:54 AM
hokein retitled this revision from to [clang-tidy] Fix an assertion failure of "SLocEntry::getExpansion()" when IncludeInserter handles macro header file..
hokein updated this object.
hokein updated this object.Mar 2 2016, 5:55 AM
hokein added a reviewer: alexfh.
hokein set the repository for this revision to rL LLVM.
hokein updated this object.
hokein added a subscriber: cfe-commits.
alexfh accepted this revision.Mar 2 2016, 6:10 AM
alexfh edited edge metadata.

Looks good! Thank you for finding and fixing this!

clang-tidy/utils/IncludeInserter.cpp
23 ↗(On Diff #49611)

clang-format, please.

This revision is now accepted and ready to land.Mar 2 2016, 6:10 AM
This revision was automatically updated to reflect the committed changes.