Skip to content

Commit 54b6fe6

Browse files
format fixup
1 parent e5263c6 commit 54b6fe6

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

llvm/include/llvm/CAS/ActionCache.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ class ActionCache {
8585
return putImpl(arrayRefFromStringRef(ActionKey.getKey()), Result, Globally);
8686
}
8787

88-
8988
#ifndef _MSC_VER
9089
/// FIXME: MSVC doesn't compile Error within Promise/Future correctly and will
9190
/// result in unchecked error. Disable AsyncAPIs when using MSVC for now.

llvm/lib/Support/TrieRawHashMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ struct ThreadSafeTrieRawHashMapBase::ImplType {
155155
static std::unique_ptr<ImplType> create(size_t StartBit, size_t NumBits) {
156156
size_t Size = sizeof(ImplType) + getTrieTailSize(StartBit, NumBits);
157157
void *Memory = ::malloc(Size);
158-
ImplType* Impl = ::new (Memory) ImplType(StartBit, NumBits);
158+
ImplType *Impl = ::new (Memory) ImplType(StartBit, NumBits);
159159
return std::unique_ptr<ImplType>(Impl);
160160
}
161161

llvm/unittests/CAS/CASTestConfig.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ std::string llvm::unittest::cas::getCASPluginPath() {
3434
return std::string(PathBuf);
3535
}
3636

37-
3837
TestingAndDir createInMemory(int I) {
3938
std::unique_ptr<ObjectStore> CAS = createInMemoryCAS();
4039
std::unique_ptr<ActionCache> Cache = createInMemoryActionCache();
@@ -71,7 +70,6 @@ TestingAndDir createOnDisk(int I) {
7170
}
7271
INSTANTIATE_TEST_SUITE_P(OnDiskCAS, CASTest, ::testing::Values(createOnDisk));
7372

74-
7573
TestingAndDir createPluginCASImpl(int I) {
7674
using namespace llvm::unittest::cas;
7775
unittest::TempDir Temp("plugin-cas", /*Unique=*/true);

llvm/unittests/CAS/PluginCASTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#include "llvm/CAS/PluginCAS.h"
910
#include "CASTestConfig.h"
1011
#include "llvm/CAS/ActionCache.h"
1112
#include "llvm/CAS/ObjectStore.h"
12-
#include "llvm/CAS/PluginCAS.h"
1313
#include "llvm/Config/config.h"
1414
#include "llvm/Support/Path.h"
1515
#include "llvm/Testing/Support/Error.h"

0 commit comments

Comments
 (0)