- Oct 11, 2010
-
-
NAKAMURA Takumi authored
It enables clang to compile Mingw's headers. llvm-svn: 116184
-
NAKAMURA Takumi authored
llvm-svn: 116183
-
NAKAMURA Takumi authored
- lib/gcc/include should not be included. Clang oughta have alternatives. (PR7956) - Cygwin: /usr/include/w32api should be included. gcc/cygwin does. - gcc/cygwin uses gcc paths as /usr/lib not /lib. They are same on Cygwin environment, though, We have to take what gcc/cygwin does. - Cygwin-1.7: Use 4.3.4. - Cygwin-1.5: Use 4.3.2 for gcc-4. llvm-svn: 116182
-
- Oct 10, 2010
-
-
Chris Lattner authored
llvm-svn: 116166
-
Chris Lattner authored
by Pierre Habouzit! llvm-svn: 116165
-
Francois Pichet authored
llvm-svn: 116164
-
Zhongxing Xu authored
Lei Zhang. llvm-svn: 116163
-
Argyrios Kyrtzidis authored
llvm-svn: 116162
-
NAKAMURA Takumi authored
llvm-svn: 116161
-
- Oct 09, 2010
-
-
Benjamin Kramer authored
Store pointer and length of the message in DelayedDiagnostic and hide the gory union details. llvm-svn: 116153
-
Bill Wendling authored
__builtin_ia32_vec_init_v8qi __builtin_ia32_vec_init_v4hi __builtin_ia32_vec_init_v2si They are lowered to bitcasts. (These are all ready tested by the gcc testsuite.) <rdar://problem/8529957> llvm-svn: 116147
-
-
John McCall authored
constant initializers. llvm-svn: 116138
-
Nico Weber authored
llvm-svn: 116129
-
Douglas Gregor authored
bit by me). llvm-svn: 116122
-
Fariborz Jahanian authored
one declared in class's extension and not one declared in class's superclass. This supresses a bogus warning on method type mismatch. Fixes //rdar: // 8530080 llvm-svn: 116118
-
- Oct 08, 2010
-
-
Fariborz Jahanian authored
expression, the entire assignment tree is rewritten into a property setter messaging. This includes rewriting the RHS. Do not attempt to rewrite RHS again. Never rewrite a rewritten text! Fixes //rdar: //8527018. llvm-svn: 116104
-
Douglas Gregor authored
llvm-svn: 116103
-
Douglas Gregor authored
brokenness in the designated-initializer ASTs. The ASTs were fixed by Alp Toker's patch (r116098) for PR6955. Fixes PR6537. llvm-svn: 116101
-
Douglas Gregor authored
completes support for C1X anonymous struct/union init features: * Indexed anonymous member initializers should not be expanded. Doing so makes little sense and would cause unresolvable semantic ambiguity in valid code (regression introduced by r69153). * Subobject initialization of (possibly nested) anonymous members are now referred to with paths relative to the naming record context, eliminating the synthesis of incorrect implicit InitListExprs that caused CodeGen to assert. * Field lookup was missing a null check in IdentifierInfo comparison which caused lookup for a known (already resolved) field to match the first unnamed data member it encountered leading to silent miscompilation. * Subobject paths are no longer built using the general purpose Sema::BuildAnonymousStructUnionMemberPath(). If any corner cases crop up, we will now assert earlier in Sema instead of passing invalid InitListExprs through to CodeGen. Fixes PR6955, from Alp Toker! llvm-svn: 116098
-
Douglas Gregor authored
rather than a space. llvm-svn: 116097
-
Devang Patel authored
llvm-svn: 116071
-
John McCall authored
unless it's a non-packed field, in which case it can only increase the alignment. [[align]] effectively works the same way for well-formed code (because it's ill-formed for [[align]] to decrease alignment ever). Fixes rdar://problem/8335865 llvm-svn: 116070
-
Devang Patel authored
This is tested by file-statics.exp in gdb testsuite. llvm-svn: 116060
-
Douglas Gregor authored
preambles: - When we rebuild a precompiled preamble, make sure to disable skipping anything in the main file; we may have had leftover preamble-skipping values in the lexer, which leads to very empty preamble. This is a correctness issue. - When we rebuild a precompiled preamble, clear out any prior state in the Diagnostic object. Otherwise, we might think that there were errors when we were building the preamble itself, and therefore reject the resulting preamble. This is mainly a performance issue. - Don't remove old remappings when digging out the remapping for the main file. Having the old mappings around does not hurt in the common case (later remappings will just overwrite them), and is important when we fail to find a preamble: we don't want to have removed the remapping, because we'll need it later. llvm-svn: 116041
-
Argyrios Kyrtzidis authored
t.c:1:7: error: invalid '==' at end of declaration; did you mean '='? int x == 0; ^~ = Implements rdar://8488464. llvm-svn: 116035
-
John McCall authored
to white-list conversions required by system headers. rdar://problem/8232669 llvm-svn: 116029
-
-
Devang Patel authored
This is tested by callfuncs.exp in gdb testsuite. llvm-svn: 115989
-
- Oct 07, 2010
-
-
Argyrios Kyrtzidis authored
Fix an infinite loop, caused by unintended syntax bug (the 'break;' after 'default:' was intended to break out of the while loop). Fixes rdar://8518859&8520617. llvm-svn: 115985
-
Fariborz Jahanian authored
to match gcc's encoding. Fixes //rdar: // 8519948. llvm-svn: 115980
-
Abramo Bagnara authored
llvm-svn: 115979
-
Fariborz Jahanian authored
must match start and end location of the expression as expected by the rewriter client. Fixes // rdar: // 8520727 llvm-svn: 115934
-
Douglas Gregor authored
llvm-svn: 115931
-
Daniel Dunbar authored
the version information, to help prevent user confusion about vendor version numbers vs. LLVM version numbers. llvm-svn: 115915
-
Fariborz Jahanian authored
And its documentation. Finishes off // rdar: // 6734520. llvm-svn: 115862
-
Tom Care authored
- Fixed some iterator style issues - Don't process blocks that have been visited already - Fixed a case where a unreachable block cycle was not reported - Minor test case changes - Added one test case from flow-sensitive version of the check. More coming. llvm-svn: 115861
-
Fariborz Jahanian authored
llvm-svn: 115856
-
- Oct 06, 2010
-
-
Fariborz Jahanian authored
attribute(unavailable) to do next. // rdar:// 6734520. llvm-svn: 115842
-
Douglas Gregor authored
of the precompiled preamble (or any PCH file it depends on) fails during reparsing. llvm-svn: 115838
-