llvm-project/clang-tools-extra
Ilya Biryukov 25082817eb [clangd] Fix a crash when presenting values for Hover
Summary:
We should pass the expression type, not a variable type when printing
the resulting value. Variable type may be different from what the
pretty-printing function expects, e.g. have references.

Reviewers: sammccall

Reviewed By: sammccall

Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

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

llvm-svn: 367687
2019-08-02 15:23:04 +00:00
..
clang-apply-replacements [clang-tools-extra] Adopt FileManager's error-returning APIs 2019-08-01 21:32:01 +00:00
clang-change-namespace [clang-tools-extra] Adopt FileManager's error-returning APIs 2019-08-01 21:32:01 +00:00
clang-doc [clang-doc] Fix failing tests on Windows 2019-07-29 22:03:39 +00:00
clang-include-fixer [clang-tools-extra] Adopt FileManager's error-returning APIs 2019-08-01 21:32:01 +00:00
clang-move [clang-tools-extra] Adopt FileManager's error-returning APIs 2019-08-01 21:32:01 +00:00
clang-query
clang-reorder-fields [clang-tools-extra] Adopt FileManager's error-returning APIs 2019-08-01 21:32:01 +00:00
clang-tidy [clang-tools-extra] Adopt FileManager's error-returning APIs 2019-08-01 21:32:01 +00:00
clang-tidy-vs
clangd [clangd] Fix a crash when presenting values for Hover 2019-08-02 15:23:04 +00:00
docs [NFC] Remove LLVM_ALIGNAS 2019-07-31 03:22:08 +00:00
modularize [clang-tools-extra] Adopt FileManager's error-returning APIs 2019-08-01 21:32:01 +00:00
pp-trace
test [clang-tidy]: Google: new check 'google-upgrade-googletest-case' 2019-07-29 21:38:56 +00:00
tool-template Rename clangToolingRefactor to clangToolingRefactoring for consistency with its directory 2019-05-25 00:27:19 +00:00
unittests [clang-doc] Fix expected output in tests 2019-07-30 00:07:34 +00:00
.arcconfig
.gitignore
CMakeLists.txt [clangd] add CLANG_ENABLE_CLANGD option to build clangd. Require threads. 2019-05-07 07:05:47 +00:00
CODE_OWNERS.TXT Update CODE_OWNERS.txt for clang-doc 2019-06-28 17:32:26 +00:00
LICENSE.TXT
README.txt

README.txt

//===----------------------------------------------------------------------===//
// Clang Tools repository
//===----------------------------------------------------------------------===//

Welcome to the repository of extra Clang Tools.  This repository holds tools
that are developed as part of the LLVM compiler infrastructure project and the
Clang frontend.  These tools are kept in a separate "extra" repository to
allow lighter weight checkouts of the core Clang codebase.

This repository is only intended to be checked out inside of a full LLVM+Clang
tree, and in the 'tools/extra' subdirectory of the Clang checkout.

All discussion regarding Clang, Clang-based tools, and code in this repository
should be held using the standard Clang mailing lists:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

Code review for this tree should take place on the standard Clang patch and
commit lists:
  http://lists.llvm.org/mailman/listinfo/cfe-commits

If you find a bug in these tools, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/