[PATCH] D139274: Store OptTable::Info::Name as a StringRef

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 03:27:04 PST 2022


serge-sans-paille updated this revision to Diff 480421.
serge-sans-paille added a comment.

Also simplify `StrCmpOptionNameIgnoreCase` implementation thanks to the move to StringRef


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139274/new/

https://reviews.llvm.org/D139274

Files:
  clang/lib/Driver/ToolChains/Gnu.cpp
  llvm/include/llvm/Option/OptTable.h
  llvm/lib/Option/OptTable.cpp
  llvm/unittests/Option/OptionMarshallingTest.cpp
  llvm/utils/TableGen/OptParserEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139274.480421.patch
Type: text/x-patch
Size: 6655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221206/1a755266/attachment.bin>


More information about the cfe-commits mailing list