- Jun 30, 2010
-
-
Duncan Sands authored
header trimming (needed for std::uninitialized_copy). llvm-svn: 107291
-
Sebastian Redl authored
llvm-svn: 107290
-
Fariborz Jahanian authored
rewriting a c-style cast expression in statement printer. Fixes radar 8143056. llvm-svn: 107289
-
Caroline Tice authored
Add functions to look up debugger by id Add global variable to lldb python module, to hold debugger id Modify embedded Python interpreter to update the global variable with the id of its current debugger. Modify the char ** typemap definition in lldb.swig to accept 'None' (for NULL) as a valid value. The point of all this is so that, when you drop into the embedded interpreter from the command interpreter (or when doing Python-based breakpoint commands), there is a way for the Python side to find/get the correct debugger instance ( by checking debugger_unique_id, then calling SBDebugger::FindDebuggerWithID on it). llvm-svn: 107287
-
Duncan Sands authored
llvm-svn: 107286
-
Duncan Sands authored
replaced by a bigger array in SmallPtrSet (by overridding it), instead just use a pointer to the start of the storage, and have SmallPtrSet pass in the value to use. This has the disadvantage that SmallPtrSet becomes bigger by one pointer. It has the advantage that it no longer uses tricky C++ rules, and is clearly correct while I'm not sure the previous version was. This was inspired by g++-4.6 pointing out that SmallPtrSetImpl was writing off the end of SmallArray, which it was. Since SmallArray is replaced with a bigger array in SmallPtrSet, the write was still to valid memory. But it was writing off the end of the declared array type - sounds kind of dubious to me, like it sounded dubious to g++-4.6. Maybe g++-4.6 is wrong and this construct is perfectly valid and correctly compiled by all compilers, but I think it is better to avoid the whole can of worms by avoiding this construct. llvm-svn: 107285
-
Gabor Greif authored
llvm-svn: 107282
-
Benjamin Kramer authored
llvm-svn: 107281
-
Gabor Greif authored
llvm-svn: 107280
-
Gabor Greif authored
llvm-svn: 107279
-
Gabor Greif authored
llvm-svn: 107278
-
Gabor Greif authored
llvm-svn: 107277
-
Gabor Greif authored
llvm-svn: 107276
-
Gabor Greif authored
llvm-svn: 107275
-
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
-
Gabor Greif authored
llvm-svn: 107273
-
Gabor Greif authored
llvm-svn: 107272
-
Gabor Greif authored
llvm-svn: 107271
-
Gabor Greif authored
llvm-svn: 107270
-
Gabor Greif authored
llvm-svn: 107269
-
Argyrios Kyrtzidis authored
llvm-svn: 107268
-
Argyrios Kyrtzidis authored
llvm-svn: 107267
-
Argyrios Kyrtzidis authored
llvm-svn: 107266
-
Argyrios Kyrtzidis authored
llvm-svn: 107265
-
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
-
Dan Gohman authored
llvm-svn: 107258
-
Dan Gohman authored
llvm-svn: 107257
-
Dan Gohman authored
the old one instead of replacing it, to be more precise. llvm-svn: 107256
-
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
-
Dan Gohman authored
on ScalarEvolution successfully folding and preserving range information for both A-B and B-A. Now, if it gets either one, it's sufficient. llvm-svn: 107249
-
Dan Gohman authored
llvm-svn: 107248
-
Jim Ingham authored
Add a way for the completers to say whether the completed argument should have a space inserted after is or not. Added the file name completer to the "file" command. llvm-svn: 107247
-
Bruno Cardoso Lopes authored
llvm-svn: 107246
-
Bruno Cardoso Lopes authored
llvm-svn: 107245
-
John Mosby authored
llvm-svn: 107244
-
Bruno Cardoso Lopes authored
llvm-svn: 107243
-
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
-
Bruno Cardoso Lopes authored
llvm-svn: 107241
-