Set driver mode before parsing arglist.
Depends on D106789.
| Paths 
 |  Differential  D106794  
Revert "Revert "[clangd] Canonicalize compile flags before applying edits"" ClosedPublic Authored by kadircet on Jul 26 2021, 7:56 AM. 
Details 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jul 27 2021, 5:23 AM Closed by commit rGab714ba056c1: Revert "Revert "[clangd] Canonicalize compile flags before applying edits"" (authored by kadircet).  ·  Explain WhyJul 27 2021, 5:55 AM This revision was automatically updated to reflect the committed changes. kadircet marked 3 inline comments as done. 
Revision Contents 
Diff 362001 clang-tools-extra/clangd/CompileCommands.cpp
 clang-tools-extra/clangd/test/did-change-configuration-params.test
 clang-tools-extra/clangd/unittests/BackgroundIndexTests.cpp
 clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
makeArrayRef(OriginalArgs).slice(1)?