aboutsummaryrefslogtreecommitdiff
path: root/llvm/.gitignore
AgeCommit message (Collapse)AuthorFilesLines
2022-10-10[Bindings] Remove go bindingsNikita Popov1-6/+0
Remove the unmaintained Go bindings per https://discourse.llvm.org/t/rfc-remove-the-go-bindings/65725. The tinygo project provides maintained Go bindings at https://github.com/tinygo-org/go-llvm. Differential Revision: https://reviews.llvm.org/D135436
2021-04-07Remove .gitignore entries not relevant in the monorepo.Paul Robinson1-10/+0
Differential Revision: https://reviews.llvm.org/D100049
2020-07-07[clangd] Store index in '.cache/clangd/index' instead of '.clangd/index'Sam McCall1-2/+0
Summary: .clangd/index was well-intentioned in 2754942cbaef, but `.clangd` is the best filename for the clangd config file (matching .clang-format and .clang-tidy). And of course we can't have both .clangd/index and .clangd... There are a few overlapping goals to satisfy: - it should be clear from the directory name that this is transient data that is safe to delete at the cost of recomputation, i.e. a cache - it should be easy and self-documenting to blacklist these files in .gitignore - we should have some consistency between filenames in-tree and corresponding files in user storage (e.g. under XDG's ~/.cache/) - we should be consistent across platforms (including windows, which doesn't have distinct cache vs config directories) So the plan is: $PROJECT/.clangd (project config) $PROJECT/.cache/clangd/index/ (project index) $PROJECT/.cache/clangd/modules/ (maybe in future) $XDG_CONFIG_HOME/clangd/config.yaml (user config) $XDG_CACHE_HOME/clangd/index/ (index of non-project files) $XDG_CACHE_HOME/clangd/modules/ (maybe in future) This is sensible if XDG_{CONFIG,CACHE}_HOME coincide, and has a simple .gitignore rule going forward: `.cache/`. The monorepo gitignore is updated to reflect the backwards-compatible practice: ignore .clangd/ (with trailing slash) matching index files from clangd 9/10 ignore .cache matching index from clangd 11+, and potentially other tools. The entries from llvm-project/llvm gitignore are removed (obsolete). Reviewers: kadircet, hokein Subscribers: ilya-biryukov, MaskRay, jkorous, omtcyfz, arphaman, usaxena95, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D83099
2020-02-10Continue removing llgo.Eric Christopher1-2/+0
2020-01-27[llvm] Fix file ignoring inside directoriesShoaib Meenai1-14/+17
We have some ! patterns in the .gitignore (for the projects and runtimes directories), and those patterns end up overriding the previous file ignores, such that e.g. a .swp file inside the runtimes directory isn't ignored. Move the file ignores last to ensure they take effect. Differential Revision: https://reviews.llvm.org/D73253
2019-06-12gitignore: Ignore Qt Creator project configuration files. NFCNikolai Kosjar1-0/+2
llvm-svn: 363129
2019-02-20[clangd] Store index in '.clangd/index' instead of '.clangd-index'Ilya Biryukov1-2/+2
Summary: To take up the .clangd folder for other potential uses in the future. Reviewers: kadircet, sammccall Reviewed By: kadircet Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D58440 llvm-svn: 354505
2019-01-25gitignore: ignore clangd index files.Haojian Wu1-0/+2
Reviewers: kadircet Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, llvm-commits Differential Revision: https://reviews.llvm.org/D57227 llvm-svn: 352197
2019-01-02Git ignore CLion project configuration files. NFCPawel Bylica1-0/+2
llvm-svn: 350256
2018-10-29[git/svn] Ignore Visual Studio's CMakeSettings.json.Michael Kruse1-0/+2
When using Visual Studio's built-in support for CMake, the CMakeSettings.json contains the build configurations (build dir, generator, toolchain, cmake variables, etc). It is specific to the build machine, therefore should not be versioned. Differential Revision: https://reviews.llvm.org/D53775 llvm-svn: 345504
2017-04-08gitignore: Ignore .vs folder (VS2017 config files)Gor Nishanov1-1/+2
llvm-svn: 299808
2017-02-24[.gitignore] Update .gitignore to ignore a nested build directoryChris Bieneman1-0/+3
Summary: A number of tools and common workflows include putting a build directory inside the source checkout under the folder "build". Adding this to .gitignore seems useful. As an example, the CMake Tools plugin for VSCode does this. Reviewers: chandlerc, echristo, zturner Reviewed By: zturner Subscribers: MatzeB, mehdi_amini, llvm-commits, jgosnell Differential Revision: https://reviews.llvm.org/D30346 llvm-svn: 296188
2016-12-14[AVR] Add the integrated testing tool to the .gitignoreDylan McKay1-0/+2
We build it as an LLVM tool. llvm-svn: 289645
2016-09-02gitignore: ignore VS Code editor filesGor Nishanov1-0/+2
Summary: VS code creates .vscode folder to keep its stuff that we really don't need in git. Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24211 llvm-svn: 280551
2016-06-23[CMake] Add LLVM runtimes directoryChris Bieneman1-0/+2
Summary: There are a few LLVM projects that produce runtime libraries. Ideally runtime libraries should be built differently than other projects, specifically they should be built using the just-built toolchain. There is support for building compiler-rt in this way from the clang build. Moving this logic into the LLVM build is interesting because it provides a simpler way to extend the just-built toolchain to include LLD and the LLVM object file tools. Once this functionality is better fleshed out and tested we’ll want to encapsulate it in a module that can be used for clang standalone builds, and we’ll want to make it the default way to build compiler-rt. With this patch applied there is no immediate change in the build. Moving compiler-rt out from llvm/projects into llvm/runtimes enables the functionality. This code has a few improvements over the method provided by LLVM_BUILD_EXTERNAL_COMPILER_RT. Specifically the sub-ninja command is always invoked, so changes to compiler-rt source files will get built properly, so this patch can be used for iterative development with just-built tools. This first patch only works with compiler-rt. Support for other runtime projects will be coming in follow-up patches. Reviewers: chandlerc, bogner Subscribers: kubabrecka, llvm-commits Differential Revision: http://reviews.llvm.org/D20992 llvm-svn: 273620
2015-07-07Minor updates to gitignore so that symlinks are ignored in the projects dir.Chris Bieneman1-1/+3
llvm-svn: 241622
2015-06-29Simplify .gitignore: projects/* => projects/*/Duncan P. N. Exon Smith1-4/+1
Avoid listing inclusions (like `!projects/LLVMBuild.txt`) for files directly underneath `projects/` in `.gitignore`. Instead, change the `projects/*` exclusion to the more specific `projects/*/`. llvm-svn: 240973
2015-06-26Do not ignore projects/LLVMBuild.txt in git repoSergey Dmitrouk1-0/+1
Without explicit exception for the path, it matches projects/* rule. llvm-svn: 240771
2015-03-26Ignore compile_commands.json only at the root of the tree.Paul Robinson1-1/+1
Can avoid a problem if tools/clang/tools/extra is in the tree. Patch by Douglas Yung! llvm-svn: 233307
2015-01-30Add one more vim swap file patternMichael Liao1-1/+1
llvm-svn: 227620
2015-01-10.gitignore: add some rules for tagging programsRamkumar Ramachandra1-0/+7
Often, we miss committing new files, and 'arc diff' is supposed to warn us about this. Unfortunately, because of the spurious output of the command (due to unignored untracked files), we tend to ignore it and lose information. llvm-svn: 225588
2015-01-07[git] Mark the llgo directory in the LLVM gitignore.Chandler Carruth1-0/+2
llvm-svn: 225384
2014-10-16Initial version of Go bindings.Peter Collingbourne1-0/+6
This code is based on the existing LLVM Go bindings project hosted at: https://github.com/go-llvm/llvm Note that all contributors to the gollvm project have agreed to relicense their changes under the LLVM license and submit them to the LLVM project. Differential Revision: http://reviews.llvm.org/D5684 llvm-svn: 219976
2014-06-25Add Polly to the ignored trees.Chandler Carruth1-0/+2
llvm-svn: 211695
2014-03-12Remove projects/sample.Rafael Espindola1-1/+0
As an example that was not actually being used, it suffered from a slow bitrot. The two main issues with it were that it had no cmake support and included a copy of the autoconf directory. The reality is that autoconf is not easily composable. The lack of composabilty is why we have clang options in llvm's configure. Suggesting that users include a copy of autoconf/ in their projects seems a bad idea. We are also in the process of switching to cmake, so pushing autoconf to new project is probably not what we want. llvm-svn: 203728
2014-01-25Added .DS_Store entry in .gitignore for ignoring .DS_Store files in the sourceRafael Espindola1-0/+2
tree generated by OS X. Patch by Abhay Kadam! llvm-svn: 200079
2012-10-09Add extra vim swap file patternMichael Liao1-0/+1
llvm-svn: 165569
2012-08-21Ignore the documentation-suggested location for compile_commands.jsonDavid Blaikie1-0/+1
According to http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html it's suggested that compile_commands.json in the root of the LLVM source tree should be a symlink to the json file produced by your build system of choice. So here's a patch so it doesn't turn up in git status, etc. llvm-svn: 162305
2012-05-02Add tools/lld to .gitignore.Michael J. Spencer1-0/+2
llvm-svn: 156021
2012-04-19[docs] Stub out structure for Sphinx-based docs.Daniel Dunbar1-0/+2
- Work in progress, this is just the basic structure. llvm-svn: 155132
2011-11-10git: Add tools/lldb to the ignore list.Daniel Dunbar1-0/+2
llvm-svn: 144328
2011-10-24Revert "Test commit"NAKAMURA Takumi1-1/+0
llvm-svn: 142792
2011-10-24Test commitNAKAMURA Takumi1-0/+1
llvm-svn: 142791
2011-09-24Revert change made in .gitignore.Akira Hatanaka1-2/+0
llvm-svn: 140445
2011-09-24Preparation for adding simple Mips64 instructions.Akira Hatanaka1-0/+2
llvm-svn: 140443
2011-08-12.gitignore: Ignore /autom4te.cache. We can execute ↵NAKAMURA Takumi1-0/+1
"PATH=/path/to/autotools/bin autoconf/AutoRegen.sh". llvm-svn: 137441
2011-05-31Ignore Vim swap filesJakob Stoklund Olesen1-0/+2
llvm-svn: 132365
2010-12-17Cleanup and document .gitignore.Michael J. Spencer1-6/+32
llvm-svn: 122066
2010-12-16Oops, didn't mean to ignore .gitignore.Daniel Dunbar1-1/+0
llvm-svn: 121985
2010-12-16Add some more .gitignore entries.Daniel Dunbar1-0/+9
llvm-svn: 121968
2010-12-16Add .gitignore. I chose not to dump the svn ignore list into this because mostMichael J. Spencer1-0/+3
of the entries there are useless for out of source builds. llvm-svn: 121955