This is an archive of the discontinued LLVM Phabricator instance.

[clangd] NFC: Simplify code, enforce LLVM Coding Standards
ClosedPublic

Authored by kbobyrev on Sep 25 2018, 6:47 AM.

Details

Summary

For consistency, functional-style code pieces are replaced with their simple counterparts to improve readability.

Also, file headers are fixed to comply with LLVM Coding Standards.

static member of anonymous namespace is not marked static anymore, because it is redundant.

Diff Detail

Repository
rL LLVM

Event Timeline

kbobyrev created this revision.Sep 25 2018, 6:47 AM
sammccall accepted this revision.Sep 25 2018, 6:50 AM
This revision is now accepted and ready to land.Sep 25 2018, 6:50 AM
This revision was automatically updated to reflect the committed changes.