diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2018-11-15 10:34:43 +0000 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2018-11-15 10:34:43 +0000 |
commit | bd2441c8874ccd26c5ff2d606f3458bdbf2dc936 (patch) | |
tree | 631a7df471356bcf22e67daa7d57da6d0356fed3 /clang-tools-extra/unittests | |
parent | ed18e788f096b43d3cc129352269f2e9e4528ba0 (diff) | |
download | bcm5719-llvm-bd2441c8874ccd26c5ff2d606f3458bdbf2dc936.tar.gz bcm5719-llvm-bd2441c8874ccd26c5ff2d606f3458bdbf2dc936.zip |
Revert "clang-format"
This reverts commit 0a37e9c3d88a2e21863657df2f7735fb7e5f746e.
llvm-svn: 346944
Diffstat (limited to 'clang-tools-extra/unittests')
-rw-r--r-- | clang-tools-extra/unittests/clangd/BackgroundIndexTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clangd/BackgroundIndexTests.cpp b/clang-tools-extra/unittests/clangd/BackgroundIndexTests.cpp index ee8aa67dd6d..c79184d9220 100644 --- a/clang-tools-extra/unittests/clangd/BackgroundIndexTests.cpp +++ b/clang-tools-extra/unittests/clangd/BackgroundIndexTests.cpp @@ -82,7 +82,7 @@ TEST(BackgroundIndexTest, ShardStorageTest) { class MemoryShardStorage : public ShardStorage { mutable std::mutex StorageMu; llvm::StringMap<std::string> &Storage; - size_t &CacheHits; + size_t& CacheHits; public: MemoryShardStorage(llvm::StringMap<std::string> &Storage, size_t &CacheHits) @@ -103,7 +103,7 @@ TEST(BackgroundIndexTest, ShardStorageTest) { return llvm::make_error<llvm::StringError>( "Shard not found.", llvm::inconvertibleErrorCode()); auto IndexFile = readIndexFile(Storage[ShardIdentifier]); - if (!IndexFile) + if(!IndexFile) return IndexFile; CacheHits++; return IndexFile; |