summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/newline-eof.c
Commit message (Collapse)AuthorAgeFilesLines
* Revise -Wnewline-eof test per feedback from Dmitri.Jordan Rose2013-08-231-6/+6
| | | | llvm-svn: 189113
* Respect -Wnewline-eof even in C++11 mode.Jordan Rose2013-08-231-3/+9
| | | | | | | | | | | If the user has requested this warning, we should emit it, even if it's not an extension in the current language mode. However, being an extension is more important, so prefer the pedantic warning or the pedantic-compatibility warning if those are enabled. <rdar://problem/12922063> llvm-svn: 189110
* Fix the location of the fixit for -Wnewline-eof.Jordan Rose2012-06-191-0/+4
| | | | | | | It turns out SourceManager treating the "one-past-the-end" location as invalid, but then failing to set the invalid flag properly. llvm-svn: 158699
* %clang -cc1 -> %clang_cc1Seth Cantrell2012-04-151-1/+1
| | | | llvm-svn: 154757
* C++11 no longer requires files to end with a newlineSeth Cantrell2012-04-131-2/+2
| | | | llvm-svn: 154643
* Expose no newline at end of file warning under Wnewline-eof flag.Anna Zaks2011-07-221-0/+5
llvm-svn: 135822
OpenPOWER on IntegriCloud