Faisal Vali
a8e84625d8
[NFC] Sync function call with changes to interface made in r314593.
...
llvm-svn: 314595
2017-09-30 14:36:00 +00:00
Reid Kleckner
3fc649cb76
[Support] Rename tool_output_file to ToolOutputFile, NFC
...
This class isn't similar to anything from the STL, so it shouldn't use
the STL naming conventions.
llvm-svn: 314050
2017-09-23 01:03:17 +00:00
Rafael Espindola
d63b2f3996
Update for PrintHelpMessage not calling exit.
...
llvm-svn: 312769
2017-09-08 00:33:39 +00:00
Faisal Vali
cb8e01acd0
[NFC] Update function call names as changed in MacroInfo that should refer to Parameters (as opposed to Arguments).
...
This syncs them up with clang commit r308190
Thanks!
llvm-svn: 308191
2017-07-17 17:20:57 +00:00
Petr Hosek
fe0e145aed
[CMake] Use tools template for clangd and modularize
...
This makes them usable as distribution components in the build.
Differential Revision: https://reviews.llvm.org/D35017
llvm-svn: 307601
2017-07-11 00:18:07 +00:00
David Blaikie
a67cf0001f
Fix memory leak by using unique_ptr
...
llvm-svn: 294823
2017-02-11 05:25:21 +00:00
David Blaikie
201f0f5502
Fixes for Clang API change
...
llvm-svn: 291203
2017-01-06 01:09:06 +00:00
Piotr Padlewski
ce452ceb6a
Deleted unused typedef
...
llvm-svn: 289658
2016-12-14 15:42:23 +00:00
Piotr Padlewski
08124b110a
modernize-use-auto NFC fixes
...
llvm-svn: 289656
2016-12-14 15:29:23 +00:00
Martin Bohme
e9a265a267
Adapt to TraverseLambdaCapture interface change from D23204
...
Summary:
Depends on D23204.
This is intended to be submitted immediately after D23204 lands.
Reviewers: jdennett, alexfh
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D23543
llvm-svn: 278934
2016-08-17 15:00:22 +00:00
John Thompson
1c158c192a
Fixed some cases in the modularize assistant mode where header file names didn't translate to valid module names.
...
llvm-svn: 264001
2016-03-21 23:05:14 +00:00
Paul Robinson
f868d0b238
Add qualifiers that are about to be necessary. NFC
...
llvm-svn: 259949
2016-02-05 23:20:02 +00:00
Matthias Braun
48c8426fa2
Fix build problem by lower SmallSet<N> to a reasonable value
...
llvm-svn: 259424
2016-02-01 22:18:58 +00:00
Chris Bieneman
2cc7fec76a
Remove autoconf support
...
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
2016-01-26 21:31:36 +00:00
John Thompson
442f1b2795
There were problems if a relative path is used for an include path, the path 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
2015-12-10 01:33:09 +00:00
John Thompson
b3eef01eda
Added coverage check for extensionless headers, and exclude hidden dot directoryies.
...
llvm-svn: 254785
2015-12-04 22:42:18 +00:00
John Thompson
e557308fb9
Backing out 254635 until I have a good workaround and test case.
...
llvm-svn: 254756
2015-12-04 19:44:03 +00:00
John Thompson
e753fc97ec
Fixed header determination logic. Was missing extensionless headers in coverage check.
...
llvm-svn: 254635
2015-12-03 19:20:43 +00:00
Saleem Abdulrasool
9dc1b0f29d
modularize: add install rule
...
This allows modularize to be installed. Previously, no install rule would be
created for it.
llvm-svn: 253310
2015-11-17 05:09:18 +00:00
Alexander Kornienko
0caf6dadce
Accommodate interface change in r252134.
...
llvm-svn: 252138
2015-11-05 02:30:21 +00:00
David Blaikie
e04a3da093
Revert "Apply modernize-use-default to clang-tools-extra."
...
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
2015-10-20 21:45:52 +00:00
Angel Garcia Gomez
3ca34bc870
Apply modernize-use-default to clang-tools-extra.
...
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
2015-10-20 12:56:27 +00:00
Craig Topper
45857d4b58
Make a bunch of static arrays const.
...
llvm-svn: 250641
2015-10-18 05:14:41 +00:00
NAKAMURA Takumi
fdaefe533b
Prune CRLF.
...
llvm-svn: 247541
2015-09-14 11:13:39 +00:00
John Thompson
4018c62428
Added mechanism to modularize for doing a compilation precheck
...
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
2015-07-10 00:37:25 +00:00
John Thompson
91656d2db6
Fixed erroneous comments.
...
llvm-svn: 241726
2015-07-08 21:05:57 +00:00
John Thompson
ddd7dea4b1
Fixed erroneous comment.
...
llvm-svn: 241724
2015-07-08 20:57:32 +00:00
Yaron Keren
40178c352e
Revert r241330. It compiled with Visual C++ 2013 and gcc 4.9.1 (mingw) but now fails the bots.
...
llvm-svn: 241335
2015-07-03 09:30:33 +00:00
Yaron Keren
452670165c
Replace some const std::string & with llvm::StringRef or std::string
...
and std::move to avoid implicit std::string construction.
Patch by Eugene Kosov.
llvm-svn: 241330
2015-07-03 09:16:20 +00:00
David Blaikie
1f02f962f5
Update for LLVM API change to return by InputArgList directly (rather than by pointer) from ParseArgs
...
llvm-svn: 240348
2015-06-22 22:06:58 +00:00
David Blaikie
faa9280bdc
Update for ParseARgs ArrayRef-ification
...
llvm-svn: 240239
2015-06-21 06:58:19 +00:00
John Thompson
96f5551b03
Fixed modularize to warn about missing headers referenced in a module map.
...
llvm-svn: 239122
2015-06-04 23:35:19 +00:00
John Thompson
cf777e9f05
Fixed option comment. '=' is required.
...
llvm-svn: 238997
2015-06-04 01:10:19 +00:00
Richard Smith
9d5ae2174b
Update to match clang r237508.
...
llvm-svn: 237509
2015-05-16 03:10:31 +00:00
Daniel Marjamaki
89ec723468
Refactor MacroInfo so range for loops can be used to iterate its tokens.
...
Differential Revision: http://reviews.llvm.org/D9079
llvm-svn: 236976
2015-05-11 08:26:25 +00:00
John Thompson
f9f62b116f
Changed option processing to implicitly use -x c++ if no other -x option specified. Added implicit -w option to disable compilation warnings, in particular to avoid warning on pragma once.
...
llvm-svn: 236625
2015-05-06 18:43:01 +00:00
John Thompson
fcf3f47d7a
Fixed infinite recursion bug.
...
llvm-svn: 236624
2015-05-06 18:39:15 +00:00
Richard Smith
33de8566f0
Update to match clang r236404.
...
llvm-svn: 236405
2015-05-04 03:15:55 +00:00
Richard Smith
76e66607a3
Fix clang-tools-extra build after clang r235614.
...
llvm-svn: 235642
2015-04-23 20:38:48 +00:00
Alexander Kornienko
87638f6345
Use 'override/final' instead of 'virtual' for overridden methods
...
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
2015-04-11 07:59:33 +00:00
David Blaikie
4754aa80e5
Refactor: Simplify boolean expression in modularize
...
Simplify boolean expressions using `true` and `false` with `clang-tidy`
Patch by Richard Thomson.
Differential Revision: http://reviews.llvm.org/D8534
llvm-svn: 233000
2015-03-23 19:40:59 +00:00
Benjamin Kramer
e71037123b
Make helpers static. clang-tools edition.
...
Also purge dead code found by it. NFC.
llvm-svn: 232948
2015-03-23 12:49:15 +00:00
John Thompson
84ced5c1af
Renamed function to avoid confusion about purpose.
...
llvm-svn: 231440
2015-03-06 00:39:42 +00:00
John Thompson
b70ecf6eef
Fixed canonical path function.
...
llvm-svn: 230665
2015-02-26 19:31:10 +00:00
Adrian Prantl
b97f5c1eb2
Revert "Adapt clang-tools-extra to clang module format changes."
...
This reverts commit 230424.
llvm-svn: 230456
2015-02-25 02:46:37 +00:00
Adrian Prantl
e95edbf5a9
Adapt clang-tools-extra to clang module format changes.
...
- add clangCodeGen.a to the tools that need it
- tweak pp-trace command line handling to not conflict with clang's.
llvm-svn: 230424
2015-02-25 01:32:04 +00:00
Adrian Prantl
a22fd38174
Revert "Adapt Makefile dependencies for the clang module format change in r230089."
...
llvm-svn: 230104
2015-02-21 00:29:43 +00:00
Adrian Prantl
6897e3e456
Adapt Makefile dependencies for the clang module format change in r230089.
...
llvm-svn: 230090
2015-02-20 23:35:07 +00:00
Nick Lewycky
d07cfbdaa7
Remove carriage returns.
...
llvm-svn: 229975
2015-02-20 07:05:56 +00:00
John Thompson
8eb8d93672
Added module map coverage support, extracted from module-map-checker.
...
llvm-svn: 229869
2015-02-19 16:47:27 +00:00