---
title: "Discussion on \"Extending C++ using LLVM\" | Hashnode"
description: "Discussion on \"Extending C++ using LLVM\". Introduction\nLLVM is an open-source, modular compiler infrastructure, and Clang is its C++ front-end.\nIn this project, I use LLVM to build a custom Clang compiler that introduces a new C++ builtin -counting the number of fields in a C++ struct / clas..."
url: "https://hashnode.com/posts/extending-cpp-using-llvm/6977c5ce8cf5e669bb81833e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Extending C++ using LLVM](https://cppminiprojects.hashnode.dev/extending-cpp-using-llvm?utm_source=hashnode&utm_medium=feed)

Introduction LLVM is an open-source, modular compiler infrastructure, and Clang is its C++ front-end. In this project, I use LLVM to build a custom Clang compiler that introduces a new C++ builtin -counting the number of fields in a C++ struct / clas...

Jan 26 · 4 min read · cppminiprojects.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#llvm](https://hashnode.com/tag/llvm)
-   [#clang](https://hashnode.com/tag/clang)
-   [#cpp-ck4ra5k7300nlv2s1jbkdp2qh](https://hashnode.com/tag/cpp-ck4ra5k7300nlv2s1jbkdp2qh)
-   [#compiler](https://hashnode.com/tag/compiler)

## Written by

[Ayush Bansal](https://hashnode.com/@ayushbansal)

@ayushbansal

  
[View profile](https://hashnode.com/@ayushbansal)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
