Skip to content

generate libclang's llgo binding with empty. #565

Description

@luoliwoshang
{
	"name": "clang",
	"cflags": "-I/opt/homebrew/Cellar/llvm@19/19.1.7/include  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS",
	"libs": "-L/opt/homebrew/Cellar/llvm@19/19.1.7/lib -lclang",
	"include": [
		"clang-c/Index.h",
		"clang-c/BuildSystem.h",
		"clang-c/CXDiagnostic.h",
		"clang-c/CXErrorCode.h",
		"clang-c/CXFile.h",
		"clang-c/CXSourceLocation.h",
		"clang-c/CXString.h",
		"clang-c/ExternC.h",
		"clang-c/Platform.h",
	],
	"cplusplus": true,
	"headerOnly": true
}

the index.go only have follow macro define

package clang

import _ "unsafe"

const CINDEX_VERSION_MAJOR = 0
const CINDEX_VERSION_MINOR = 64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions