[cfe-commits] [PATCH] StringRef'ize clang::driver::Option::getName()

Zach Wheeler zachw.foss at gmail.com
Thu Jun 30 11:47:21 PDT 2011

This patch changes the return type of Option::getName() from const char* to
StringRef, doing away with the need for several calls to strlen.
Clang builds fine with these changes.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110630/f632270f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: driver.Option.getName.patch
Type: application/octet-stream
Size: 5717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110630/f632270f/attachment.obj>

More information about the cfe-commits mailing list