-
Notifications
You must be signed in to change notification settings - Fork 0
/
clang.html
155 lines (155 loc) · 10.9 KB
/
clang.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html
lang="en"><head><meta
charset="utf-8" /><title>Plangs! - Clang at https://plangs.page</title><meta
name="description"
content="Clang at https://plangs.page: A language is much more than just a syntax. It's an ecosystem of tools, libraries, and applications." /><script>localStorage.setItem("last-plang", "{\"key\":\"pl+clang\",\"data\":{\"name\":\"Clang\",\"description\":\"Clang is a compiler front end for the C, C++, Objective-C, and Objective-C++ programming languages, as well as the OpenMP, OpenCL, RenderScript, CUDA, SYCL, and HIP frameworks. It acts as a drop-in replacement for the GNU Compiler Collection (GCC), supporting most of its compiling flags and unofficial language extensions. It includes a static analyzer, and several code analysis tools. It operates in tandem with the LLVM compiler back end and has been a subproject of LLVM.\",\"keywords\":[\"clang\",\"compiler\",\"llvm\"],\"year\":2007,\"releases\":[{\"version\":\"13.0.1\",\"name\":\"Clang 13.0.1\",\"date\":\"2024-10-30\"},{\"version\":\"19.1.3\",\"name\":\"Clang 19.1.3\",\"date\":\"2024-10-30\"},{\"version\":\"18.1.8\",\"name\":\"Clang 18.1.8\",\"date\":\"2024-01-01\"}],\"githubLangId\":\"361\",\"githubColor\":\"#46390b\",\"githubPopular\":false,\"githubType\":\"programming\",\"extensions\":[\".c\",\".cpp\",\".cu\",\".m\",\".mm\"],\"extWikipediaPath\":\"SuperCollider\",\"extRedditPath\":\"supercollider\",\"extHomeURL\":\"https://clang.llvm.org/\",\"images\":[{\"kind\":\"logo\",\"title\":\"Clang\",\"url\":\"/images/c/clang/clang.logo.png\"}]}}")</script><script
src="/bundle/app.js"></script><meta
name="viewport"
content="width=device-width, initial-scale=1" /><link
rel="stylesheet"
href="/bundle/app.css" /><link
type="image/png"
rel="apple-touch-icon"
sizes="192x192"
href="/icons/icon-192x192.png" /><link
type="image/png"
rel="icon"
sizes="192x192"
href="/icons/icon-192x192.png" /><link
type="image/png"
rel="icon"
sizes="72x72"
href="/icons/icon-72x72.png" /><link
rel="icon"
href="/icons/icon-72x72.png" /><link
rel="manifest"
href="/manifest.json" /></head><body
data-tab="pl"
style="background: radial-gradient(transparent 0, var(--color-background) 75%) top left / 100% 100%, repeating-linear-gradient(45deg, var(--color-stripes) 0, var(--color-stripes) 1px, var(--color-background) 0, var(--color-background) 50%) top left / 10px 10px;"
class="h-dvh w-full flex flex-col flex-nowrap bg-background text-foreground overflow-hidden"><script>window.restoreLightMode()</script><noscript><em>Note!</em><p>This site is fully static and requires JavaScript for the best experience.</p><p>In particular, the search feature will not work without JavaScript.</p></noscript><header
class="pt-4 pb-2 flex flex-col bg-linear-to-b from-secondary to-background"><div
style="aspect-ratio: 16 / 4.5;"
class="overflow-hidden text-center sm:mt-4 h-12 sm:h-16 lg:h-20 xl:h-24"><a
href="/"
class="inline-block h-full w-full text-[clamp(2.5rem,5vw,7rem)] text-transparent bg-center bg-contain bg-no-repeat bg-[url('/images/plangs-light.svg')] dark:bg-[url('/images/plangs.svg')]">Plangs!</a></div><div
class="px-2 sm:px-4 flex flex-row gap-4 items-center justify-between"><div
id="icon-button-hamburger"
data-action="hamburger"
class="cl-iconButton text-primary"></div><div
class="flex-1"></div><div
id="icon-button-lights"
data-action="lights"
class="cl-iconButton text-primary"></div></div></header><div
class="flex-1 flex flex-row overflow-y-auto"><aside
id="id-mainNav"
class="bg-linear-to-t from-secondary to-background hidden sm:static z-20 w-[12rem] overflow-hidden overflow-y-auto"><script>window.restoreHamburguer();</script><nav
class="mb-1 pt-5 sm:mb-8"><header
class="ml-4 sm:mb-4 uppercase text-primary">Explore</header><ul><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="plangs"
class="block cursor-pointer truncate pl-4"
href="/">Plangs!</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="tools"
class="block cursor-pointer truncate pl-4"
href="/tools">Tools</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="apps"
class="block cursor-pointer truncate pl-4"
href="/apps">Apps</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="libs"
class="block cursor-pointer truncate pl-4"
href="/libs">Libraries</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="learning"
class="block cursor-pointer truncate pl-4"
href="/learning">Learning</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="communities"
class="block cursor-pointer truncate pl-4"
href="/communities">Communities</a></li></ul></nav><nav
class="mb-1 pt-5 sm:mb-8 border-primary/85 border-dotted border-t-1"><header
class="ml-4 sm:mb-4 uppercase text-primary">Blog</header><ul><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="blog"
class="block cursor-pointer truncate pl-4"
href="/blog">Blog Posts</a></li></ul></nav><nav
class="mb-1 pt-5 sm:mb-8 border-primary/85 border-dotted border-t-1"><header
class="ml-4 sm:mb-4 uppercase text-primary">Website</header><ul><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="about"
class="block cursor-pointer truncate pl-4"
href="/about">About</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="NA"
class="block cursor-pointer truncate pl-4"
href="https://github.com/EmmanuelOga/plangs2">Source Code</a></li></ul></nav><nav
class="mb-1 pt-5 sm:mb-8 border-primary/85 border-dotted border-t-1"><header
class="ml-4 sm:mb-4 uppercase text-primary">Reference</header><ul><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="tsys"
class="block cursor-pointer truncate pl-4"
href="/tsys">Type Systems</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="paradigms"
class="block cursor-pointer truncate pl-4"
href="/paradigms">Paradigms</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="platforms"
class="block cursor-pointer truncate pl-4"
href="/platforms">Platforms</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="tags"
class="block cursor-pointer truncate pl-4"
href="/tags">Tags</a></li><li
class="px-4 py-2 sm:mb-1 hover:bg-primary/25"><a
data-tab="licenses"
class="block cursor-pointer truncate pl-4"
href="/licenses">Licenses</a></li></ul></nav></aside><main
class="flex-1 overflow-y-scroll"><article
class="prose prose-green dark:prose-invert sm:prose-sm lg:prose-lg xl:prose-xl 2xl:prose-2xl max-w-[80ch] mx-auto p-4"><div
class="cl-nodeInfo mb-8"><div
class="w-full overflow-y-scroll px-2 pt-2 sm:p-4 -mx-4 prose prose-green dark:prose-invert max-w-[unset] border-primary/85 border-dotted"><h2><a
class="text-foreground decoration-1 decoration-dotted"
href="/clang">Clang</a></h2><span
class="hidden">—</span><div><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Appeared 2007</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Last Rel 2024-10-30</span></div><p>Clang is a compiler front end for the C, C++, Objective-C, and Objective-C++ programming languages, as well as the OpenMP, OpenCL, RenderScript, CUDA, SYCL, and HIP frameworks. It acts as a drop-in replacement for the GNU Compiler Collection (GCC), supporting most of its compiling flags and unofficial language extensions. It includes a static analyzer, and several code analysis tools. It operates in tandem with the LLVM compiler back end and has been a subproject of LLVM.</p><details
class="pb-4"><summary
class="cursor-pointer text-xl">Details</summary><div><h3
class="mt-4 text-xl">Type Systems</h3><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Manifest Typing</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Static Typing</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Strong Typing</span></div><div><h3
class="mt-4 text-xl">Platforms</h3><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Apple (macOS, iOS, etc.)</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">ARM</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">BSD</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Cross-Platform</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Linux</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Microsoft Windows</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">x86-64</span></div><div><h3
class="mt-4 text-xl">Influenced By</h3><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">LLVM</span></div><div><h3
class="mt-4 text-xl">Implements</h3><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">C</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">C++</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Clang</span></div><div><h3
class="mt-4 text-xl">Licenses</h3><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Apache License 2.0</span></div><div><h3
class="mt-4 text-xl">Tags</h3><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Data Analysis</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Automation</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Command Line Interface</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Compiler</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Ray Tracer</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Shell</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">Information Visualization</span></div><div><h3
class="mt-4 text-xl">Extensions</h3><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">.c</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">.cpp</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">.cu</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">.m</span><span
class="inline-block mr-2 mb-2 px-1 border-2 border-secondary bg-secondary/50">.mm</span></div></details></div></div><h1>News</h1><p>No news just yet!</p><h1>Applications</h1><p>Example open source applications created with Clang.</p><p>No applications just yet!</p><h1>Libraries</h1><p>Example open source libraries that can be used with Clang.</p><p>No libraries just yet!</p><h1>Tooling</h1><p>Additional tooling available for Clang.</p><p>No tools just yet!</p></article></main></div></body></html>