summaryrefslogtreecommitdiff
path: root/llvm/.gitignore
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-02-24 23:09:30 +0000
committerChris Bieneman <beanz@apple.com>2017-02-24 23:09:30 +0000
commitfb34a35c4eb11d30d9ba225c9daf84cf63f100fb (patch)
tree9c2f5802ea766639a1a6ec09cfe83fe22406c935 /llvm/.gitignore
parentbe5028aed3fb43576a39d87d3719d42a47e3a069 (diff)
downloadllvm-fb34a35c4eb11d30d9ba225c9daf84cf63f100fb.tar.gz
[.gitignore] Update .gitignore to ignore a nested build directory
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
Diffstat (limited to 'llvm/.gitignore')
-rw-r--r--llvm/.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/.gitignore b/llvm/.gitignore
index 6a183cd6b240..8a8ae6f5c31c 100644
--- a/llvm/.gitignore
+++ b/llvm/.gitignore
@@ -21,6 +21,9 @@
#OS X specific files.
.DS_store
+# Nested build directory
+/build
+
#==============================================================================#
# Explicit files to ignore (only matches one).
#==============================================================================#