aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Driver/ToolChains/Clang.cpp5
-rw-r--r--llvm/include/llvm/MC/MCSection.h2
-rw-r--r--llvm/include/llvm/MC/MCStreamer.h2
3 files changed, 5 insertions, 4 deletions
diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp
index 0939ee1..1011d79 100644
--- a/clang/lib/Driver/ToolChains/Clang.cpp
+++ b/clang/lib/Driver/ToolChains/Clang.cpp
@@ -5492,7 +5492,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
CmdArgs.push_back(Args.MakeArgString(std::to_string(FunctionAlignment)));
}
- if (const Arg *A = Args.getLastArg(options::OPT_fpreferred_function_alignment_EQ)) {
+ if (const Arg *A =
+ Args.getLastArg(options::OPT_fpreferred_function_alignment_EQ)) {
unsigned Value = 0;
if (StringRef(A->getValue()).getAsInteger(10, Value) || Value > 65536 ||
!llvm::isPowerOf2_32(Value))
@@ -5503,7 +5504,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
CmdArgs.push_back(Args.MakeArgString(
std::to_string(llvm::Log2_32_Ceil(std::min(Value, 65536u)))));
}
-
+
// We support -falign-loops=N where N is a power of 2. GCC supports more
// forms.
if (const Arg *A = Args.getLastArg(options::OPT_falign_loops_EQ)) {
diff --git a/llvm/include/llvm/MC/MCSection.h b/llvm/include/llvm/MC/MCSection.h
index ae0d98c..6cb2cf6 100644
--- a/llvm/include/llvm/MC/MCSection.h
+++ b/llvm/include/llvm/MC/MCSection.h
@@ -619,7 +619,7 @@ public:
}
Align getAlignmentForObjectFile(uint64_t Size) const;
-
+
unsigned getOrdinal() const { return Ordinal; }
void setOrdinal(unsigned Value) { Ordinal = Value; }
diff --git a/llvm/include/llvm/MC/MCStreamer.h b/llvm/include/llvm/MC/MCStreamer.h
index 0cc42f0..cb7fd54 100644
--- a/llvm/include/llvm/MC/MCStreamer.h
+++ b/llvm/include/llvm/MC/MCStreamer.h
@@ -840,7 +840,7 @@ public:
unsigned MaxBytesToEmit = 0);
virtual void emitPrefAlign(Align A);
-
+
/// Emit some number of copies of \p Value until the byte offset \p
/// Offset is reached.
///