| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 357907
|
|
|
|
|
|
| |
format`
llvm-svn: 357906
|
|
|
|
|
|
|
|
|
|
| |
This change also introduces the clang_enable_per_target_runtime_dir
to enable the use of per-target runtime directory layout which is the
equivalent of LLVM_ENABLE_PER_TARGET_RUNTIME_DIR CMake option.
Differential Revision: https://reviews.llvm.org/D60332
llvm-svn: 357850
|
|
|
|
| |
llvm-svn: 357830
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is support for building compiler-rt builtins, The library build
should be complete for a subset of supported platforms, but not all
CMake options have been replicated in GN.
We always use the just built compiler to build all the runtimes, which
is equivalent to the CMake runtimes build. This simplifies the build
configuration because we don't need to support arbitrary host compiler
and can always assume the latest Clang. With GN's toolchain support,
this is significantly more efficient than the CMake runtimes build.
Differential Revision: https://reviews.llvm.org/D60331
llvm-svn: 357821
|
|
|
|
|
|
|
|
|
|
|
| |
We should be always rebasing paths against root_build_dir which is
the directory where scripts are run from, not root_out_dir which is
the current toolchain directory. The latter can result in invalid
paths when the action is being used from a non-default toolchain.
Differential Revision: https://reviews.llvm.org/D60330
llvm-svn: 357798
|
|
|
|
|
|
|
|
|
| |
This allows it to be disabled for targets that need exceptions
like libunwind, libc++abi and libc++.
Differential Revision: https://reviews.llvm.org/D60328
llvm-svn: 357797
|
|
|
|
| |
llvm-svn: 357783
|
|
|
|
| |
llvm-svn: 357781
|
|
|
|
| |
llvm-svn: 357666
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This avoids the need to talk about lib.exe or llvm-lib.exe and it does
the right thing with LLD.
Reviewers: thakis
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60155
llvm-svn: 357660
|
|
|
|
|
|
|
|
|
| |
None of check-clang-tools's tests run this, but the CMake
check-clang-tools depends on the binary, so add it for consistency.
Differential Revision: https://reviews.llvm.org/D60222
llvm-svn: 357624
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a bit of a larger change since this is the first (and as far as
I can tell only) place where the LLVM build produces macOS framework
bundles.
GN has some built-in support for this, so use that.
`gn help create_bundle` has a terse description (but it's a bit
outdated: `deps` must be `public_deps` and the conditionals in the
example in the help aren't quite right on non-iOS).
We need a new 'copy_bundle_data' tool, and since we copy the clangd.xpc
bundle as bundle_data into ClangdXPC.framework it needs to be able to
handle directories in addition to files.
GN also insists we have a compile_xcassets tool even though it's not
used. I just made that run `false`.
Despite GN's support for bundles, we still need to manually create the
expected symlink structure in the .framework bundle. Since this code
never runs on Windows, it's safe to create the symlinks before the
symlink targets exist, so we can just make the bundle depend on the
steps that create the symlinks. For this to work, change the symlink
script to create the symlink's containing directory if it doesn't yet
exist.
I locally verified that CMake and GN build create the same bundle
structure. (I noticed that both builds set LC_ID_DYLIB to the pre-copy
libClangdXPCLib.dylib name, but that seems to not cause any issues and
it happens in the CMake build too.)
(Also add an error message to clangd-xpc-test-client for when loading
the dylib fails – this was useful while locally debugging this.)
Differential Revision: https://reviews.llvm.org/D60130
llvm-svn: 357574
|
|
|
|
| |
llvm-svn: 357477
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D60124
llvm-svn: 357476
|
|
|
|
| |
llvm-svn: 357398
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D60038
llvm-svn: 357369
|
|
|
|
| |
llvm-svn: 357358
|
|
|
|
| |
llvm-svn: 357357
|
|
|
|
| |
llvm-svn: 357261
|
|
|
|
| |
llvm-svn: 357260
|
|
|
|
|
|
|
|
|
|
|
| |
Only runs the clang-tools-extra lit tests; not yet the unit tests.
Add a build file for clangd-indexer too, since it's needed for
the tests.
Differential Revision: https://reviews.llvm.org/D59955
llvm-svn: 357232
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enough to build the clangd binaries, but this is still missing build
files for:
- fuzzer
- indexer
- index/dex/dexp
- benchmarks
- xpc
Differential Revision: https://reviews.llvm.org/D59899
llvm-svn: 357182
|
|
|
|
| |
llvm-svn: 357071
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D59838
llvm-svn: 357042
|
|
|
|
|
|
| |
Re-ran `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`.
llvm-svn: 357021
|
|
|
|
| |
llvm-svn: 357019
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Move ClangTidyCheck to a separate header/.cpp
Switch checks to #include "ClangTidyCheck.h"
Mention ClangTidyCheck.h in the docs
Reviewers: hokein, gribozavr, aaron.ballman
Reviewed By: hokein
Subscribers: mgorny, javed.absar, xazax.hun, arphaman, jdoerfert, llvm-commits, cfe-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D59714
llvm-svn: 356890
|
|
|
|
|
|
|
|
|
|
|
| |
- Make introduction a bit shorter
- Add a `git clone` step to Quick start
- Put command to run first in each of the Quick start steps
- Use ``code`` instead of `label` throughout; this is .rst not .md
Differential Revision: https://reviews.llvm.org/D59600
llvm-svn: 356885
|
|
|
|
|
|
|
|
|
| |
The zip is small, and it's a bit less code this way.
No intended behavior change.
Differential Revision: https://reviews.llvm.org/D59677
llvm-svn: 356884
|
|
|
|
| |
llvm-svn: 356846
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D59701
llvm-svn: 356845
|
|
|
|
| |
llvm-svn: 356828
|
|
|
|
| |
llvm-svn: 356827
|
|
|
|
|
|
|
|
|
|
|
|
| |
In all the other clang-foo tools, the main library file is called
Foo.cpp and the file in the tool/ folder is called ClangFoo.cpp.
Do this for clang-move too.
No intended behavior change.
Differential Revision: https://reviews.llvm.org/D59700
llvm-svn: 356780
|
|
|
|
| |
llvm-svn: 356772
|
|
|
|
| |
llvm-svn: 356771
|
|
|
|
| |
llvm-svn: 356770
|
|
|
|
| |
llvm-svn: 356769
|
|
|
|
| |
llvm-svn: 356767
|
|
|
|
| |
llvm-svn: 356766
|
|
|
|
| |
llvm-svn: 356765
|
|
|
|
|
|
|
|
|
| |
Its last use was removed in r352916.
No behavior change.
Differential Revision: https://reviews.llvm.org/D59601
llvm-svn: 356579
|
|
|
|
|
|
|
|
|
| |
Adds clang-change-namespace, clang-move, clang-query,
clang-reorder-fields.
Differential Revision: https://reviews.llvm.org/D59554
llvm-svn: 356567
|
|
|
|
| |
llvm-svn: 356563
|
|
|
|
| |
llvm-svn: 356560
|
|
|
|
| |
llvm-svn: 356485
|
|
|
|
| |
llvm-svn: 356484
|
|
|
|
| |
llvm-svn: 356314
|
|
|
|
| |
llvm-svn: 356306
|