This is an archive of the discontinued LLVM Phabricator instance.

[include-fixer] Simplify unittest code.
ClosedPublic

Authored by hokein on May 13 2016, 3:34 AM.

Details

Summary

The InMemorySymbolIndex only constructs hard-coded Class symbols from a string
map. The patch provide a flexable way in InMemorySymbolIndex to create a custom
SymbolInfo in the include-fixer unittest.

Diff Detail

Repository
rL LLVM

Event Timeline

hokein updated this revision to Diff 57154.May 13 2016, 3:34 AM
hokein updated this revision to Diff 57155.
hokein retitled this revision from to [include-fixer] Simplify unittest code..
hokein updated this object.

Fix a nit.

hokein updated this revision to Diff 57156.May 13 2016, 3:36 AM

Fix code style.

hokein set the repository for this revision to rL LLVM.
hokein added a subscriber: cfe-commits.
bkramer accepted this revision.May 13 2016, 3:45 AM
bkramer edited edge metadata.

What's a flexable (in the description)? Code LG.

This revision is now accepted and ready to land.May 13 2016, 3:45 AM
hokein updated this object.May 13 2016, 4:27 AM
hokein edited edge metadata.

What's a flexable (in the description)? Code LG.

I updated the description now.

So s/flexable/flexible/ and commit :)

hokein updated this revision to Diff 57193.May 13 2016, 8:18 AM
hokein updated this object.

Fix clang-include-fixer build.

This revision was automatically updated to reflect the committed changes.