Go to file
Douglas Gregor dbd93bfc2d Always allow redefinition of typedefs when modules are enabled. This
is important because it's fairly common for headers (especially system
headers) to want to provide only those typedefs needed for that
particular header, based on some guard macro, e.g.,

#ifndef _SIZE_T
#define _SIZE_T
typedef long size_t;
#endif

which is repeated in a number of headers. The guard macro protects
against duplicate definitions. However, this means that only the first
occurrence of this pattern actually defines size_t, so the submodule
corresponding to this header has the only visible definition. If a
user then imports a different submodule from the same module, size_t
will be known but not visible, and therefore cannot be used.

By allowing redefinition of typedefs, each header that wants to define
size_t can do so independently, so it will be available in the
corresponding submodules.

llvm-svn: 147775
2012-01-09 15:36:04 +00:00
clang Always allow redefinition of typedefs when modules are enabled. This 2012-01-09 15:36:04 +00:00
compiler-rt [asan] do not use new/delete for the internal thread structure 2012-01-06 19:44:11 +00:00
debuginfo-tests Testcase for r133065 2011-06-15 17:57:23 +00:00
libclc Update repository paths. 2012-01-08 22:31:18 +00:00
libcxx 1. Fix make_shared<const T>. 2. Allow allocator<const T> as an extension. 3. Refactor work which fixed unique_ptr<const T[]>. 4. Remove no-longer-needed private declarations from unique_ptr. 5. Add constraints to some shared_ptr and weak_ptr constructors and assignment operators so that is_constructible/is_assignable give the correct answers for shared_ptr and weak_ptr. 6. Make defensive preparations in the shared_ptr free functions for the introduction of shared_ptr<T[]> in the future. 7. As an optimization, add move constructor and move assignment to weak_ptr. 2012-01-02 17:56:02 +00:00
libcxxabi First brush with testing __gxx_personality_v0 reveals there is still a long way to go. But my understanding of what it is supposed to do continues to improve. I am currently contemplating whether I need to implement typeinfo before completing __gxx_personality_v0 in order to get matching catch handlers correct. 2012-01-08 23:50:46 +00:00
lld Support more Atom attributes. Add more test cases to lld-core 2012-01-04 23:58:17 +00:00
lldb <rdar://problem/10645694> 2012-01-08 05:54:35 +00:00
llvm Don't rely on the fact that shift values are never very large, and thus 2012-01-09 09:47:25 +00:00
polly add polly.sh script 2012-01-04 20:11:18 +00:00