HomePhabricator

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

Description

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

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.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D52466

Details

Committed
omtcyfzSep 25 2018, 6:58 AM
Reviewer
sammccall
Differential Revision
D52466: [clangd] NFC: Simplify code, enforce LLVM Coding Standards
Parents
rL342973: [AST] Squeeze some bits in LinkageComputer::QueryType
Branches
Unknown
Tags
Unknown