From 8467583c2704e7a9691ea56939a029015f0ade0a Mon Sep 17 00:00:00 2001 From: Gabor Greif 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 7e9f5e96b0..da07fbd61b 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 28bf446e0b..9cc2c3af8a 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 e0922eede9..a9a42a8e18 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 4324b3ec56..40d4f764b3 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 434110e737..79205c0556 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 -- 2.40.0