Skip to content

Commit

Permalink
[DirectoryWatcher] Fix asserts Mac builds
Browse files Browse the repository at this point in the history
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367984 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
smeenai committed Aug 6, 2019
1 parent 0c9194c commit 4fbf52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DirectoryWatcher/mac/DirectoryWatcher-mac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4fbf52b

Please sign in to comment.