Skip to content

Commit 2b4fbd1

Browse files
committed
clang-format
1 parent 89f6992 commit 2b4fbd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/SYCLPostLink/ComputeModuleRuntimeInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ static std::vector<StringRef> getKernelNamesUsingAssert(const Module &M) {
132132
// Returns an empty vector if not present.
133133
template <typename T>
134134
static std::vector<T> getKernelWorkGroupMetadata(const Function &Func,
135-
const char *MDName) {
135+
const char *MDName) {
136136
MDNode *WorkGroupMD = Func.getMetadata(MDName);
137137
if (!WorkGroupMD)
138138
return {};
@@ -150,7 +150,7 @@ static std::vector<T> getKernelWorkGroupMetadata(const Function &Func,
150150
// Returns std::nullopt if metadata is not present.
151151
template <typename T>
152152
static std::optional<T> getKernelSingleEltMetadata(const Function &Func,
153-
const char *MDName) {
153+
const char *MDName) {
154154
if (MDNode *MaxDimMD = Func.getMetadata(MDName)) {
155155
assert(MaxDimMD->getNumOperands() == 1 && "Malformed node.");
156156
return mdconst::extract<ConstantInt>(MaxDimMD->getOperand(0))

0 commit comments

Comments
 (0)