[PATCH] D42913: [clangd] Fix incorrect file path for symbols defined by the compile command-line option.
Eric Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 6 01:44:12 PST 2018
ioeric accepted this revision.
ioeric added a comment.
This revision is now accepted and ready to land.
lg
================
Comment at: clangd/index/SymbolCollector.cpp:132
+ // * symbols controlled and defined by a compile command-line option
+ // `-DName=foo`, the spelling location will be "<commandline>".
+ std::string PrintLoc = Loc.printToString(SM);
----------------
nit: `s/<commandline>/<command line>`?
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D42913
More information about the cfe-commits
mailing list