diff options
author | Vy Nguyen <vyng@google.com> | 2021-06-01 16:09:41 -0400 |
---|---|---|
committer | Vy Nguyen <vyng@google.com> | 2021-06-01 18:35:31 -0400 |
commit | 8f89c054afa115e4e45dbc76f7efa2e7f485d227 (patch) | |
tree | 6756d2d3c4c7f501f86e1861b68573ef68f21ebe /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6134231a78bf667a2f4357a415fac11e2732405a (diff) | |
download | llvm-8f89c054afa115e4e45dbc76f7efa2e7f485d227.zip llvm-8f89c054afa115e4e45dbc76f7efa2e7f485d227.tar.gz llvm-8f89c054afa115e4e45dbc76f7efa2e7f485d227.tar.bz2 |
[lld-macho][nfc] Remove unnecessary use of Optional<T*>
In all of these cases, the functions could simply return a nullptr instead of {}.
There is no case where Optional<nullptr> has a special meaning.
Differential Revision: https://reviews.llvm.org/D103489
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions