Go to file
Alexander Kornienko 477e5d8d31 [clang-tidy] cppcoreguidelines-interfaces-global-init
Summary:
This check flags initializers of globals that access extern objects, and therefore can lead to order-of-initialization problems (this recommandation is part of CPP core guidelines).
Note that this only checks half of the guideline for now (it does not enforce using constexpr functions).

Reviewers: aaron.ballman, alexfh

Subscribers: aaron.ballman, etienneb, Eugene.Zelenko, cfe-commits

Patch by Clement Courbet!

Differential Revision: http://reviews.llvm.org/D18649

llvm-svn: 265774
2016-04-08 09:51:06 +00:00
clang Adapt to LLVM API change 2016-04-08 01:31:02 +00:00
clang-tools-extra [clang-tidy] cppcoreguidelines-interfaces-global-init 2016-04-08 09:51:06 +00:00
compiler-rt [sanitizer] Fix sem_init_glibc.cc test on __HAVE_64B_ATOMIC arches. 2016-04-07 20:26:28 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc [AMDGPU] Implement get_local_size for amdgcn--amdhsa triple 2016-04-07 19:54:19 +00:00
libcxx Recommit r263036 with additional inlining, so that it will continue to work with existing system dylibs. Implements LWG#2583 2016-04-07 18:13:41 +00:00
libcxxabi Update copyright year to 2016. 2016-03-30 22:40:47 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Simplify createELFFile. NFC. 2016-04-08 00:18:25 +00:00
lldb Fix TestImport for Windows by ensuring backslashes in the directory paths are properly escaped in Python. 2016-04-07 22:52:12 +00:00
llgo [llgo] add USES_TERMINAL option to check-libgo 2016-03-30 00:29:33 +00:00
llvm [llvm-c] Expose LLVMContextGetDiagnostic{Handler,Context} 2016-04-08 09:19:02 +00:00
openmp [STATS] Remove trailing whitespace in stats source files 2016-04-05 18:48:48 +00:00
polly Add test case forgotten in r265379. 2016-04-05 17:40:07 +00:00