summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-apply-replacements
Commit message (Collapse)AuthorAgeFilesLines
* Handle newlines on Windows correctly.Nikola Smiljanic2014-12-094-0/+25
| | | | llvm-svn: 223750
* clang-apply-replacements: Deduplicate paths with FileManager.Benjamin Kramer2014-09-091-0/+4
| | | | | | | | Bucket replacements by FileEntry instead of path. The same file with different paths is very common, relative #include paths and symlinks can easily create them. When that occurs we would apply the fix twice. llvm-svn: 217440
* clang-apply-replacements: Add code formatting functionalityEdwin Vane2013-09-305-0/+73
| | | | | | | | | | | | | | The tool now supports a collection of arguments to turn on and provide settings for the formatting of code affected by applying replacements: * --format turns on formatting (default style is LLVM) * --style controls code style settings * --style-config allows one to explicitly indicate where a style config file lives. The libclangApplyReplacements interface has a new function to turn Replacements into Ranges to be used with tooling::reformat(). llvm-svn: 191667
* Fix YAML tests again.Rui Ueyama2013-09-115-18/+18
| | | | llvm-svn: 190489
* Fix YAML tests.Rui Ueyama2013-09-112-14/+14
| | | | llvm-svn: 190487
* Rename clang-replace -> clang-apply-replacementsEdwin Vane2013-09-0310-0/+158
Made changes throughout clang-tools-extra for the renaming of clang-replace to clang-apply-replacements as per feedback from community. llvm-svn: 189832
OpenPOWER on IntegriCloud