1. [llvm-ar] Improve tool selection heuristic (details)
  2. Fix mishandling of invalid-but-non-empty nested name specifiers in name (details)
Commit 4d53b99c5df2c83172d23521d1b1ab8361d6de92 by maskray
[llvm-ar] Improve tool selection heuristic
If llvm-ar is installed at arm-pokymllib32-linux-gnueabi-llvm-ar, it may
think it is llvm-lib due to the "lib" substring.
Improve the heuristic to make all the following work as intended:
llvm-ar-9 (llvm-9 package on Debian) llvm-ranlib.exe Lib.exe (reported
by D44808) arm-pokymllib32-linux-gnueabi-llvm-ar (reported by D71030)
Reviewed By: raj.khem, rupprecht
Differential Revision:
The file was addedllvm/test/tools/llvm-dlltool/tool-name.test
The file was addedllvm/test/tools/llvm-ar/tool-name.test
The file was addedllvm/test/tools/llvm-lib/tool-name.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
The file was addedllvm/test/tools/llvm-ranlib/tool-name.test
Commit 2e48be09b02e6d01b85d31704d768b6d0c751751 by richard
Fix mishandling of invalid-but-non-empty nested name specifiers in name
We were accidentally treating invalid scope specs as being empty,
resulting in our trying to form an ADL-only call with a qualified
callee, which tripped up an assert later on.
The file was modifiedclang/test/Parser/cxx-template-decl.cpp
The file was modifiedclang/lib/Sema/SemaDecl.cpp