summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/FileCheck.rst
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2019-06-27 13:24:10 +0000
committerHaojian Wu <hokein@google.com>2019-06-27 13:24:10 +0000
commit93a825c8fb91b26a1a6e92bbbb01ea78c34d09d8 (patch)
tree471d96850eb3dbde5743af6bc7fff18790d0b8c4 /llvm/docs/CommandGuide/FileCheck.rst
parent71d3869f60c3c0df56086db26d534e603e7d6f78 (diff)
downloadbcm5719-llvm-93a825c8fb91b26a1a6e92bbbb01ea78c34d09d8.tar.gz
bcm5719-llvm-93a825c8fb91b26a1a6e92bbbb01ea78c34d09d8.zip
[clangd] Fix a case where we fail to detect a header-declared symbol in rename.
Summary: Failing case: ``` #include "foo.h" void fo^o() {} ``` getRenameDecl() returns the decl of the symbol under the cursor (which is in the current main file), instead, we use the canonical decl to determine whether a symbol is declared in #included header. Reviewers: sammccall Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63872 llvm-svn: 364537
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud