This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] Tidy up new API guessLanguage()
ClosedPublic

Authored by benhamilton on Feb 21 2018, 3:34 PM.

Details

Summary

This fixes a few issues djasper@ brought up in his review of D43522.

Test Plan:

make -j12 FormatTests && ./tools/clang/unittests/Format/FormatTests

Diff Detail

Repository
rL LLVM

Event Timeline

benhamilton created this revision.Feb 21 2018, 3:34 PM
djasper accepted this revision.Feb 21 2018, 3:38 PM

Thank you for doing these follow up changes!

This revision is now accepted and ready to land.Feb 21 2018, 3:38 PM
This revision was automatically updated to reflect the committed changes.