projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3bdcdf
)
[DirectoryWatcher] Fix asserts Mac builds
author
Shoaib Meenai
<smeenai@fb.com>
Tue, 6 Aug 2019 07:13:53 +0000
(07:13 +0000)
committer
Shoaib Meenai
<smeenai@fb.com>
Tue, 6 Aug 2019 07:13:53 +0000
(07:13 +0000)
Add a missing semicolon after an assert. Remove the period from the
assert message while I'm here, because we don't usually have those.
llvm-svn: 367984
clang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
b/clang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
index
ade03c2
..
473bda7
100644
(file)
--- a/
clang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
+++ b/
clang/lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
@@
-210,7
+210,7
@@
llvm::Expected<std::unique_ptr<DirectoryWatcher>> clang::DirectoryWatcher::creat
assert(!Path.empty() && "Path.empty()");
auto EventStream = createFSEventStream(Path, Receiver, Queue);
- assert(EventStream && "EventStream expected to be non-null
.")
+ assert(EventStream && "EventStream expected to be non-null
");
std::unique_ptr<DirectoryWatcher> Result =
llvm::make_unique<DirectoryWatcherMac>(EventStream, Receiver, Path);