summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert r241330. It compiled with Visual C++ 2013 and gcc 4.9.1 (mingw) but ↵Yaron Keren2015-07-031-2/+2
| | | | | | now fails the bots. llvm-svn: 241335
* Replace some const std::string & with llvm::StringRef or std::stringYaron Keren2015-07-031-2/+2
| | | | | | | | and std::move to avoid implicit std::string construction. Patch by Eugene Kosov. llvm-svn: 241330
* Update for LLVM API change to return by InputArgList directly (rather than ↵David Blaikie2015-06-221-3/+3
| | | | | | by pointer) from ParseArgs llvm-svn: 240348
* Update for ParseARgs ArrayRef-ificationDavid Blaikie2015-06-211-3/+2
| | | | llvm-svn: 240239
* Fixed modularize to warn about missing headers referenced in a module map.John Thompson2015-06-044-7/+28
| | | | llvm-svn: 239122
* Fixed option comment. '=' is required.John Thompson2015-06-041-5/+6
| | | | llvm-svn: 238997
* Update to match clang r237508.Richard Smith2015-05-162-4/+4
| | | | llvm-svn: 237509
* Refactor MacroInfo so range for loops can be used to iterate its tokens.Daniel Marjamaki2015-05-111-4/+3
| | | | | | Differential Revision: http://reviews.llvm.org/D9079 llvm-svn: 236976
* Changed option processing to implicitly use -x c++ if no other -x option ↵John Thompson2015-05-061-4/+12
| | | | | | specified. Added implicit -w option to disable compilation warnings, in particular to avoid warning on pragma once. llvm-svn: 236625
* Fixed infinite recursion bug.John Thompson2015-05-061-1/+1
| | | | llvm-svn: 236624
* Update to match clang r236404.Richard Smith2015-05-041-10/+10
| | | | llvm-svn: 236405
* Fix clang-tools-extra build after clang r235614.Richard Smith2015-04-231-1/+1
| | | | llvm-svn: 235642
* Use 'override/final' instead of 'virtual' for overridden methodsAlexander Kornienko2015-04-113-25/+28
| | | | | | | | | | | | | | | | | | | | | | Summary: The patch is generated using clang-tidy misc-use-override check. This command was used: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ -checks='-*,misc-use-override' -header-filter='llvm|clang' -j=32 -fix svn diff | clang-format-diff -i Reviewers: dblaikie Reviewed By: dblaikie Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D8927 llvm-svn: 234681
* Refactor: Simplify boolean expression in modularizeDavid Blaikie2015-03-231-1/+1
| | | | | | | | | | Simplify boolean expressions using `true` and `false` with `clang-tidy` Patch by Richard Thomson. Differential Revision: http://reviews.llvm.org/D8534 llvm-svn: 233000
* Make helpers static. clang-tools edition.Benjamin Kramer2015-03-234-106/+35
| | | | | | Also purge dead code found by it. NFC. llvm-svn: 232948
* Renamed function to avoid confusion about purpose.John Thompson2015-03-061-3/+5
| | | | llvm-svn: 231440
* Fixed canonical path function.John Thompson2015-02-262-2/+21
| | | | llvm-svn: 230665
* Revert "Adapt clang-tools-extra to clang module format changes."Adrian Prantl2015-02-251-4/+2
| | | | | | This reverts commit 230424. llvm-svn: 230456
* Adapt clang-tools-extra to clang module format changes.Adrian Prantl2015-02-251-2/+4
| | | | | | | - add clangCodeGen.a to the tools that need it - tweak pp-trace command line handling to not conflict with clang's. llvm-svn: 230424
* Revert "Adapt Makefile dependencies for the clang module format change in ↵Adrian Prantl2015-02-211-9/+2
| | | | | | r230089." llvm-svn: 230104
* Adapt Makefile dependencies for the clang module format change in r230089.Adrian Prantl2015-02-201-2/+9
| | | | llvm-svn: 230090
* Remove carriage returns.Nick Lewycky2015-02-201-5/+5
| | | | llvm-svn: 229975
* Added module map coverage support, extracted from module-map-checker.John Thompson2015-02-196-11/+735
| | | | llvm-svn: 229869
* Pruned some unneeded code and comments.John Thompson2015-02-192-8/+4
| | | | llvm-svn: 229855
* Added support for extracting headers from module maps as a source for the ↵John Thompson2015-02-183-16/+313
| | | | | | header list. llvm-svn: 229692
* Temporary hack to avoid false errors. Real fix comming.John Thompson2015-02-181-0/+3
| | | | llvm-svn: 229690
* Updated file comment on modularize usage, as it was out-of-date.John Thompson2015-02-181-3/+23
| | | | llvm-svn: 229677
* Add canonical path conversion function and use it so paths are consistent.John Thompson2015-02-173-2/+28
| | | | llvm-svn: 229540
* Fix broken logic for include in block check.John Thompson2015-02-131-1/+1
| | | | llvm-svn: 229187
* Moved header list loading to new class. This is staging for adding module ↵John Thompson2015-02-134-93/+218
| | | | | | map loading and checking support. llvm-svn: 229108
* Modularize.cpp: Simplify. Vector may be aware of ranged-for.NAKAMURA Takumi2015-02-131-6/+5
| | | | llvm-svn: 228993
* Modularize.cpp: Prune CRLFs.NAKAMURA Takumi2015-02-131-4/+4
| | | | llvm-svn: 228992
* Added support for multiple header list files, as a precursor for when we ↵John Thompson2015-02-121-9/+13
| | | | | | need to load multiple module maps. llvm-svn: 228935
* Fixed incorrect header inclusion tracking resulting in false error reports.John Thompson2015-02-121-1/+4
| | | | llvm-svn: 228929
* Added -block-check-header-list-only option. This is a work-around for ↵John Thompson2015-02-113-7/+51
| | | | | | private includes that purposefully get included inside blocks. llvm-svn: 228846
* Centralize canonical path conversion.John Thompson2015-02-111-4/+9
| | | | llvm-svn: 228845
* Renamed module.map to module.modulemap (modularize).John Thompson2015-02-102-8/+9
| | | | llvm-svn: 228693
* Replace size call with empty call where appripriate in clang/tools/extraAlexander Kornienko2015-01-221-1/+1
| | | | | | | | | | | This patch is the result of applying fixes of the ContainerSizeEmpty Clang-Tidy checker which was committed recently. http://reviews.llvm.org/D7085 Patch by Gábor Horváth! llvm-svn: 226817
* 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
* Update for LLVM API change to make Small(Ptr)Set::insert return ↵David Blaikie2014-11-191-1/+1
| | | | | | pair<iterator, bool> as per the C++ standard's associative container concept. llvm-svn: 222336
* Unique_ptrify PPCallbacks ownership. Goes with clang r217474.Craig Topper2014-09-101-1/+2
| | | | llvm-svn: 217475
* Update for LLVM api changeRafael Espindola2014-08-251-5/+5
| | | | llvm-svn: 216396
* 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
* [CMake] Update libdeps.NAKAMURA Takumi2014-07-141-0/+1
| | | | llvm-svn: 212920
* Update for llvm api change.Rafael Espindola2014-07-061-5/+5
| | | | llvm-svn: 212406
* Unbreak the build after r211244.David Blaikie2014-06-191-13/+0
| | | | | | | | | These operator overloads were unneeded (once the const correctness in PooledStringPtr was corrected) and inefficient (since the strings are pooled the pointers can just be compared for equality instead of doing strcmp). llvm-svn: 211245
* Prefix error_code with std.Rafael Espindola2014-06-121-8/+8
| | | | llvm-svn: 210840
OpenPOWER on IntegriCloud