HomePhabricator

[clangd] Use name of Macro to compute its SymbolID, NFC.

Authored by usaxena95 on Nov 11 2019, 3:38 AM.

Description

[clangd] Use name of Macro to compute its SymbolID, NFC.

Summary:
We use the name from the IdentifierInfo of the Macro to compute its
SymbolID. It is better to just take the Name as a parameter to avoid
storing the IdentifierInfo whenever we need the SymbolID for the Macro.

Patch by UTKARSH SAXENA!

Reviewers: hokein

Reviewed By: hokein

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

Tags: #clang

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

Details

Committed
hokeinNov 11 2019, 3:38 AM
Reviewer
hokein
Differential Revision
D69937: [clangd] Use name of Macro to compute its SymbolID.
Parents
rG0cc7c29a97e4: AArch64FunctionInfo - fix uninitialized variable warnings. NFCI.
Branches
Unknown
Tags
Unknown