[all-commits] [llvm/llvm-project] cc2694: [clang][cli] Ensure plugin args are generated in d...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Tue Apr 6 00:25:01 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc26943313def7a985f72eadc7499ac981daabc6
https://github.com/llvm/llvm-project/commit/cc26943313def7a985f72eadc7499ac981daabc6
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2021-04-06 (Tue, 06 Apr 2021)
Changed paths:
M clang/include/clang/Frontend/FrontendOptions.h
M clang/unittests/Frontend/CompilerInvocationTest.cpp
Log Message:
-----------
[clang][cli] Ensure plugin args are generated in deterministic order
The '-plugin-arg' command-line arguments are not being generated in deterministic order.
This patch changes the storage from `std::unordered_map` to `std::map` to enforce ordering.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D99879
More information about the All-commits
mailing list