summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/remove-cstr-calls/basic.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move remove-cstr-calls from a standalone executable to a clang-tidy check ↵Alexander Kornienko2015-03-161-39/+0
| | | | | | | | | | readability-redundant-string-cstr http://reviews.llvm.org/D7318 Patch by Richard Thomson! llvm-svn: 232338
* Fix a remove-cstr-calls test that fails checking of the produced code.Manuel Klimek2013-06-191-1/+6
| | | | llvm-svn: 184314
* test/remove-cstr-calls/basic.cpp: Disable again on mingw. It behaves unstable.NAKAMURA Takumi2013-01-261-0/+1
| | | | llvm-svn: 173562
* Drop "REQUIRES:shell" in tests. They can run on win32.NAKAMURA Takumi2013-01-251-1/+0
| | | | llvm-svn: 173415
* Following the example from loop-convert tests, simplifying the ↵Manuel Klimek2012-11-051-8/+3
| | | | | | | | remove-cstr-calls lit script. Patch by Edwin Vane. llvm-svn: 167390
* Fix tests to be more robust (to older versions of grep, lesser lit-like test ↵David Blaikie2012-08-311-4/+6
| | | | | | | | | | | | | | | | | | | | | | | runners, etc) Seems I had a problem with my version of grep, when run by lit, not supporting the \s escape. This seems to fix it for me & I'll be getting the buildbots to run these tests too to keep an eye on them (actually loop-convert tests still fail when run via a make build, so that'll be addressed in a future commit). I could use [[:space:]] to generalize over other whitespace but that seemed unnecessarily verbose when the flexibility wasn't actually required by the current text of the tests. Also I just simplified a lot of the loop-convert tests (removing the unecessary temp file deletion at the start, removing the unnecessary && for FileCheck, etc). The remove-cstr-calls/basic.cpp changes were necessitated by an out of tree lit-like test runner that's a bit less fantastic about escaping. They were modeled on existing tooling test cases in Clang, with thanks to Manuel Klimek for the pointers. llvm-svn: 163009
* Add a root CMakeLists.txt and fix up all the test build stuff.Chandler Carruth2012-08-071-6/+5
| | | | | | | | With this we can build and test the remove-cstr-calls tool which should serve as a good example of how to add tools and their tests to the repository. llvm-svn: 161404
* Copy the existing regression test for remove-cstr-calls from the tooling branchChandler Carruth2012-08-071-0/+38
to preserve its history. It's not yet functional. llvm-svn: 161401
OpenPOWER on IntegriCloud