aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileCheck.cpp
diff options
context:
space:
mode:
authorJohan Vikstrom <jvikstrom@google.com>2019-08-08 13:10:30 +0000
committerJohan Vikstrom <jvikstrom@google.com>2019-08-08 13:10:30 +0000
commitd73d9947466f02a77b87c620eb237ac7b5d96ea3 (patch)
tree6fa72dd30e3cc7082507389392b13551631663aa /llvm/lib/Support/FileCheck.cpp
parente1e749d86a61b98564b5cc439d8f737fba9008c8 (diff)
downloadllvm-d73d9947466f02a77b87c620eb237ac7b5d96ea3.zip
llvm-d73d9947466f02a77b87c620eb237ac7b5d96ea3.tar.gz
llvm-d73d9947466f02a77b87c620eb237ac7b5d96ea3.tar.bz2
[clangd] Added semantic highlighting support for primitives.
Summary: Adds a new HighlightingKind "Primitive". Adds a special case for TypeLocs that have an underlying TypePtr that is are builtin types, adding them as primitives. The primary reason for this change is because otherwise typedefs that typedef primitives `typedef int A` would not get highlighted (so in the example `A` would not get any highlightings.) Reviewers: hokein, ilya-biryukov Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D65943 llvm-svn: 368291
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions