libclang library
E286141
The libclang library is a C interface to the Clang compiler’s parsing and analysis capabilities, enabling tools to programmatically inspect, analyze, and manipulate C-family source code.
All labels observed (3)
| Label | Occurrences |
|---|---|
| libclang | 2 |
| Clang C++ API | 1 |
| libclang library canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T2629683 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: libclang library Context triple: [Clang, provides, libclang library]
-
A.
Clang
Clang is a modern, open-source C, C++, and Objective-C compiler front end for the LLVM project, known for its fast compilation, expressive diagnostics, and modular design.
-
B.
LLVM
LLVM is a modular, reusable compiler and toolchain infrastructure project widely used for building language frontends, optimizers, and backends for diverse hardware architectures.
-
C.
Clang-Tidy
Clang-Tidy is a C++ “linter” and static analysis tool that automatically detects and suggests fixes for common programming errors, style issues, and potential bugs in code.
-
D.
LLDB
LLDB is a modern, high-performance debugger primarily used with the LLVM toolchain for languages like C, C++, and Objective-C.
-
E.
Clang-Tidy linter
Clang-Tidy linter is a C++ code analysis tool that automatically detects and suggests fixes for style issues, bugs, and performance problems using Clang’s compiler infrastructure.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: libclang library Target entity description: The libclang library is a C interface to the Clang compiler’s parsing and analysis capabilities, enabling tools to programmatically inspect, analyze, and manipulate C-family source code.
-
A.
Clang
Clang is a modern, open-source C, C++, and Objective-C compiler front end for the LLVM project, known for its fast compilation, expressive diagnostics, and modular design.
-
B.
LLVM
LLVM is a modular, reusable compiler and toolchain infrastructure project widely used for building language frontends, optimizers, and backends for diverse hardware architectures.
-
C.
Clang-Tidy
Clang-Tidy is a C++ “linter” and static analysis tool that automatically detects and suggests fixes for common programming errors, style issues, and potential bugs in code.
-
D.
LLDB
LLDB is a modern, high-performance debugger primarily used with the LLVM toolchain for languages like C, C++, and Objective-C.
-
E.
Clang-Tidy linter
Clang-Tidy linter is a C++ code analysis tool that automatically detects and suggests fixes for style issues, bugs, and performance problems using Clang’s compiler infrastructure.
- F. None of above. chosen
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf |
C library
ⓘ
Clang component ⓘ software library ⓘ |
| abstractionLevel | high-level interface over Clang internals ⓘ |
| accesses |
Clang
ⓘ
surface form:
Clang compiler front end
|
| designGoal |
ease of integration
ⓘ
stable C API ⓘ tooling support ⓘ |
| developedBy |
Clang developers
ⓘ
LLVM ⓘ
surface form:
LLVM project
|
| distributedAs |
dynamic library
ⓘ
shared library ⓘ |
| distributedWith | Clang binaries ⓘ |
| documentationLocation | LLVM Clang documentation ⓘ |
| hostPlatform |
Linux
ⓘ
Windows ⓘ macOS ⓘ |
| implementsInterfaceFor | Clang ⓘ |
| license | Apache License 2.0 with LLVM exceptions ⓘ |
| name |
libclang library
self-link
ⓘ
surface form:
libclang
|
| operatesOn |
C source code
ⓘ
C++ source code ⓘ Objective-C source code ⓘ Objective-C++ source code ⓘ |
| partOf |
Clang
ⓘ
LLVM ⓘ
surface form:
LLVM project
|
| programmingLanguage | C ⓘ |
| providesFunctionality |
abstract syntax tree access
ⓘ
code analysis ⓘ code completion ⓘ diagnostics retrieval ⓘ indexing ⓘ refactoring support ⓘ source code parsing ⓘ symbol inspection ⓘ |
| providesInterface | C interface to Clang ⓘ |
| relatedTo |
libclang library
self-linksurface differs
ⓘ
surface form:
Clang C++ API
LLVM ⓘ clangd ⓘ |
| supportsFeature |
preprocessing control
ⓘ
tokenization ⓘ translation unit parsing ⓘ |
| supportsLanguageFamily | C-family languages ⓘ |
| usedFor |
IDEs integration
ⓘ
code editors integration ⓘ code navigation tools ⓘ documentation generators ⓘ refactoring tools ⓘ static analysis tools ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: libclang library Description of subject: The libclang library is a C interface to the Clang compiler’s parsing and analysis capabilities, enabling tools to programmatically inspect, analyze, and manipulate C-family source code.
Referenced by (4)
Full triples — surface form annotated when it differs from this entity's canonical label.