diff options
author | lh123 <1585086582@qq.com> | 2021-12-08 12:31:00 +0800 |
---|---|---|
committer | lh123 <1585086582@qq.com> | 2021-12-08 13:28:12 +0800 |
commit | ec64d10340daacb066ab1bbf6356727062a8236f (patch) | |
tree | 495424f91c5a894d44ee513b211305978fdae7a1 /clang/lib/Lex/ModuleMap.cpp | |
parent | 89ebd35daabee5bd5b6baab7230072316ee252b6 (diff) | |
download | llvm-ec64d10340daacb066ab1bbf6356727062a8236f.zip llvm-ec64d10340daacb066ab1bbf6356727062a8236f.tar.gz llvm-ec64d10340daacb066ab1bbf6356727062a8236f.tar.bz2 |
[clangd] Add desugared type to hover
Add desugared type to hover when the desugared type and the pretty-printed type are different.
```c++
template<typename T>
struct TestHover {
using Type = T;
};
int main() {
TestHover<int>::Type a;
}
```
```
variable a
Type: TestHover<int>::Type (aka int)
```
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D114522
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions