summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Handle newlines on Windows correctly.Nikola Smiljanic2014-12-091-1/+1
| | | | llvm-svn: 223750
* clang-apply-replacements: For-rangify.Benjamin Kramer2014-09-091-5/+4
| | | | | | No functionality change. llvm-svn: 217442
* clang-apply-replacements: Deduplicate paths with FileManager.Benjamin Kramer2014-09-091-14/+13
| | | | | | | | 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
* Update for Clang API change.David Blaikie2014-08-271-3/+2
| | | | llvm-svn: 216615
* Update for LLVM api change.Rafael Espindola2014-08-271-2/+3
| | | | llvm-svn: 216584
* Update for LLVM api changeRafael Espindola2014-08-251-4/+3
| | | | llvm-svn: 216396
* Track IntrusiveRefCntPtr::get() changes from LLVM r212366Alp Toker2014-07-051-1/+1
| | | | llvm-svn: 212367
* Prefix error_code with std.Rafael Espindola2014-06-121-2/+1
| | | | llvm-svn: 210840
* Quick build fix.Rafael Espindola2014-06-121-0/+1
| | | | llvm-svn: 210838
* [C++11] Replace OwningPtr with std::unique_ptr.Ahmed Charles2014-03-091-1/+1
| | | | | | | | This removes all references to OwningPtr, which should be fairly undisruptive to out-of-tree projects since they are unlikely to use clang-tools-extra as a library instead of a set of tools. llvm-svn: 203382
* Update for llvm api change.Rafael Espindola2014-02-241-1/+1
| | | | llvm-svn: 202055
* Update for llvm api change.Rafael Espindola2014-02-241-1/+2
| | | | llvm-svn: 202045
* Adapt the code to the interface change in r196108.Alexander Kornienko2013-12-021-1/+1
| | | | llvm-svn: 196109
* clang-modernize: Apply replacements using clang-apply-replacementsEdwin Vane2013-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | Summary: The clang-apply-replacements process is now invoked to apply replacements between applying transforms. This resulted in a massive simplification of the tool: - FileOverrides class no longer needed. - Change tracking and code formatting no longer needed. - No more dependency on libclangApplyReplacements. - Final syntax check is easier to do directly now than with a separate header/source pair. Replacement handling stuff abstracted into a new header/source pair to de-clutter ClangModernize.cpp somewhat. Tests updated. Differential Revision: http://llvm-reviews.chandlerc.com/D1836 llvm-svn: 192032
* clang-apply-replacements: Fixing doxygen warningEdwin Vane2013-10-011-0/+1
| | | | llvm-svn: 191754
* clang-apply-replacements: Add code formatting functionalityEdwin Vane2013-09-301-8/+173
| | | | | | | | | | | | | | 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
* clang-apply-replacements: Clean up -help and -versionEdwin Vane2013-09-241-0/+23
| | | | | | | | | | Options that leak from other parts of LLVM are now pruned out of -help. -version output is specific to clang-apply-replacements now. Differential Revision: http://llvm-reviews.chandlerc.com/D1747 llvm-svn: 191322
* Rename clang-replace -> clang-apply-replacementsEdwin Vane2013-09-031-0/+96
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