aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2020-12-18 18:39:20 +0100
committerSam McCall <sam.mccall@gmail.com>2020-12-19 00:52:55 +0100
commitb0615642f647bea1483659f1e14515a836015254 (patch)
tree8525a69b4d3a94debe753f70e455ed9c26198c76 /llvm/lib/FileCheck/FileCheck.cpp
parentadc55b5a5ae49f1fe3a04f7f79b1c08f508b4307 (diff)
downloadllvm-b0615642f647bea1483659f1e14515a836015254.zip
llvm-b0615642f647bea1483659f1e14515a836015254.tar.gz
llvm-b0615642f647bea1483659f1e14515a836015254.tar.bz2
[clangd] Make our printing policies for Hover more consistent, especially tags
Different cases were using a bunch of different variants of the printing policy. Each of these had something going for it, but the result was inconsistent. Goals: - single printing policy used (almost) everywhere - avoid unidiomatic tags like `class vector<class X>` - be informative and easy to understand For tags, the solution I wound up with is: we print only the outer tag and only in the simplest cases where this elaboration won't cause confusion. For example: - class X - enum Foo - vector<int> - X* This seems to strike a nice balance of providing plenty of info/context in common cases while never being confusing. Differential Revision: https://reviews.llvm.org/D93553
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions