This is an archive of the discontinued LLVM Phabricator instance.

[clangd] NFC: Cleanup Dex Iterator comments and simplify tests
ClosedPublic

Authored by kbobyrev on Aug 20 2018, 1:19 AM.

Details

Summary

Proposed changes:

  • Cleanup comments in clangd/index/dex/Iterator.h: Vim's gq formatting added redundant spaces instead of newlines in few places
  • Few comments in OrIterator are wrong
  • Use EXPECT_TRUE(Condition) instead of EXPECT_THAT(Condition, true) (same with EXPECT_FALSE)
  • Don't expose dump() method to the public by misplacing private:

This patch does not affect functionality.

Diff Detail

Repository
rL LLVM

Event Timeline

kbobyrev created this revision.Aug 20 2018, 1:19 AM
ioeric accepted this revision.Aug 20 2018, 1:27 AM

lgtm

This revision is now accepted and ready to land.Aug 20 2018, 1:27 AM
kbobyrev updated this revision to Diff 161443.Aug 20 2018, 2:00 AM
kbobyrev edited the summary of this revision. (Show Details)

Something I initially forgot: fix misplaced private: so that dump() stays private as it was in the interface.

This revision was automatically updated to reflect the committed changes.