This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Fallback to OrigD when SLoc is invalid
ClosedPublic

Authored by kadircet on Apr 15 2019, 5:29 AM.

Details

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.

Diff Detail

Event Timeline

kadircet created this revision.Apr 15 2019, 5:29 AM
sammccall accepted this revision.Apr 15 2019, 7:34 AM
This revision is now accepted and ready to land.Apr 15 2019, 7:34 AM
This revision was automatically updated to reflect the committed changes.