{
"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
{ "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.goonly have follow macro define