John Thompson
655387887d
Fixed module-map-checker to recurse umbrella dirs when collecting headers.
...
llvm-svn: 228695
2015-02-10 14:58:07 +00:00
John Thompson
e0aa5fea15
Renamed module.map to module.modulemap.
...
llvm-svn: 228692
2015-02-10 14:29:16 +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
Richard Smith
2cf124a9f3
Update to match clang r223913.
...
llvm-svn: 223914
2014-12-10 03:10:06 +00:00
Richard Smith
4742353414
Update and simplify to match Clang r223095.
...
llvm-svn: 223098
2014-12-02 00:32:02 +00:00
David Blaikie
206b15b2e4
Update for LLVM API change
...
llvm-svn: 222304
2014-11-19 03:04:29 +00:00
Daniel Jasper
c1de000e22
Fix Makefiles after r220867.
...
llvm-svn: 220868
2014-10-29 18:55:41 +00:00
Alexey Samsonov
d1127d2d1f
Avoid having "using namespace" for both "clang" and "llvm" namespaces.
...
This is fragile, as there are classes with the same name in both
namespaces (e.g. llvm::Module and clang::Module).
llvm-svn: 219855
2014-10-15 22:00:40 +00:00
Craig Topper
775862a277
Unique_ptrify PPCallbacks ownership. Goes with clang r217474.
...
llvm-svn: 217475
2014-09-10 05:07:57 +00:00
David Blaikie
680c4c898c
Recommit 213308: unique_ptr-ify ownership of ASTConsumers (reverted in r213324)
...
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
2014-08-10 19:56:59 +00:00
David Blaikie
5bae2c87d5
Revert "unique_ptr-ify ownership of ASTConsumers"
...
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
2014-07-17 22:33:56 +00:00
David Blaikie
b9574aceae
unique_ptr-ify ownership of ASTConsumers
...
llvm-svn: 213308
2014-07-17 20:40:47 +00:00
NAKAMURA Takumi
04b8b37f56
Prune Redundant libdeps in CMake's target_link_libraries and LLVMBuild.txt.
...
I checked this with Release+Asserts on x86_64-mingw32. Please restore partially if this were overkill.
llvm-svn: 213064
2014-07-15 11:37:03 +00:00
NAKAMURA Takumi
23b702c8de
[CMake] Update libdeps.
...
llvm-svn: 212920
2014-07-14 05:01:53 +00:00
NAKAMURA Takumi
4a070dc428
[CMake] Reorder libdeps by alphabetical order.
...
llvm-svn: 212919
2014-07-14 04:59:27 +00:00
Alp Toker
06164dd854
Track changes from clang r212387, r212388
...
llvm-svn: 212390
2014-07-06 05:29:14 +00:00
Alp Toker
573583e2f2
Track IntrusiveRefCntPtr::get() changes from LLVM r212366
...
llvm-svn: 212367
2014-07-05 03:04:33 +00:00
Rafael Espindola
c7f0d23f56
Prefix error_code with std.
...
llvm-svn: 210840
2014-06-12 22:08:48 +00:00
Rafael Espindola
002840cf66
Quick build fix.
...
llvm-svn: 210838
2014-06-12 22:01:48 +00:00
Rafael Espindola
15c5784d3c
Replace llvm::error_code with std::error_code.
...
llvm-svn: 210776
2014-06-12 13:32:11 +00:00
Rafael Espindola
d9ba837bfd
Use generic_category from the std namespace.
...
llvm-svn: 210735
2014-06-12 01:57:33 +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
NAKAMURA Takumi
07ef316ff3
[CMake] module-map-checker itself should depend just on LLVMSupport.
...
llvm-svn: 199072
2014-01-13 03:20:07 +00:00
Chandler Carruth
85e6e87171
Run llvm/utils/sort_includes.py over the Clang tools code. This doesn't
...
always produce as pretty of results as it does in LLVM and Clang, but
I don't mind and the value of having a single canonical ordering is very
high IMO.
Let me know if you spot really serious problems here.
llvm-svn: 198703
2014-01-07 20:05:01 +00:00
John Thompson
e0756452a3
Initial checkin of new module-map-checker tool.
...
llvm-svn: 198693
2014-01-07 15:22:08 +00:00