From 8467583c2704e7a9691ea56939a029015f0ade0a Mon Sep 17 00:00:00 2001
From: Gabor Greif <ggreif@gmail.com>
Date: Tue, 11 Sep 2007 15:32:40 +0000
Subject: [PATCH] get rid of ugly "warning: no newline at end of file" warnings
 that some compilers diagnose

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41847 91177308-0d34-0410-b5e6-96231b3b80d8
---
 AST/ASTContext.cpp                | 2 +-
 AST/StmtPrinter.cpp               | 2 +-
 Analysis/DeadStores.cpp           | 2 +-
 Analysis/LiveVariables.cpp        | 2 +-
 include/clang/AST/PrettyPrinter.h | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/AST/ASTContext.cpp b/AST/ASTContext.cpp
index 7e9f5e96b03..da07fbd61bd 100644
--- a/AST/ASTContext.cpp
+++ b/AST/ASTContext.cpp
@@ -797,4 +797,4 @@ QualType ASTContext::getCFConstantStringType() {
   }
   
   return getTagDeclType(CFConstantStringTypeDecl);
-}
\ No newline at end of file
+}
diff --git a/AST/StmtPrinter.cpp b/AST/StmtPrinter.cpp
index 28bf446e0b6..9cc2c3af8a5 100644
--- a/AST/StmtPrinter.cpp
+++ b/AST/StmtPrinter.cpp
@@ -617,4 +617,4 @@ void Stmt::printPretty(std::ostream &OS, PrinterHelper* Helper) const {
 //===----------------------------------------------------------------------===//
 
 // Implement virtual destructor.
-PrinterHelper::~PrinterHelper() {}
\ No newline at end of file
+PrinterHelper::~PrinterHelper() {}
diff --git a/Analysis/DeadStores.cpp b/Analysis/DeadStores.cpp
index e0922eede94..a9a42a8e18f 100644
--- a/Analysis/DeadStores.cpp
+++ b/Analysis/DeadStores.cpp
@@ -79,4 +79,4 @@ void CheckDeadStores(CFG& cfg, Preprocessor& PP) {
   CheckDeadStores(cfg,L,PP);
 }
 
-} // end namespace clang
\ No newline at end of file
+} // end namespace clang
diff --git a/Analysis/LiveVariables.cpp b/Analysis/LiveVariables.cpp
index 4324b3ec567..40d4f764b30 100644
--- a/Analysis/LiveVariables.cpp
+++ b/Analysis/LiveVariables.cpp
@@ -509,4 +509,4 @@ void LiveVariables::VarInfo::Dump(SourceManager& SM) const {
   }
   
   fprintf(stderr,"\n");
-}
\ No newline at end of file
+}
diff --git a/include/clang/AST/PrettyPrinter.h b/include/clang/AST/PrettyPrinter.h
index 434110e7379..79205c0556c 100644
--- a/include/clang/AST/PrettyPrinter.h
+++ b/include/clang/AST/PrettyPrinter.h
@@ -28,4 +28,4 @@ public:
 
 } // end namespace clang
 
-#endif
\ No newline at end of file
+#endif
-- 
GitLab