diff options
author | Yuriy Chernyshov <georgthegreat@gmail.com> | 2020-11-05 12:10:38 -0800 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2020-11-05 15:23:26 -0800 |
commit | 99e64623ec9b31def9375753491cc6093c831809 (patch) | |
tree | b1f2c13599ddcff2d4b12fabe407bc819d874b24 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | defe11866a326491ee9767f84bb3f70cfc4f4bcb (diff) | |
download | llvm-99e64623ec9b31def9375753491cc6093c831809.zip llvm-99e64623ec9b31def9375753491cc6093c831809.tar.gz llvm-99e64623ec9b31def9375753491cc6093c831809.tar.bz2 |
Do not construct std::string from nullptr
While I am trying to forbid such usages systematically in https://reviews.llvm.org/D79427 / P2166R0 to C++ standard, this PR fixes this (definitelly incorrect) usage in llvm.
This code is unreachable, so it could not cause any harm
Reviewed By: nikic, dblaikie
Differential Revision: https://reviews.llvm.org/D87697
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions