summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize/Modularize.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make ArgumentsAdjuster an std::function (clang-tools-extra part of D6505).Alexander Kornienko2014-12-031-21/+13
| | | | | | | | | | | | Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6506 llvm-svn: 223249
* Recommit 213308: unique_ptr-ify ownership of ASTConsumers (reverted in r213324)David Blaikie2014-08-101-4/+4
| | | | | | | | After post-commit review and community discussion, this seems like a reasonable direction to continue, making ownership semantics explicit in the source using the type system. llvm-svn: 215324
* Plug memory leaks.Benjamin Kramer2014-07-241-2/+2
| | | | | | | Most of the changes are mechanic std::unique_ptr insertions. All leaks were detected by LeakSanitizer. llvm-svn: 213851
* Revert "unique_ptr-ify ownership of ASTConsumers"David Blaikie2014-07-171-4/+4
| | | | | | | | | This reverts commit r213308. Reverting to have some on-list discussion/confirmation about the ongoing direction of smart pointer usage in the LLVM project. llvm-svn: 213324
* unique_ptr-ify ownership of ASTConsumersDavid Blaikie2014-07-171-4/+4
| | | | llvm-svn: 213308
* Update for llvm api change.Rafael Espindola2014-07-061-5/+5
| | | | llvm-svn: 212406
* Prefix error_code with std.Rafael Espindola2014-06-121-8/+8
| | | | llvm-svn: 210840
* Quick build fix.Rafael Espindola2014-06-121-0/+1
| | | | llvm-svn: 210838
* [C++11] Use 'nullptr'.Craig Topper2014-06-091-1/+1
| | | | llvm-svn: 210447
* Remove inclusions of LLVM's private config.hAlp Toker2014-06-041-1/+0
| | | | llvm-svn: 210146
* Use error_code() instead of error_code::succes()Rafael Espindola2014-05-311-1/+1
| | | | | | | There is no std::error_code::success, so this removes much of the noise in transitioning to std::error_code. llvm-svn: 209953
* Update for Clang API change and move ClangTidyDiagnosticRenderer into an ↵Benjamin Kramer2014-05-101-1/+1
| | | | | | anonymous namespace while there. llvm-svn: 208471
* [C++11] Replace OwningPtr with std::unique_ptr.Ahmed Charles2014-03-091-6/+5
| | | | | | | | 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
* Fix the top header that corresponds to this source file. Thanks forChandler Carruth2014-01-071-1/+1
| | | | | | spotting this Cody Maloney! llvm-svn: 198716
* Run llvm/utils/sort_includes.py over the Clang tools code. This doesn'tChandler Carruth2014-01-071-2/+2
| | | | | | | | | | always produce as pretty of results as it does in LLVM and Clang, but I don't mind and the value of having a single canonical ordering is very high IMO. Let me know if you spot really serious problems here. llvm-svn: 198703
* Fix assertion error.John Thompson2013-12-101-1/+1
| | | | llvm-svn: 196863
* Improve comment, as requested by Alp Toker.John Thompson2013-12-041-1/+1
| | | | llvm-svn: 196409
* Fix a variety of user-visible and comment typosAlp Toker2013-12-011-2/+2
| | | | llvm-svn: 196038
* Added module map generation option.John Thompson2013-10-151-4/+56
| | | | llvm-svn: 192703
* Don't use default label in fully covered switchAlexey Samsonov2013-09-191-2/+0
| | | | llvm-svn: 190992
* Check for #include in extern and namespace blocks.John Thompson2013-09-181-21/+82
| | | | llvm-svn: 190950
* Modularize: Use in-place version of sys::path::native.Benjamin Kramer2013-09-111-2/+2
| | | | llvm-svn: 190511
* modularize - Fix of header dependencies - this time with the source.John Thompson2013-09-041-11/+103
| | | | llvm-svn: 189984
* modularize - Update main comment.John Thompson2013-09-041-11/+7
| | | | llvm-svn: 189968
* Revert svn 189837 "Added header dependencies support."Bob Wilson2013-09-041-132/+29
| | | | | | | The NoProblemsDependencies.modularize test is failing on many buildbots. I have also reverted the change in 189904 to disable that test for MSVC. llvm-svn: 189957
* Added header dependencies support.John Thompson2013-09-031-29/+132
| | | | llvm-svn: 189837
* Ran clang-format for a base-line.John Thompson2013-09-031-8/+7
| | | | llvm-svn: 189836
* Updated the main comment with respect to problems and future directions.John Thompson2013-08-261-32/+16
| | | | llvm-svn: 189229
* Fixed some issues that resulted in erroneous duplicate symbol error messages.John Thompson2013-08-261-1/+11
| | | | llvm-svn: 189228
* Remove CRs added in r187370.Nico Weber2013-08-121-20/+20
| | | | llvm-svn: 188168
* Fixed coding convention naming issue - variable names start with uppercase.John Thompson2013-08-091-33/+33
| | | | llvm-svn: 188070
* Extend comments for problems and future directions.John Thompson2013-08-091-2/+15
| | | | llvm-svn: 188035
* Comment changes. Added current problems comment.John Thompson2013-08-081-3/+23
| | | | llvm-svn: 187942
* Fixed comment typo.John Thompson2013-07-291-1/+1
| | | | llvm-svn: 187384
* Fixed comment issues (non-ASCII chars, typos) per review, expanded some ↵John Thompson2013-07-291-7/+33
| | | | | | comments. llvm-svn: 187370
* Fixed case change that caused the test failure. Incorporarated Sean's ↵John Thompson2013-07-261-8/+38
| | | | | | review changes, consisting only of renaming and comment changes. llvm-svn: 187277
* Revert "Added new feature for checking macro and preprocessor conditional ↵Rafael Espindola2013-07-261-38/+8
| | | | | | | | | consistency." This reverts commit r187228. It broke some bots: http://bb.pgr.jp/builders/cmake-clang-i686-mingw32 llvm-svn: 187235
* Added new feature for checking macro and preprocessor conditional consistency.John Thompson2013-07-261-8/+38
| | | | llvm-svn: 187228
* Fixed some formatting issues with clang-format to get a baseline.John Thompson2013-07-191-7/+6
| | | | llvm-svn: 186675
* Ran clang-format on Modularize.cpp to get a baseline for future changes.John Thompson2013-06-271-12/+20
| | | | llvm-svn: 185092
* Fixed typo.John Thompson2013-06-191-1/+1
| | | | llvm-svn: 184347
* Fixed a typo and naming convention.John Thompson2013-06-181-3/+3
| | | | llvm-svn: 184221
* Fixed outdate comment, and comment typo.John Thompson2013-04-151-3/+4
| | | | llvm-svn: 179568
* modularize - Fixed broken array use (asserted in tests). Renamed KindType enum.John Thompson2013-03-281-26/+25
| | | | llvm-svn: 178259
* Revert "modularize - Fixed poor array usage."Michael Gottesman2013-03-281-6/+12
| | | | | | This has broken buildbots for a few hours. llvm-svn: 178223
* modularize - Updated futures comment.John Thompson2013-03-281-5/+3
| | | | llvm-svn: 178216
* modularize - Fixed poor array usage.John Thompson2013-03-281-12/+6
| | | | llvm-svn: 178214
* Fix a default on covered switch found by -Wcovered-switch-defaultDavid Blaikie2013-03-281-2/+1
| | | | | | Introduced in r178207 llvm-svn: 178212
* modularize - revised to group duplicate symbols together in the error output.John Thompson2013-03-281-25/+60
| | | | llvm-svn: 178207
* Broke out header file list reading into separate function. Moved options to ↵John Thompson2013-03-271-52/+69
| | | | | | front. Removed some trailing spaces. llvm-svn: 178182
OpenPOWER on IntegriCloud