[PATCH] D25257: Use StringRef in Option library instead of raw pointers (NFC)
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 4 15:29:33 PDT 2016
mehdi_amini created this revision.
mehdi_amini added a reviewer: zturner.
mehdi_amini added a subscriber: llvm-commits.
Herald added a subscriber: klimek.
Try to convert llvm/lib/Option library away from raw
`const char *` pointers to handle string. Also propagating to
the uses of the API in clang itself.
https://reviews.llvm.org/D25257
Files:
clang/include/clang/Driver/Compilation.h
clang/include/clang/Driver/Driver.h
clang/include/clang/Driver/Job.h
clang/include/clang/Driver/ToolChain.h
clang/include/clang/Driver/Types.h
clang/include/clang/Frontend/CompilerInvocation.h
clang/include/clang/Tooling/Tooling.h
clang/lib/Basic/Targets.cpp
clang/lib/Driver/Compilation.cpp
clang/lib/Driver/Driver.cpp
clang/lib/Driver/Job.cpp
clang/lib/Driver/SanitizerArgs.cpp
clang/lib/Driver/ToolChain.cpp
clang/lib/Driver/ToolChains.cpp
clang/lib/Driver/Tools.cpp
clang/lib/Driver/Tools.h
clang/lib/Driver/Types.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
clang/lib/Tooling/CompilationDatabase.cpp
clang/lib/Tooling/JSONCompilationDatabase.cpp
clang/lib/Tooling/Tooling.cpp
clang/tools/driver/cc1_main.cpp
clang/tools/driver/cc1as_main.cpp
clang/tools/driver/driver.cpp
lld/COFF/Driver.cpp
lld/COFF/Driver.h
lld/COFF/DriverUtils.cpp
lld/ELF/Driver.cpp
lld/ELF/Driver.h
lld/ELF/DriverUtils.cpp
lld/include/lld/Core/LinkingContext.h
lld/include/lld/Driver/Driver.h
lld/lib/Driver/DarwinLdDriver.cpp
lld/tools/lld/lld.cpp
lld/unittests/DriverTests/DarwinLdDriverTest.cpp
llvm/include/llvm/LibDriver/LibDriver.h
llvm/include/llvm/Option/Arg.h
llvm/include/llvm/Option/ArgList.h
llvm/include/llvm/Option/OptTable.h
llvm/include/llvm/Option/Option.h
llvm/include/llvm/Support/CommandLine.h
llvm/include/llvm/Support/Process.h
llvm/include/llvm/Support/Program.h
llvm/include/llvm/Support/TargetParser.h
llvm/lib/LibDriver/LibDriver.cpp
llvm/lib/Option/Arg.cpp
llvm/lib/Option/ArgList.cpp
llvm/lib/Option/OptTable.cpp
llvm/lib/Option/Option.cpp
llvm/lib/Support/CommandLine.cpp
llvm/lib/Support/TargetParser.cpp
llvm/lib/Support/Unix/Process.inc
llvm/lib/Support/Unix/Program.inc
llvm/lib/Support/Windows/Process.inc
llvm/lib/Support/Windows/Program.inc
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/tools/llvm-ar/llvm-ar.cpp
llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
llvm/unittests/Option/OptionParsingTest.cpp
llvm/unittests/Support/CommandLineTest.cpp
llvm/unittests/Support/TargetParserTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25257.73567.patch
Type: text/x-patch
Size: 162837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161004/b3b0493d/attachment-0001.bin>
More information about the llvm-commits
mailing list