Skip to content

Commit 51c9670

Browse files
committed
clang-format
1 parent 4a1b5a4 commit 51c9670

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

flang/runtime/execute.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ enum CMD_STAT {
4444
};
4545

4646
// Override CopyCharsToDescriptor in tools.h, pass string directly
47-
void CopyCharsToDescriptor(const Descriptor &value, const char *rawValue){
47+
void CopyCharsToDescriptor(const Descriptor &value, const char *rawValue) {
4848
CopyCharsToDescriptor(value, rawValue, std::strlen(rawValue));
4949
}
5050

flang/runtime/tools.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ inline RT_API_ATTRS bool SetInteger(INT &x, int kind, std::int64_t value) {
121121
template <template <TypeCategory, int> class FUNC, typename RESULT,
122122
typename... A>
123123
inline RT_API_ATTRS RESULT ApplyType(
124-
TypeCategory cat, int kind, Terminator &terminator, A &&... x) {
124+
TypeCategory cat, int kind, Terminator &terminator, A &&...x) {
125125
switch (cat) {
126126
case TypeCategory::Integer:
127127
switch (kind) {
@@ -222,7 +222,7 @@ inline RT_API_ATTRS RESULT ApplyType(
222222
// a function object template and calls it with the supplied arguments.
223223
template <template <int KIND> class FUNC, typename RESULT, typename... A>
224224
inline RT_API_ATTRS RESULT ApplyIntegerKind(
225-
int kind, Terminator &terminator, A &&... x) {
225+
int kind, Terminator &terminator, A &&...x) {
226226
switch (kind) {
227227
case 1:
228228
return FUNC<1>{}(std::forward<A>(x)...);
@@ -243,7 +243,7 @@ inline RT_API_ATTRS RESULT ApplyIntegerKind(
243243

244244
template <template <int KIND> class FUNC, typename RESULT, typename... A>
245245
inline RT_API_ATTRS RESULT ApplyFloatingPointKind(
246-
int kind, Terminator &terminator, A &&... x) {
246+
int kind, Terminator &terminator, A &&...x) {
247247
switch (kind) {
248248
#if 0 // TODO: REAL/COMPLEX (2 & 3)
249249
case 2:
@@ -271,7 +271,7 @@ inline RT_API_ATTRS RESULT ApplyFloatingPointKind(
271271

272272
template <template <int KIND> class FUNC, typename RESULT, typename... A>
273273
inline RT_API_ATTRS RESULT ApplyCharacterKind(
274-
int kind, Terminator &terminator, A &&... x) {
274+
int kind, Terminator &terminator, A &&...x) {
275275
switch (kind) {
276276
case 1:
277277
return FUNC<1>{}(std::forward<A>(x)...);
@@ -286,7 +286,7 @@ inline RT_API_ATTRS RESULT ApplyCharacterKind(
286286

287287
template <template <int KIND> class FUNC, typename RESULT, typename... A>
288288
inline RT_API_ATTRS RESULT ApplyLogicalKind(
289-
int kind, Terminator &terminator, A &&... x) {
289+
int kind, Terminator &terminator, A &&...x) {
290290
switch (kind) {
291291
case 1:
292292
return FUNC<1>{}(std::forward<A>(x)...);

0 commit comments

Comments
 (0)