[clangd] Don't attach FixIt to the source code in macro.
authorHaojian Wu <hokein@google.com>
Fri, 22 Feb 2019 09:43:56 +0000 (09:43 +0000)
committerHaojian Wu <hokein@google.com>
Fri, 22 Feb 2019 09:43:56 +0000 (09:43 +0000)
commitc8f7496257f6c385e3eff33cd14cdb060c49063f
treed35bd5b3405b309ccc8113d5ad623d5d2a2ade97
parentd22686b637ef4925005110178ea26667c66b0347
[clangd] Don't attach FixIt to the source code in macro.

Summary:
We are less certain it is the correct fix. Also, clang doesn't apply FixIt to
the source code in macro.

Reviewers: ilya-biryukov

Reviewed By: ilya-biryukov

Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

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

llvm-svn: 354664
clang-tools-extra/clangd/Diagnostics.cpp
clang-tools-extra/unittests/clangd/DiagnosticsTests.cpp