[linux] Use std::optional in DirectoryWatcher-linux.cpp (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 06:55:06 +0000 (22:55 -0800)
committerKazu Hirata <kazu@google.com>
Sat, 10 Dec 2022 06:55:06 +0000 (22:55 -0800)
commite8aee7ef73a759e9307fccb0fc3329d676eca737
treea8fb528c84ef278eb8ab722ce6c732e0e7025391
parent0a4c70feb19fd95689e9a99d27114e217ada5da0
[linux] Use std::optional in DirectoryWatcher-linux.cpp (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp