Skip to content

Commit c4d9943

Browse files
committed
[llvm] clang-format changes
1 parent b5610a1 commit c4d9943

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

llvm/include/llvm/ADT/APFloat.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,8 @@ class IEEEFloat final {
674674
integerPart addSignificand(const IEEEFloat &);
675675
integerPart subtractSignificand(const IEEEFloat &, integerPart);
676676
// Exported for IEEEFloatUnitTestHelper.
677-
LLVM_ABI lostFraction addOrSubtractSignificand(const IEEEFloat &, bool subtract);
677+
LLVM_ABI lostFraction addOrSubtractSignificand(const IEEEFloat &,
678+
bool subtract);
678679
lostFraction multiplySignificand(const IEEEFloat &, IEEEFloat,
679680
bool ignoreAddend = false);
680681
lostFraction multiplySignificand(const IEEEFloat&);

llvm/include/llvm/Support/KnownFPClass.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
#ifndef LLVM_SUPPORT_KNOWNFPCLASS_H
1515
#define LLVM_SUPPORT_KNOWNFPCLASS_H
1616

17-
#include "llvm/Support/Compiler.h"
1817
#include "llvm/ADT/FloatingPointMode.h"
18+
#include "llvm/Support/Compiler.h"
1919
#include <optional>
2020

2121
namespace llvm {
@@ -218,7 +218,8 @@ struct KnownFPClass {
218218
///
219219
/// This assumes a copy-like operation and will replace any currently known
220220
/// information.
221-
LLVM_ABI void propagateCanonicalizingSrc(const KnownFPClass &Src, DenormalMode Mode);
221+
LLVM_ABI void propagateCanonicalizingSrc(const KnownFPClass &Src,
222+
DenormalMode Mode);
222223

223224
void resetAll() { *this = KnownFPClass(); }
224225
};

llvm/include/llvm/Support/ProgramStack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#ifndef LLVM_SUPPORT_PROGRAMSTACK_H
1010
#define LLVM_SUPPORT_PROGRAMSTACK_H
1111

12-
#include "llvm/Support/Compiler.h"
1312
#include "llvm/ADT/STLFunctionalExtras.h"
13+
#include "llvm/Support/Compiler.h"
1414

1515
// LLVM_HAS_SPLIT_STACKS is exposed in the header because CrashRecoveryContext
1616
// needs to know if it's running on another thread or not.

llvm/include/llvm/Support/TextEncoding.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
#ifndef LLVM_SUPPORT_TEXT_ENCODING_H
1616
#define LLVM_SUPPORT_TEXT_ENCODING_H
1717

18-
#include "llvm/Support/Compiler.h"
1918
#include "llvm/ADT/SmallString.h"
2019
#include "llvm/ADT/StringRef.h"
2120
#include "llvm/Config/config.h"
21+
#include "llvm/Support/Compiler.h"
2222
#include "llvm/Support/ErrorOr.h"
2323

2424
#include <string>
@@ -94,15 +94,16 @@ class TextEncodingConverter {
9494
/// \param[in] To the target character encoding
9595
/// \return a TextEncodingConverter instance or an error code
9696
LLVM_ABI static ErrorOr<TextEncodingConverter> create(TextEncoding From,
97-
TextEncoding To);
97+
TextEncoding To);
9898

9999
/// Creates a TextEncodingConverter instance.
100100
/// Returns std::errc::invalid_argument in case the requested conversion is
101101
/// not supported.
102102
/// \param[in] From name of the source character encoding
103103
/// \param[in] To name of the target character encoding
104104
/// \return a TextEncodingConverter instance or an error code
105-
LLVM_ABI static ErrorOr<TextEncodingConverter> create(StringRef From, StringRef To);
105+
LLVM_ABI static ErrorOr<TextEncodingConverter> create(StringRef From,
106+
StringRef To);
106107

107108
TextEncodingConverter(const TextEncodingConverter &) = delete;
108109
TextEncodingConverter &operator=(const TextEncodingConverter &) = delete;

0 commit comments

Comments
 (0)