Hacker GitHub

← All repos

llvm-mirror/clang

View on GitHub ↗ ★ 3,041 C++ archived

Mirror kept for legacy. Moved to https://github.com/llvm/llvm-project

18 mentions on Hacker News by 13 people: 1 story, 17 comments · first 2013-03-20 · latest 2020-09-10

Mentions per year 18 mentions · busiest year 2015 (4)
20082026
  1. …Clang does to speed it up is to get rid of the length check, just like suggested in the article. https://github.com/llvm-mirror/clang/blob/master/lib/Lex/Lex... /// LexTokenInternal - This implements a simple C family lexer. It is an ///…
    comment by klodolph · 2020-09-10 · in Sentinels Can Be Faster
  2. …coloured error messages. The default colour is restored after the newline, rather than before it. * https://github.com/llvm-mirror/clang/blob/6803cc1958b56e0bd5... I have recently set DECSCNM on in my terminal(s), which inverts everything,…
  3. …parser from scratch, which is a much larger undertaking than C99 plus a few GNU extensions. [1]: https://github.com/llvm-mirror/clang/blob/fb2a26cc2e40e007f1... [2]: https://github.com/llvm-mirror/clang/blob/master/bindings/py...
    comment by Scaevolus · 2019-07-08 · in Code Annotations for SourceHut
  4. > Is it trivial to implement? Yes. https://github.com/llvm-mirror/clang/blob/799b6c6d7/lib/Lex/... https://github.com/llvm-mirror/clang/blob/799b6c6d7/include/...
    comment by loeg · 2018-11-29 · in Google C++ Style Guide Is No Good
  5. …scan() https://github.com/Microsoft/TypeScript/blob/master/src/comp... - Lexer::LexTokenInternal() https://github.com/llvm-mirror/clang/blob/master/lib/Lex/Lex... All three examples are heavily optimized and hand-written but they’re still…
  6. …the clang source code has a list, including the hierarchy of meta flags that enable other flags: https://github.com/llvm-mirror/clang/blob/master/include/cla... http://fuckingclangwarnings.com/ has descriptions of many of the warnings, but…
  7. …2. https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/c-family/c-l... 3. https://github.com/llvm-mirror/clang/blob/master/lib/Lex/Lex... I always find it helpful to look at one problem solved different ways. Of course it's not alwa
    comment by Denzel · 2017-08-11 · in Small functions considered harmful
  8. …The only definitive documentation that I know of is clang's implementation of its mangling scheme: https://github.com/llvm-mirror/clang/blob/master/lib/AST/Mic...
    comment by cokernel_hacker · 2017-02-22 · in Demangling C++ Symbols in Rust
  9. …-Wredundant-move are included in -Wmove, which is included in -Wmost, which is included in -Wall: https://github.com/llvm-mirror/clang/blob/master/include/cla...
  10. …enum e; void (*fp)(enum e); enum e { v = 1ULL << 32 }; results in quite a bit of gymnastics! ( https://github.com/llvm-mirror/clang/blob/202433cccd87a4e7d1... )
  11. …good documentation for its warning options. The best sources I've found are the clang code itself ( https://github.com/llvm-mirror/clang/blob/master/include/cla... ) and http://fuckingclangwarnings.com/ .
    comment by cpeterso · 2016-01-08 · in How to C in 2016
  12. …More importantly, why would I want to? Fun experiment, find the views and controllers in here: https://github.com/llvm-mirror/clang
    comment by overgard · 2015-12-22 · in MVVM is Exceptionally OK
  13. …used are the http://fuckingclangwarnings.com/ reference, searching through clang's source code at https://github.com/llvm-mirror/clang/blob/master/include/cla... , and clang's -Weverything flag (which truly is everything , including…
    comment by cpeterso · 2015-11-14 · in Breaking all the Eggs in C++
  14. Python libclang bindings make this kind of task quick work: https://github.com/llvm-mirror/clang/tree/master/bindings/py...
  15. …text parsing is Clang's optimization that uses SSE to skip over C++ comments 16 bytes at a time: https://github.com/llvm-mirror/clang/blob/61f6bf2c8a8e94c4fa...
  16. Don't they have a mirror of the compiler on github? https://github.com/llvm-mirror/clang Swift hasn't been included but objective c is there.
    comment by melling · 2014-11-14 · in Go is moving to GitHub
  17. …Not quite so unreachable... https://gist.github.com/cwgreene/d689f010619310dbbc77 https://github.com/llvm-mirror/clang/blob/b310439121c875937d...