SaintKings-Mac-mini:~ saintking$ python Python 2.7.10 (default, Jul 30 2016, 18:31:42) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on dar ...
分类:
系统相关 时间:
2017-10-30 19:42:46
阅读次数:
463
参考 https://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Other-Builtins.html#Other-Builtins https://en.wikipedia.org/wiki/Find_first_set#CTZ Clang 5.x [26][27] ...
分类:
其他好文 时间:
2017-10-30 15:58:55
阅读次数:
737
refer: http://www.sublimetext.com/docs/3/linux_repositories.html#aptInstall the GPG key: Ensure apt is set up to work with https sources: Select the c ...
分类:
系统相关 时间:
2017-10-17 15:15:31
阅读次数:
255
block的实质 以一个简单的实现为列子; 终端:clang -rewrite-objc 类文件名.m cpp文件中关键代码: 运行时的myBlcokTest方法; 去掉类型转化 __People__myBlcokTest_block_impl_0:是一个结构体 包含两个成员: 通过结构体的构造函数 ...
分类:
其他好文 时间:
2017-10-11 00:54:32
阅读次数:
179
Thread Sanitizer 过程编译过程中链接了一个新的库。? 也可以通过命令行来操作: $ clang -fsanitize=thread source.c -o executable$ swiftc -sanitize=thread source.swift -o executable$ ... ...
分类:
其他好文 时间:
2017-10-05 12:13:27
阅读次数:
169
OCLint 就是一个建立在 Clang 上的工具,能够发现代码中潜在的问题。 最近需要一个静态分析代码工具,帮助我们发布运行应用前找到代码潜在的问题。 其实对于iOS开发,我们的日常开发上已经用到了这样一个静态分析的工具,那就是 Clang, Clang 是支持C、C++、Objective-C ...
分类:
其他好文 时间:
2017-09-30 19:46:50
阅读次数:
197
POCO库中文编程参考指南(2)基本数据类型 作者:柳大·Poechant 博客:Blog.CSDN.net/Poechant 邮箱:zhongchao.ustc#gmail.com (# -> @) 日期:April 14th, 2012 基本类型在Poco/Types.h头文件中。以下以 GNU ...
分类:
其他好文 时间:
2017-09-29 19:34:10
阅读次数:
145
LLVM 1. 说说 LLVM(Low Level Virtual Machine)到底是什么吧 先说编译器:编译器是把程序员的代码翻译成机器可以理解的语言的工具; 再谈 LLVM:一个模块化和可重用的编译器和工具链技术的集合,Clang 是 LLVM 的子项目,是 C,C++ 和 Objectiv ...
分类:
其他好文 时间:
2017-09-27 20:53:54
阅读次数:
227
转:http://www.cnblogs.com/saintlas/p/5738739.html LLVM是构架编译器(compiler)的框架系统,以C++编写而成,用于优化以任意程序语言编写的程序的编译时间(compile-time)、链接时间(link-time)、运行时间(run-time) ...
分类:
其他好文 时间:
2017-09-21 13:45:50
阅读次数:
215
一、错误提示 在我们写代码过程中可能会经常遇到这样一个错误: 1. duplicate symbols for architecture x86_64 2.clang: error: linker command failed with exit code 1 (use -v to see invo ...
分类:
移动开发 时间:
2017-09-13 16:18:03
阅读次数:
202