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
John Thompson
a2b66875d3
Added colon to make proper error message prefix.
...
llvm-svn: 191092
2013-09-20 14:44:20 +00:00
Alexey Samsonov
2a8fcee302
Don't use default label in fully covered switch
...
llvm-svn: 190992
2013-09-19 07:35:47 +00:00
John Thompson
740839260b
Check for #include in extern and namespace blocks.
...
llvm-svn: 190950
2013-09-18 18:19:43 +00:00
Benjamin Kramer
3353a10339
Modularize: Use in-place version of sys::path::native.
...
llvm-svn: 190511
2013-09-11 10:45:25 +00:00
John Thompson
7d0213c581
modularize - Fix of header dependencies - this time with the source.
...
llvm-svn: 189984
2013-09-04 20:46:24 +00:00
John Thompson
53a9d2da49
modularize - Update main comment.
...
llvm-svn: 189968
2013-09-04 18:29:36 +00:00
Bob Wilson
f5999bda8c
Revert svn 189837 "Added header dependencies support."
...
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
2013-09-04 16:48:28 +00:00
John Thompson
7475180f9b
Added header dependencies support.
...
llvm-svn: 189837
2013-09-03 18:48:43 +00:00
John Thompson
cc2e291dac
Ran clang-format for a base-line.
...
llvm-svn: 189836
2013-09-03 18:44:11 +00:00
John Thompson
9e8d672206
Updated the main comment with respect to problems and future directions.
...
llvm-svn: 189229
2013-08-26 15:55:47 +00:00
John Thompson
8e01c069c9
Fixed some issues that resulted in erroneous duplicate symbol error messages.
...
llvm-svn: 189228
2013-08-26 15:17:23 +00:00
Alexey Samsonov
f656e1783b
Add dependencies on TransformUtils library in preparation for re-applying r188666
...
llvm-svn: 188674
2013-08-19 13:58:56 +00:00
John Thompson
c8d710cc82
Avoid errors on header guards using #if defined(NAME).
...
llvm-svn: 188306
2013-08-13 18:11:36 +00:00
Nico Weber
8e20be2aea
Remove CRs added in r187370.
...
llvm-svn: 188168
2013-08-12 11:43:36 +00:00
John Thompson
bb0a3b0668
Fixed coding convention naming issue - variable names start with uppercase.
...
llvm-svn: 188070
2013-08-09 13:52:09 +00:00
John Thompson
91555bde88
Fix false error message for function-style macro instance used as arguments in other function-style macros instances, and add test for it.
...
llvm-svn: 188036
2013-08-09 00:22:20 +00:00
John Thompson
4fa9c2cbc6
Extend comments for problems and future directions.
...
llvm-svn: 188035
2013-08-09 00:19:03 +00:00
John Thompson
181ea2e957
Comment changes. Added current problems comment.
...
llvm-svn: 187942
2013-08-08 00:00:10 +00:00
John Thompson
4ed963a0ba
Fixed incorrect header guard/nested header mechanism.
...
llvm-svn: 187898
2013-08-07 18:49:47 +00:00
John Thompson
48df096c3f
Fixed uninitialized member, plus recommit of 187736.
...
llvm-svn: 187757
2013-08-05 23:55:14 +00:00
Arnold Schwaighofer
30448e607e
Reverting r187736. It broke some public bots:
...
http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/10248
http://bb.pgr.jp/builders/cmake-clang-i686-mingw32/builds/3327
llvm-svn: 187746
2013-08-05 22:03:41 +00:00
John Thompson
ea8e668516
Fixed incorrect include file exit detection. Added work-around to avoid error on header guard in nested include. Fixed a couple of coding standard issues on variable names.
...
llvm-svn: 187736
2013-08-05 19:15:50 +00:00
John Thompson
dc118270ac
Fixed comment typo.
...
llvm-svn: 187384
2013-07-29 21:59:41 +00:00
John Thompson
7c6e79f395
Fixed comment issues (non-ASCII chars, typos) per review, expanded some comments.
...
llvm-svn: 187370
2013-07-29 19:07:00 +00:00
Benjamin Kramer
f25768103a
modularize: Remove default case from fully covered switch.
...
llvm-svn: 187306
2013-07-27 15:57:46 +00:00
John Thompson
94faa4d0d4
Fixed case change that caused the test failure. Incorporarated Sean's review changes, consisting only of renaming and comment changes.
...
llvm-svn: 187277
2013-07-26 23:56:42 +00:00
Rafael Espindola
17b15cfbe3
Revert "Added new feature for checking macro and preprocessor conditional consistency."
...
This reverts commit r187228. It broke some bots:
http://bb.pgr.jp/builders/cmake-clang-i686-mingw32
llvm-svn: 187235
2013-07-26 19:23:33 +00:00
John Thompson
1e0101461e
Added new feature for checking macro and preprocessor conditional consistency.
...
llvm-svn: 187228
2013-07-26 18:16:22 +00:00
John Thompson
b809dfcf3a
Fixed some formatting issues with clang-format to get a baseline.
...
llvm-svn: 186675
2013-07-19 14:19:31 +00:00
John Thompson
161381e120
Ran clang-format on Modularize.cpp to get a baseline for future changes.
...
llvm-svn: 185092
2013-06-27 18:52:23 +00:00
John Thompson
26b567ae6a
Fixed typo.
...
llvm-svn: 184347
2013-06-19 20:35:50 +00:00
John Thompson
54c83695f7
Fixed a typo and naming convention.
...
llvm-svn: 184221
2013-06-18 19:56:05 +00:00
Reid Kleckner
e34930bf6f
Add a dependency on LLVM's option library for clang-tools-extra
...
r183989 added a dependency on LLVMOption in clangFrontend.
llvm-svn: 183990
2013-06-14 17:34:04 +00:00
John Thompson
a44f85abd4
Fixed outdate comment, and comment typo.
...
llvm-svn: 179568
2013-04-15 22:32:28 +00:00
John Thompson
52d9886500
modularize - Fixed broken array use (asserted in tests). Renamed KindType enum.
...
llvm-svn: 178259
2013-03-28 18:38:43 +00:00
Michael Gottesman
4b24921965
Revert "modularize - Fixed poor array usage."
...
This has broken buildbots for a few hours.
llvm-svn: 178223
2013-03-28 06:07:15 +00:00
John Thompson
3b1ee2b87f
modularize - Updated futures comment.
...
llvm-svn: 178216
2013-03-28 02:46:25 +00:00
John Thompson
9663d8c46d
modularize - Fixed poor array usage.
...
llvm-svn: 178214
2013-03-28 02:44:31 +00:00
David Blaikie
c66c07d444
Fix a default on covered switch found by -Wcovered-switch-default
...
Introduced in r178207
llvm-svn: 178212
2013-03-28 02:30:37 +00:00
John Thompson
4e4d9b3abf
modularize - revised to group duplicate symbols together in the error output.
...
llvm-svn: 178207
2013-03-28 01:20:19 +00:00
John Thompson
ea6c8dbf71
Broke out header file list reading into separate function. Moved options to front. Removed some trailing spaces.
...
llvm-svn: 178182
2013-03-27 21:23:21 +00:00
John Thompson
fd8ca38ad5
Added informational comment about using -x c++.
...
llvm-svn: 178172
2013-03-27 19:31:22 +00:00
John Thompson
d977c1e6c5
Fixed path in file comment. Fixed #include order.
...
llvm-svn: 178164
2013-03-27 18:34:38 +00:00
John Thompson
f5db45bc16
Revised to use MemoryBuffer. Removed redundant llvm:: qualifiers. Removed unnecessary c_str() calls. Reformatted with clang-format.
...
llvm-svn: 178104
2013-03-27 01:02:46 +00:00
John Thompson
a2de1088b7
Revised to use file list path as reference path, or path provide by new -prefix option. Revised to use LLVM option parser.
...
llvm-svn: 177959
2013-03-26 01:17:48 +00:00
John Thompson
ce601e21d0
Added future directions comment and a couple of fixme's.
...
llvm-svn: 176998
2013-03-14 01:41:29 +00:00
John Thompson
1f67ccb3fd
Review feedback change per Edwin: Move non-public members to end of classes.
...
llvm-svn: 176883
2013-03-12 18:51:47 +00:00
John Thompson
4f8ba659d9
Initial check in of Doug's modularize tool for checking header readiness for modules, plus some changes per review feedback: Removed system headers, changed to use stream output, added file name in message.
...
llvm-svn: 176847
2013-03-12 02:07:30 +00:00