HomePhabricator

[clangd] Fallback to OrigD when SLoc is invalid

Description

[clangd] Fallback to OrigD when SLoc is invalid

Summary:
Some implicit/built-in decls lack the source location
information. Fallback to OrigD that we've seen in the source code
instead of the canonical one in those cases.

Reviewers: sammccall

Subscribers: cfe-commits, arphaman, jkorous, MaskRay, ioeric, ilya-biryukov

Tags: #clang

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

Details

Committed
kadircetMon, Apr 15, 7:38 AM
Differential Revision
D60689: [clangd] Fallback to OrigD when SLoc is invalid
Branches
Unknown
Tags
Unknown