- Jun 30, 2010
-
-
Fariborz Jahanian authored
in method/blocks to decide not to mangle them. llvm-svn: 107309
-
Eric Christopher authored
would work. Sebastian: figure out which one you want :) llvm-svn: 107305
-
Fariborz Jahanian authored
should not be mangled either. Fixes radar 8016412. llvm-svn: 107303
-
Sebastian Redl authored
Make both old and new versions of reference binding use the new classification functions, and updated them for N3092. llvm-svn: 107301
-
Douglas Gregor authored
union whose first field has integral vector type. Also, clean up this diagnostic a bit. Thanks to Eli for spotting this change in semantics last week. llvm-svn: 107296
-
Chris Lattner authored
llvm-svn: 107292
-
Sebastian Redl authored
llvm-svn: 107290
-
Fariborz Jahanian authored
rewriting a c-style cast expression in statement printer. Fixes radar 8143056. llvm-svn: 107289
-
rdar://8139785Argyrios Kyrtzidis authored
As a bonus, fix the warning for || and && operators; it was emitted even if one of the operands had side effects, e.g: x || test_logical_foo1(); emitted a bogus "expression result unused" for 'x'. llvm-svn: 107274
-
Argyrios Kyrtzidis authored
llvm-svn: 107268
-
Argyrios Kyrtzidis authored
llvm-svn: 107267
-
Argyrios Kyrtzidis authored
llvm-svn: 107266
-
Charles Davis authored
doesn't mangle array parameters right), but I think that should be fixed in Sema (Doug, John, what do you think?). Also, stub out the remaining mangleType() routines. llvm-svn: 107264
-
Ted Kremenek authored
Correctly implement the CheckerVisit optimization introduced in r106884, but this time actually used the cached checker list when calling back to Checker visit methods. This reduces the analysis time for sqlite3.c by 8%. llvm-svn: 107259
-
Daniel Dunbar authored
'long'. The practical upshot is so that the uint64_t we define in our stdint.h ends up being compatible with that defined by gcc (at least on Darwin), which otherwise could lead to type incompatibilities with other system headers. llvm-svn: 107255
-
Daniel Dunbar authored
llvm-svn: 107254
-
Chandler Carruth authored
Previously we relied on the presence of a member which needs no initialization to prevent us from creating an additional initialization of the outer anonymous union field. We have already correctly marked that field as initialized by the member of the union (repeatedly due to the original bug this patch fixes) so we simply need to bail out. llvm-svn: 107242
-
Chandler Carruth authored
else. Get the build bots happy while I debug. Very sorry for the delay fixing this... llvm-svn: 107239
-
Jordy Rose authored
Pointers casted as integers still count as locations to SimpleSValuator, so don't crash if we do a funny thing like ((int)ptr)&1. Fixes PR7527. llvm-svn: 107236
-
Chandler Carruth authored
anonymous union under the presumption that they didn't do anything. While this is true, our checks for redundant initialization of an anonymous union still fire when these overlap with explicit user initialization. A cleaner approach is to avoid initializing multiple members of a union altogether, but this still is in a rather fuzzy are especially when C++0x allows non-POD types into unions. llvm-svn: 107235
-
Daniel Dunbar authored
Revert r107173, "fix PR7519: after thrashing around and remembering how all this stuff", it broke bootstrap. llvm-svn: 107232
-
Daniel Dunbar authored
Revert r107216, "fix PR7523, which was caused by the ABI code calling ConvertType instead", it is part of a boostrap breaking sequence. llvm-svn: 107231
-
Douglas Gregor authored
type to an integral or enumeration type in the size of an array new expression, e.g., new int[ConvertibleToInt(10)]; This is a GNU and C++0x extension. llvm-svn: 107229
-
Chandler Carruth authored
initialization. I tried several ideas but couldn't come up with a test case for this that didn't rely on a Clang bug to report a diagnostic after template instantiation of the constructor due to the implicit initializers. Suggestions welcome. This fixes the source location aspect of PR7402. llvm-svn: 107226
-
Douglas Gregor authored
have integral or enumeration type, so that we still check the contents of the switch body. My previous patch made this worse; now we're back to where we were previously. llvm-svn: 107223
-
Douglas Gregor authored
enumeration type out into a separate, reusable routine. The only functionality change here is that we recover a little more aggressively from ill-formed switch conditions. llvm-svn: 107222
-
Argyrios Kyrtzidis authored
This commit 'introduces' a slightly different way to restore the state of the AST object. It makes PCHDeclReader/PCHDeclWriter friends and gives them access to the private members of the object. The rationale is to avoid using/modifying the AST interfaces for PCH read/write so that to: -Avoid complications with objects that have side-effects during creation or when using some setters. -Not 'pollute' the AST interface with methods only used by the PCH reader/writer -Allow AST objects to be read-only. llvm-svn: 107219
-
Argyrios Kyrtzidis authored
When we know that we are at sub-statement reading (which is all of PCHStmtReader) use the "faster" ReadSubStmt. No functionality change. llvm-svn: 107218
-
Daniel Dunbar authored
complex values either. Previously we did this properly for regular assignment, but not for compound assignment. - Also, tidy up assignment code a bit to look more like the scalar path. llvm-svn: 107217
-
Chris Lattner authored
of ConvertTypeRecursive when it needed to in a few cases, causing pointer types to get resolved at the wrong time. llvm-svn: 107216
-
Daniel Dunbar authored
would trigger an extra method call). - While in the area, I also changed Clang to not emit an unnecessary load from 'x' in cases like 'y = (x = 1)'. llvm-svn: 107210
-
- Jun 29, 2010
-
-
Ted Kremenek authored
be true if some paths were aborted because they exceeded the maximum loop unrolling count. llvm-svn: 107209
-
Douglas Gregor authored
looking for, reset the name within the LookupResult structure in addition to clearing out the results. Fixes PR7508. llvm-svn: 107197
-
Chris Lattner authored
it doesn't dangle as types get refined. This fixes Shootout-C++/lists1 and probably also PR7522. llvm-svn: 107196
-
Douglas Gregor authored
llvm-svn: 107191
-
Daniel Dunbar authored
with bit-fields. llvm-svn: 107185
-
Chris Lattner authored
of CanQualTypes to be passed in. llvm-svn: 107176
-
Fariborz Jahanian authored
unimplemented property warning for properties coming from class's conformin protocol. It also simplifies the algorithm in the process. Fixes radar 8035776. llvm-svn: 107174
-
Chris Lattner authored
works, the fix is quite simple: just make sure to call ConvertTypeRecursive when the function type being lowered is in the midst of ConvertType. llvm-svn: 107173
-
Douglas Gregor authored
"std", with a warning, to improve GCC compatibility. Fixes PR7517. As a drive-by, add typo correction for using directives. llvm-svn: 107172
-