aboutsummaryrefslogtreecommitdiff
path: root/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
AgeCommit message (Collapse)Author
2014-09-09clang-apply-replacements: For-rangify.Benjamin Kramer
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@217442 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-09clang-apply-replacements: Deduplicate paths with FileManager.Benjamin Kramer
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. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@217440 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-25Update for LLVM api changeRafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@216396 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-06Update for llvm api change.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@212406 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-12Prefix error_code with std.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@210840 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-12Quick build fix.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@210838 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-12Replace llvm::error_code with std::error_code.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@210776 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-09[C++11] Use 'nullptr'.Craig Topper
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@210447 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-09[C++11] Replace OwningPtr with std::unique_ptr.Ahmed Charles
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. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@203382 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24Update for llvm api change.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@202055 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-24Update for llvm api change.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@202045 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-18Fix the build after r195016.Alexander Kornienko
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@195020 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-30clang-apply-replacements: Add code formatting functionalityEdwin Vane
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(). git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@191667 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-03Rename clang-replace -> clang-apply-replacementsEdwin Vane
Made changes throughout clang-tools-extra for the renaming of clang-replace to clang-apply-replacements as per feedback from community. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@189832 91177308-0d34-0410-b5e6-96231b3b80d8