Get the latest tech news

Notes/Primer on Clang Compiler Front End (1): Introduction and Architecture


Notes/Primer on Clang Compiler Frontend: Introduction and Architecture These are my notes on chapters 1 & 2 of the Clang Compiler Frontend by Ivan Murashko. The book is focused on teaching the fundamentals of LLVM to C++ engineers who are interested in learning about compilers to optimize their daily workflow by enhancing their code quality and overall development process. (I’ve referened this book extensively, and a lot of the snippets here are from this book.

The book is focused on teaching the fundamentals of LLVM to C++ engineers who are interested in learning about compilers to optimize their daily workflow by enhancing their code quality and overall development process. We will discuss those (particularly LLVM Integrated Tester) in Chapter 4. clang-tools-extra contains Clangd(Language server that provides navigation info for IDEs), Clang-tidy(a Lint framework), and Clang-format(a Code Formatting tool). (Note: The (codegen) class serves as the basis for allowing different types of output formats such as the ‘EmitBCAction’ and ‘EmitLLVMAction’ compiler options in the table above)

Get the Android app

Or read this on Hacker News

Read more on:

Photo of end

end

Photo of notes

notes

Photo of primer

primer

Related news:

News photo

A primer on why microbiome research is hard

News photo

Taming the beast that is the Django ORM – An introduction

News photo

Show HN: Create notes and maps that live outdoors with web and AR integration