| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 359187
|
|
|
|
| |
llvm-svn: 359058
|
|
|
|
| |
llvm-svn: 359056
|
|
|
|
| |
llvm-svn: 358993
|
|
|
|
| |
llvm-svn: 358991
|
|
|
|
| |
llvm-svn: 358912
|
|
|
|
|
|
| |
format`
llvm-svn: 358862
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since the symlinks list for llvm-symbolizer is now never empty,
the :symlinks target no longer needs an explicit dep on :llvm-symbolizer
-- there will be at least one dep on a symlink, and each symlink depends
on :llvm-symbolizer already.
Since llvm-symbolizer:symlinks now produces symlinks that check-llvm
uses, make llvm/test depend on the symlink target.
llvm-svn: 358861
|
|
|
|
| |
llvm-svn: 358860
|
|
|
|
| |
llvm-svn: 358851
|
|
|
|
|
|
|
|
|
|
|
| |
ClangdLSPServer and clangd unittests now include Features.inc so we
need to append the target_gen_dir that contains it to their
include_dirs. To do so, we use a public config that's applied to
any target that depends on the features one.
Differential Revision: https://reviews.llvm.org/D60919
llvm-svn: 358837
|
|
|
|
| |
llvm-svn: 358790
|
|
|
|
|
|
|
|
| |
Some file paths use dots to pick up sources from parent directories.
Differential Revision: https://reviews.llvm.org/D60734
llvm-svn: 358774
|
|
|
|
| |
llvm-svn: 358755
|
|
|
|
| |
llvm-svn: 358754
|
|
|
|
| |
llvm-svn: 358670
|
|
|
|
| |
llvm-svn: 358669
|
|
|
|
| |
llvm-svn: 358668
|
|
|
|
| |
llvm-svn: 358578
|
|
|
|
| |
llvm-svn: 358486
|
|
|
|
| |
llvm-svn: 358397
|
|
|
|
| |
llvm-svn: 358366
|
|
|
|
| |
llvm-svn: 358365
|
|
|
|
| |
llvm-svn: 358364
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 357783
|
|
|
|
| |
llvm-svn: 357781
|
|
|
|
| |
llvm-svn: 357666
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 356846
|