Skip to content

Commit b4993be

Browse files
committed
Remove documentation about the Go bindings
We removed the Go bindings in https://reviews.llvm.org/D135436 but missed documentation that talks about the bindings.
1 parent 239a174 commit b4993be

File tree

5 files changed

+11
-34
lines changed

5 files changed

+11
-34
lines changed

llvm/docs/CMake.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ enabled sub-projects. Nearly all of these variable names begin with
466466
is *Debug*.
467467

468468
**LLVM_ENABLE_BINDINGS**:BOOL
469-
If disabled, do not try to build the OCaml and go bindings.
469+
If disabled, do not try to build the OCaml bindings.
470470

471471
**LLVM_ENABLE_DIA_SDK**:BOOL
472472
Enable building with MSVC DIA SDK for PDB debugging support. Available

llvm/docs/CodingStandards.rst

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -102,25 +102,6 @@ For more information about LLVM's data structures and the tradeoffs they make,
102102
please consult `that section of the programmer's manual
103103
<https://llvm.org/docs/ProgrammersManual.html#picking-the-right-data-structure-for-a-task>`_.
104104

105-
Guidelines for Go code
106-
----------------------
107-
108-
Any code written in the Go programming language is not subject to the
109-
formatting rules below. Instead, we adopt the formatting rules enforced by
110-
the `gofmt`_ tool.
111-
112-
Go code should strive to be idiomatic. Two good sets of guidelines for what
113-
this means are `Effective Go`_ and `Go Code Review Comments`_.
114-
115-
.. _gofmt:
116-
https://golang.org/cmd/gofmt/
117-
118-
.. _Effective Go:
119-
https://golang.org/doc/effective_go.html
120-
121-
.. _Go Code Review Comments:
122-
https://github.com/golang/go/wiki/CodeReviewComments
123-
124105
Mechanical Source Issues
125106
========================
126107

llvm/docs/GettingStarted.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ share code among the `tools`_.
902902
Contains bindings for the LLVM compiler infrastructure to allow
903903
programs written in languages other than C or C++ to take advantage of the LLVM
904904
infrastructure.
905-
LLVM project provides language bindings for Go, OCaml and Python.
905+
LLVM project provides language bindings for OCaml and Python.
906906

907907
``llvm/projects``
908908
-----------------

llvm/docs/ReleaseNotes.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,6 @@ Changes to the C API
219219
* ``LLVMConstInBoundsGEP`` -> ``LLVMConstInBoundsGEP2``
220220
* ``LLVMAddAlias`` -> ``LLVMAddAlias2``
221221

222-
Changes to the Go bindings
223-
--------------------------
224-
225-
226222
Changes to the FastISel infrastructure
227223
--------------------------------------
228224

llvm/utils/gn/secondary/llvm/test/BUILD.gn

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@ write_lit_config("lit_site_cfg") {
4343
extra_values = [
4444
"BUILD_SHARED_LIBS=0",
4545

46-
# Only used by the Go bindings tests, or if LLVM_USE_SANITIZER includes
47-
# asan and the host OS is macOS. The GN build currently never uses
48-
# LLVM_USE_SANITIZER. (See also CMAKE_CXX_COMPILER in clang/test/BUILD.gn.)
46+
# Only used if LLVM_USE_SANITIZER includes asan and the host OS is macOS.
47+
# The GN build currently never uses LLVM_USE_SANITIZER. (See also
48+
# CMAKE_CXX_COMPILER in clang/test/BUILD.gn.)
4949
"HOST_CC=cc",
5050

51-
# Only used by the Go bindings tests, or if LLVM_USE_SANITIZER includes
52-
# lsan and the host OS is macOS. The GN build currently never uses
53-
# LLVM_USE_SANITIZER. (See also CMAKE_CXX_COMPILER in clang/test/BUILD.gn.)
51+
# Only used if LLVM_USE_SANITIZER includes lsan and the host OS is macOS.
52+
# The GN build currently never uses LLVM_USE_SANITIZER. (See also
53+
# CMAKE_CXX_COMPILER in clang/test/BUILD.gn.)
5454
"HOST_CXX=c++",
5555

56-
# Only used by the Go bindings tests, and for detecting a 32-bit build
57-
# and in a belt-and-suspenders check for detecting 32-bit host builds.
58-
# (That check also checks LLVM_HOST_TRIPLE.)
56+
# Only used for detecting a 32-bit build and in a belt-and-suspenders check
57+
# for detecting 32-bit host builds. (That check also checks
58+
# LLVM_HOST_TRIPLE.)
5959
"HOST_LDFLAGS=",
6060

6161
"LLVM_ENABLE_FFI=0",

0 commit comments

Comments
 (0)