[all-commits] [llvm/llvm-project] eae3b2: [clang][cli] Fix round-trip of OPT_plugin_arg
john-brawn-arm via All-commits
all-commits at lists.llvm.org
Tue Mar 30 10:35:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eae3b2a715d7fd1aea0ce1c78ac7a04957b72728
https://github.com/llvm/llvm-project/commit/eae3b2a715d7fd1aea0ce1c78ac7a04957b72728
Author: John Brawn <john.brawn at arm.com>
Date: 2021-03-30 (Tue, 30 Mar 2021)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
Log Message:
-----------
[clang][cli] Fix round-trip of OPT_plugin_arg
The test Frontend/plugin-delayed-template.cpp is failing when asserts
are enabled because it hits an assertion in denormalizeStringImpl when
trying to round-trip OPT_plugin_arg. Fix this by adjusting how the
option is handled, as the first part is joined to -plugin-arg and the
second is separate.
Differential Revision: https://reviews.llvm.org/D99606
More information about the All-commits
mailing list