[PATCH] D151438: [NFC][Driver] Change Multilib flag representation
Michael Platings via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 25 06:10:58 PDT 2023
michaelplatings created this revision.
michaelplatings added a reviewer: phosek.
Herald added a project: All.
michaelplatings requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
This new representation means that if a string is a valid command line
option then it can also be used to indicate that the option is required
by a multilib.
To indicate that a flag is required not to be present, its first
character is replaced with '!', which is intended for consistency with
the logical not operator in many programming languages.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151438
Files:
clang/include/clang/Driver/Multilib.h
clang/include/clang/Driver/MultilibBuilder.h
clang/lib/Driver/Multilib.cpp
clang/lib/Driver/MultilibBuilder.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/OHOS.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151438.525571.patch
Type: text/x-patch
Size: 4001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230525/472e161c/attachment-0001.bin>
More information about the cfe-commits
mailing list