aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYuriy Chernyshov <georgthegreat@gmail.com>2020-11-05 12:10:38 -0800
committerDavid Blaikie <dblaikie@gmail.com>2020-11-05 15:23:26 -0800
commit99e64623ec9b31def9375753491cc6093c831809 (patch)
treeb1f2c13599ddcff2d4b12fabe407bc819d874b24 /clang/lib/Frontend/CompilerInvocation.cpp
parentdefe11866a326491ee9767f84bb3f70cfc4f4bcb (diff)
downloadllvm-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