summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2018-11-15 10:34:43 +0000
committerKadir Cetinkaya <kadircet@google.com>2018-11-15 10:34:43 +0000
commitbd2441c8874ccd26c5ff2d606f3458bdbf2dc936 (patch)
tree631a7df471356bcf22e67daa7d57da6d0356fed3 /clang-tools-extra/unittests
parented18e788f096b43d3cc129352269f2e9e4528ba0 (diff)
downloadbcm5719-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.cpp4
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;
OpenPOWER on IntegriCloud