Revert "[clangd] Parse std::make_unique, and emit template diagnostics at expansion."
authorSam McCall <sam.mccall@gmail.com>
Tue, 9 Jun 2020 13:36:29 +0000 (15:36 +0200)
committerSam McCall <sam.mccall@gmail.com>
Tue, 9 Jun 2020 13:42:22 +0000 (15:42 +0200)
commit665dbe91f2ed97796691f3608db7e28519f43978
treed4c771366b375ffc359156f455732b37f1ab6af9
parent53298b8c8d74d0064c673db18addfe973b544dbb
Revert "[clangd] Parse std::make_unique, and emit template diagnostics at expansion."

This reverts commit 658af9435071d5da017c1d65298bdea19ec095e1.
Breaks tests on windows: http://45.33.8.238/win/17229/step_9.txt

I think this is uncovering a latent bug when a late-parsed preamble is
used with an eagerly-parsed file.
clang-tools-extra/clangd/Diagnostics.cpp
clang-tools-extra/clangd/Diagnostics.h
clang-tools-extra/clangd/Preamble.cpp
clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
clang/include/clang/Frontend/PrecompiledPreamble.h
clang/lib/Frontend/PrecompiledPreamble.cpp