[llvm] e545793 - [llvm] Ensure newlines at the end of files (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 23:59:18 PST 2021


Author: Kazu Hirata
Date: 2021-02-17T23:58:44-08:00
New Revision: e54579307b15ac0adfe96c5422e9cdd228ed1a76

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

LOG: [llvm] Ensure newlines at the end of files (NFC)

This patch eliminates pesky "No newline at end of file" messages from
git diff.

Added: 
    

Modified: 
    llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
    llvm/lib/Support/SHA256.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp b/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
index 268acb682cf1..ef2632500323 100644
--- a/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
@@ -817,4 +817,4 @@ MDNode *AAMDNodes::ShiftTBAAStruct(MDNode *MD, size_t Offset) {
     Sub.push_back(MD->getOperand(i + 2));
   }
   return MDNode::get(MD->getContext(), Sub);
-}
\ No newline at end of file
+}

diff  --git a/llvm/lib/Support/SHA256.cpp b/llvm/lib/Support/SHA256.cpp
index a75a7b8245df..a3a6af2e7eff 100644
--- a/llvm/lib/Support/SHA256.cpp
+++ b/llvm/lib/Support/SHA256.cpp
@@ -288,4 +288,4 @@ std::array<uint8_t, 32> SHA256::hash(ArrayRef<uint8_t> Data) {
   return Arr;
 }
 
-} // namespace llvm
\ No newline at end of file
+} // namespace llvm


        


More information about the llvm-commits mailing list