summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize
Commit message (Collapse)AuthorAgeFilesLines
* Fixed some cases in the modularize assistant mode where header file names ↵John Thompson2016-03-211-1/+14
| | | | | | didn't translate to valid module names. llvm-svn: 264001
* Add qualifiers that are about to be necessary. NFCPaul Robinson2016-02-051-2/+2
| | | | llvm-svn: 259949
* Fix build problem by lower SmallSet<N> to a reasonable valueMatthias Braun2016-02-011-1/+1
| | | | llvm-svn: 259424
* Remove autoconf supportChris Bieneman2016-01-261-24/+0
| | | | | | | | | | | | | | | | Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "Now I am become Death, the destroyer of worlds." -J. Robert Oppenheimer Reviewers: chandlerc, grosbach, bob.wilson, echristo Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D16475 llvm-svn: 258864
* There were problems if a relative path is used for an include path, the path ↵John Thompson2015-12-101-2/+2
| | | | | | will be normalized to ./xxx. I don't know how to test this in a way that will work in a separated source/output environment, but it seems reasonable to assume that -I options won't be for provate directories. llvm-svn: 255199
* Added coverage check for extensionless headers, and exclude hidden dot ↵John Thompson2015-12-042-2/+8
| | | | | | directoryies. llvm-svn: 254785
* Backing out 254635 until I have a good workaround and test case.John Thompson2015-12-041-1/+1
| | | | llvm-svn: 254756
* Fixed header determination logic. Was missing extensionless headers in ↵John Thompson2015-12-031-1/+1
| | | | | | coverage check. llvm-svn: 254635
* modularize: add install ruleSaleem Abdulrasool2015-11-171-0/+4
| | | | | | | This allows modularize to be installed. Previously, no install rule would be created for it. llvm-svn: 253310
* Accommodate interface change in r252134.Alexander Kornienko2015-11-051-1/+2
| | | | llvm-svn: 252138
* Revert "Apply modernize-use-default to clang-tools-extra."David Blaikie2015-10-202-4/+4
| | | | | | | | | Breaks the build in GCC 4.7.2 (see http://lab.llvm.org:8011/builders/perf-x86_64-penryn-O3 for example) This reverts commit r250824. llvm-svn: 250862
* Apply modernize-use-default to clang-tools-extra.Angel Garcia Gomez2015-10-202-4/+4
| | | | | | | | | | | | Summary: Replace empty bodies of default constructors and destructors with '= default'. Reviewers: klimek Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13889 llvm-svn: 250824
* Make a bunch of static arrays const.Craig Topper2015-10-181-1/+1
| | | | llvm-svn: 250641
* Prune CRLF.NAKAMURA Takumi2015-09-141-2/+2
| | | | llvm-svn: 247541
* Added mechanism to modularize for doing a compilation precheckJohn Thompson2015-07-105-37/+350
| | | | | | | | | | | | to determine files that have comnpilation or dependency problems. A new -display-file-lists option use this to display lists of good files (no compile errors), problem files, and a combined list with problem files preceded by a '#'. The problem files list can be used in the module map generation assistant mode to exclude problem files. The combined files list can be used during module map development. See added docs. llvm-svn: 241880
* Fixed erroneous comments.John Thompson2015-07-081-5/+1
| | | | llvm-svn: 241726
* Fixed erroneous comment.John Thompson2015-07-081-1/+1
| | | | llvm-svn: 241724
* 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
OpenPOWER on IntegriCloud