Latest / Developer tools

ClangQL

github.com · Open source · Maintained

SQL-like query language for searching C and C++ source code

Visit github.com ↗Share

Stars
539
Forks
12
Open issues
5
Last commit
Releases
8
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

ClangQL runs SQL-style queries over C and C++ code by reading the Clang AST instead of a database file, using the GitQL SDK. It lets developers select functions and filter them by properties, which suits anyone who searches or audits C and C++ code.

Repository description on GitHub: “ ClangQL is a tool that allow you to run SQL-like query on C/C++ Code instead of database files using the GitQL SDK”

What it does

  • SQL-like syntax with case-insensitive keywords
  • Queries over functions and other Clang AST elements
  • Filters with predicates such as public or constructor checks
  • Built in Rust on the GitQL SDK

Good for

  • Find functions that match a visibility or naming rule in a C++ codebase.
  • Count functions by return type across a C project.

Suits: C and C++ developers who review or audit source code.

What you can try

Install it from Homebrew, the channel it was listed on; the README includes sample queries to start with.

Install

brew install clangql
cargo install clangql

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw ClangQL on , when its repository was created; it is packaged in Homebrew. The oldest published release on GitHub is 0.2.0, dated . Its first tagged release came 21 days after it was found. 8 releases have been published in total; the latest is 0.11.0 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).

Checked , later than day 7 because tracking began after.

Day 30 1 release shipped

  • 1 release in the first 30 days: 0.2.0 (26 Apr 2024)

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (4 in total, busiest month 2).
  1. Repository created on GitHub: AmrDeveloper/ClangQL
  2. Found: its repository was created; it is packaged in Homebrew. Homebrew
  3. Release 0.2.0
  4. Release 0.5.0
  5. Release 0.6.0
  6. Release 0.8.0
  7. Release 0.9.0
  8. Release 0.10.0
  9. Release 0.11.0
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 8 releases. All releases on GitHub

Quick answers

When was ClangQL released?
Its first tagged release on GitHub is dated 26 Apr 2024. Kip found it on Homebrew on 5 Apr 2024.
Is ClangQL open source?
Its source is public on GitHub at AmrDeveloper/ClangQL under the MIT licence.
What does ClangQL run on?
Command line.
Is ClangQL free?
It is open source, so the code is free to read and run; check the licence for terms.
Is ClangQL still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Homebrewlisting
official API record
GitHub repositoryAmrDeveloper/ClangQL
REST API record
GitHub Releasesrelease list
REST API record

Stable ID brew-clangql. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.