[llvm] 4459745 - [llvm] Ensure newline at the end of files (NFC) (#143061)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 22:58:20 PDT 2025


Author: Kazu Hirata
Date: 2025-06-05T22:58:15-07:00
New Revision: 445974547d3fae74ea1cb89f4c2b428491cab468

URL: https://github.com/llvm/llvm-project/commit/445974547d3fae74ea1cb89f4c2b428491cab468
DIFF: https://github.com/llvm/llvm-project/commit/445974547d3fae74ea1cb89f4c2b428491cab468.diff

LOG: [llvm] Ensure newline at the end of files (NFC) (#143061)

Without newlines at the end, git diff would display:

  No newline at end of file

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebugInfoSupport.h
    llvm/include/llvm/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.h
    llvm/include/llvm/ExecutionEngine/Orc/Shared/PerfSharedStructs.h
    llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.h
    llvm/lib/Analysis/CFG.cpp
    llvm/lib/ExecutionEngine/JITLink/COFFOptions.td
    llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
    llvm/lib/Target/CSKY/CSKYInstrAlias.td
    llvm/lib/Target/X86/X86RegisterInfo.cpp
    llvm/lib/Target/X86/X86SuppressAPXForReloc.cpp
    llvm/lib/Transforms/IPO/StripSymbols.cpp
    llvm/tools/llvm-remarkutil/RemarkSizeDiff.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebugInfoSupport.h b/llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebugInfoSupport.h
index 91c9eee554c06..460d5e8f9e49a 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebugInfoSupport.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/Debugging/DebugInfoSupport.h
@@ -60,4 +60,4 @@ class DebugInfoPreservationPlugin : public ObjectLinkingLayer::Plugin {
 
 } // namespace llvm
 
-#endif
\ No newline at end of file
+#endif

diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.h b/llvm/include/llvm/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.h
index 74329a048941a..179fedc3972ab 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/Debugging/PerfSupportPlugin.h
@@ -66,4 +66,4 @@ class LLVM_ABI PerfSupportPlugin : public ObjectLinkingLayer::Plugin {
 } // namespace orc
 } // namespace llvm
 
-#endif // LLVM_EXECUTIONENGINE_ORC_PERFSUPPORTPLUGIN_H
\ No newline at end of file
+#endif // LLVM_EXECUTIONENGINE_ORC_PERFSUPPORTPLUGIN_H

diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/PerfSharedStructs.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/PerfSharedStructs.h
index f4788bcebc3cf..e3f9f78b9e1d8 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/PerfSharedStructs.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/PerfSharedStructs.h
@@ -230,4 +230,4 @@ class SPSSerializationTraits<SPSPerfJITRecordBatch, PerfJITRecordBatch> {
 
 } // namespace llvm
 
-#endif
\ No newline at end of file
+#endif

diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.h
index fa74c835d64b4..1aa187754ffa6 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderPerf.h
@@ -26,4 +26,4 @@ llvm_orc_registerJITLoaderPerfStart(const char *ArgData, size_t ArgSize);
 extern "C" LLVM_ABI llvm::orc::shared::CWrapperFunctionResult
 llvm_orc_registerJITLoaderPerfEnd(const char *ArgData, size_t ArgSize);
 
-#endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERPERF_H
\ No newline at end of file
+#endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERPERF_H

diff  --git a/llvm/lib/Analysis/CFG.cpp b/llvm/lib/Analysis/CFG.cpp
index 0d32e101ee0b4..1676d6b6f592e 100644
--- a/llvm/lib/Analysis/CFG.cpp
+++ b/llvm/lib/Analysis/CFG.cpp
@@ -368,4 +368,4 @@ bool llvm::isPresplitCoroSuspendExitEdge(const BasicBlock &Src,
       return Intr->getIntrinsicID() == Intrinsic::coro_suspend &&
              SW->getDefaultDest() == &Dest;
   return false;
-}
\ No newline at end of file
+}

