HomePhabricator

[clangd] Fallback to OrigD when SLoc is invalid

Authored by kadircet on Apr 15 2019, 7:38 AM.

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

llvm-svn: 358413

Details

Committed
kadircetApr 15 2019, 7:38 AM
Differential Revision
D60689: [clangd] Fallback to OrigD when SLoc is invalid
Parents
rG5e165fba3acd: [NFC] Add missing revision number in libc++ ABI changelog
Branches
Unknown
Tags
Unknown