---
title: "#clang-compiler articles | Hashnode"
description: "Explore 2 articles tagged #clang-compiler on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/clang-compiler"
---

Tag

# #clang-compiler

2 posts · 0 followers

[Gyeongtae Kim](https://hashnode.com/@dasae) · [Mar 17](https://hashnode.com/posts/zero-cost-defer-in-c/69ccbc80b504c4ed0a2a2e9a)

### [Zero-Cost defer in C: A Compiler Optimization Odyssey](https://dasae-scenic-route.hashnode.dev/zero-cost-defer-in-c?utm_source=hashnode&utm_medium=feed)

Shows how a Duff's device, two compilers, and a hidden LLVM flag turned a C macro 'defer' into a zero-cost abstraction, with benchmarks.

62 min read · [dasae-scenic-route.hashnode.dev](https://dasae-scenic-route.hashnode.dev/zero-cost-defer-in-c?utm_source=hashnode&utm_medium=feed)

[Martin Licht](https://hashnode.com/@martinlicht) · [Apr 2, 2025](https://hashnode.com/posts/disables-code-when-clang-warns-about-unreachable-code/67ed58fe1b529d148a173d0c)

### [/\* DISABLES CODE \*/: When Clang warns about unreachable code](https://martinlicht.hashnode.dev/disables-code-when-clang-warns-about-unreachable-code?utm_source=hashnode&utm_medium=feed)

Learn about unreachable code in C/C++, compiler warnings, and how Clang's \`-Wunreachable-code\` flag can improve code quality and debugging

3 min read · [martinlicht.hashnode.dev](https://martinlicht.hashnode.dev/disables-code-when-clang-warns-about-unreachable-code?utm_source=hashnode&utm_medium=feed)