diff  --git a/llvm/lib/ExecutionEngine/JITLink/COFFOptions.td b/llvm/lib/ExecutionEngine/JITLink/COFFOptions.td
index 0a0ce2fc76dde..a515cbdcc35fb 100644
--- a/llvm/lib/ExecutionEngine/JITLink/COFFOptions.td
+++ b/llvm/lib/ExecutionEngine/JITLink/COFFOptions.td
@@ -18,4 +18,4 @@ multiclass B_priv<string name> {
 
 def export  : P<"export">;
 def alternatename : P<"alternatename">;
-def incl : Joined<["/", "-", "/?", "-?"], "include:">;
\ No newline at end of file
+def incl : Joined<["/", "-", "/?", "-?"], "include:">;

diff  --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
index 04defbc977462..c5fb7f56e3ef7 100644
--- a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
+++ b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
@@ -246,4 +246,4 @@ void AArch64TargetStreamer::activateAtributesSubsection(StringRef VendorName) {
       SubSection.IsActive = false;
     }
   }
-}
\ No newline at end of file
+}

diff  --git a/llvm/lib/Target/CSKY/CSKYInstrAlias.td b/llvm/lib/Target/CSKY/CSKYInstrAlias.td
index e3c0538e752e6..bc63ce30d432c 100644
--- a/llvm/lib/Target/CSKY/CSKYInstrAlias.td
+++ b/llvm/lib/Target/CSKY/CSKYInstrAlias.td
@@ -35,4 +35,4 @@ def : InstAlias<"jsri $dst", (PseudoJSRI32 call_symbol:$dst)>;
 def : InstAlias<"jsri $dst", (JSRI32 constpool_symbol:$dst)>;
 
 def : InstAlias<"jmpi $dst", (PseudoJMPI32 br_symbol:$dst)>;
-def : InstAlias<"jmpi $dst", (JMPI32 constpool_symbol:$dst)>;
\ No newline at end of file
+def : InstAlias<"jmpi $dst", (JMPI32 constpool_symbol:$dst)>;

diff  --git a/llvm/lib/Target/X86/X86RegisterInfo.cpp b/llvm/lib/Target/X86/X86RegisterInfo.cpp
index 71d36594afaeb..9adac067aace8 100644
--- a/llvm/lib/Target/X86/X86RegisterInfo.cpp
+++ b/llvm/lib/Target/X86/X86RegisterInfo.cpp
@@ -1280,4 +1280,4 @@ bool X86RegisterInfo::isNonRex2RegClass(const TargetRegisterClass *RC) const {
   case X86::GR64_with_sub_16bit_in_GR16_NOREX2RegClassID:
     return true;
   }
-}
\ No newline at end of file
+}

diff  --git a/llvm/lib/Target/X86/X86SuppressAPXForReloc.cpp b/llvm/lib/Target/X86/X86SuppressAPXForReloc.cpp
index 5851262c8e7b6..b40e1f208bdad 100644
--- a/llvm/lib/Target/X86/X86SuppressAPXForReloc.cpp
+++ b/llvm/lib/Target/X86/X86SuppressAPXForReloc.cpp
@@ -252,4 +252,4 @@ bool X86SuppressAPXForRelocationPass::runOnMachineFunction(
   Changed |= handleNDDOrNFInstructions(MF, ST);
 
   return Changed;
-}
\ No newline at end of file
+}

diff  --git a/llvm/lib/Transforms/IPO/StripSymbols.cpp b/llvm/lib/Transforms/IPO/StripSymbols.cpp
index 78bcd8b83bd28..ecd0ade131467 100644
--- a/llvm/lib/Transforms/IPO/StripSymbols.cpp
+++ b/llvm/lib/Transforms/IPO/StripSymbols.cpp
@@ -316,4 +316,4 @@ PreservedAnalyses StripDeadCGProfilePass::run(Module &M,
   M.setModuleFlag(Module::Append, "CG Profile",
                   MDTuple::getDistinct(M.getContext(), ValidCGEdges));
   return PreservedAnalyses::none();
-}
\ No newline at end of file
+}

diff  --git a/llvm/tools/llvm-remarkutil/RemarkSizeDiff.cpp b/llvm/tools/llvm-remarkutil/RemarkSizeDiff.cpp
index 35ea43232200f..d3cb134279a26 100644
--- a/llvm/tools/llvm-remarkutil/RemarkSizeDiff.cpp
+++ b/llvm/tools/llvm-remarkutil/RemarkSizeDiff.cpp
@@ -498,4 +498,4 @@ static Error trySizeSiff() {
 }
 
 static CommandRegistration RemarkSizeSiffRegister(&RemarkSizeDiffUtil,
-                                                  trySizeSiff);
\ No newline at end of file
+                                                  trySizeSiff);


        


More information about the llvm-commits mailing list