Clang Compiler Frontend
eBook - ePub

Clang Compiler Frontend

Get to grips with the internals of a C/C++ compiler frontend and create your own tools

Ivan Murashko

Share book
  1. 326 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Clang Compiler Frontend

Get to grips with the internals of a C/C++ compiler frontend and create your own tools

Ivan Murashko

Book details
Table of contents
Citations

About This Book

Boost your productivity with a variety of compiler tools that integrate seamlessly into your IDE

Key Features

  • Expand your understanding of the C++ programming language by learning about how the C++ compiler works and how to utilize its advanced features
  • Explore techniques for static code analysis and use them to create lint checks
  • Enhance your IDE to support advanced compiler tools
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Discover the power of Clang, a versatile compiler known for its compilation speed and insightful error and warning messages. This book will get you acquainted with the capabilities of Clang, helping you harness its features for performance improvements and modularity by creating custom compiler tools.While focused on Clang compiler frontend, this book also covers other parts of LLVM, essential to understanding Clang's functionality, to keep up with the constantly evolving LLVM project.Starting with LLVM fundamentals, from installation procedures to development tools, this book walks you through Clang's internal architecture and its integral role within LLVM. As you progress, you'll also tackle optimizing compilation performance through features such as C++ modules and header maps.The later chapters cover tools developed using the Clang/LLVM, including clang-tidy for linting, refactoring tools, and IDE support, and feature many examples to illustrate the material.By the end of this book, you'll have a solid understanding of Clang, different Clang Tools, and how to use them to their fullest potential.

What you will learn

  • Get to grips with compiler architecture
  • Gain an understanding of the inner workings of Clang
  • Familiarize yourself with features specific to Clang
  • Investigate various techniques for static code analysis
  • Acquire knowledge on how to use AST matchers
  • Create custom code modification and refactoring tools
  • Explore tools for integrating compiler tools with IDEs

Who this book is for

This book is for experienced C++ software engineers who have no prior experience with compiler design but want to gain the knoweldge they need to get up and running. Engineers who want to learn about how Clang works and familiarize themselves with its specific features will also benefit from this book.

]]>

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Clang Compiler Frontend an online PDF/ePUB?
Yes, you can access Clang Compiler Frontend by Ivan Murashko in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Languages. We have over one million books available in our catalogue for you to explore.

Information

Table of contents