[all-commits] [llvm/llvm-project] 02ec6f: [clangd] Use name of Macro to compute its SymbolID...
UTKARSH SAXENA via All-commits
all-commits at lists.llvm.org
Mon Nov 11 03:42:13 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 02ec6ff77eb718528138737c885e67c248ecae49
https://github.com/llvm/llvm-project/commit/02ec6ff77eb718528138737c885e67c248ecae49
Author: Utkarsh Saxena <usx at google.com>
Date: 2019-11-11 (Mon, 11 Nov 2019)
Changed paths:
M clang-tools-extra/clangd/AST.cpp
M clang-tools-extra/clangd/AST.h
M clang-tools-extra/clangd/CodeComplete.cpp
M clang-tools-extra/clangd/index/SymbolCollector.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list