Bill Wendling
bca3c9cb2b
Remove unused c'tor.
...
llvm-svn: 346467
2018-11-09 02:03:24 +00:00
Kirill Bobyrev
8e35f1e7cb
NFC: Enforce good formatting across multiple clang-tools-extra files
...
This patch improves readability of multiple files in clang-tools-extra
and enforces LLVM Coding Guidelines.
Reviewed by: ioeric
Differential Revision: https://reviews.llvm.org/D50707
llvm-svn: 339687
2018-08-14 16:03:32 +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
Piotr Padlewski
08124b110a
modernize-use-auto NFC fixes
...
llvm-svn: 289656
2016-12-14 15:29:23 +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
Craig Topper
45857d4b58
Make a bunch of static arrays const.
...
llvm-svn: 250641
2015-10-18 05:14:41 +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
5d9862f071
Renamed module.map to module.modulemap (modularize).
...
llvm-svn: 228693
2015-02-10 14:45:30 +00:00
Alexander Kornienko
bf87a8b714
Replace size call with empty call where appripriate in clang/tools/extra
...
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
2015-01-22 13:14:29 +00:00
Rafael Espindola
b14bd53e6d
Update for LLVM api change
...
llvm-svn: 216396
2014-08-25 18:17:00 +00:00
Craig Topper
f61be9c971
[C++11] Use 'nullptr'.
...
llvm-svn: 210447
2014-06-09 02:03:06 +00:00
Ahmed Charles
6a2dc5c381
[C++11] Replace OwningPtr with std::unique_ptr.
...
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
2014-03-09 09:24:40 +00:00
Rafael Espindola
26af26255c
Update for llvm api change.
...
llvm-svn: 202055
2014-02-24 18:21:04 +00:00
Rafael Espindola
dc59a36caa
Update for llvm api change.
...
llvm-svn: 202045
2014-02-24 15:41:44 +00:00
Alp Toker
58983f1398
Fix typo
...
llvm-svn: 198831
2014-01-09 01:39:49 +00:00
NAKAMURA Takumi
bf5391d2ef
clang-tools-extra/modularize: Compare Paths to Prefix as natively-canonicalized form.
...
On Win32, paths are not expected to be canonicalized.
llvm-svn: 192763
2013-10-16 01:42:33 +00:00
Will Dietz
0f3b4aaf34
ModuleAssistant: Fix warning, don't return bool as a pointer.
...
No functionality change intended.
llvm-svn: 192713
2013-10-15 15:45:00 +00:00
John Thompson
5ab4f11152
Added module map generation option.
...
llvm-svn: 192703
2013-10-15 13:52:33 +00:00