- Apr 28, 2011
-
-
Devang Patel authored
llvm-svn: 130339
-
Eli Friedman authored
Make the fast-isel code for literal 0.0 a bit shorter/faster, since 0.0 is common. rdar://problem/9303592 . llvm-svn: 130338
-
Eli Friedman authored
llvm-svn: 130337
-
Ted Kremenek authored
llvm-svn: 130336
-
Eli Friedman authored
Don't print fixits for format specifiers in cases where the fixit does not actually fix the warning. PR8781. I'm not sure what the preferred way to write a test for whether a fixit is emitted. llvm-svn: 130335
-
Greg Clayton authored
new OptionGroup subclasses for: - output file for use with options: long opts: --outfile <path> --append--output short opts: -o <path> -A - format for use with options: long opts: --format <format> - variable object display controls for depth, pointer depth, wether to show types, show summary, show location, flat output, use objc "po" style summary. Modified ValueObjectMemory to be able to be created either with a TypeSP or a ClangASTType. Switched "memory read" over to use OptionGroup subclasses: one for the outfile options, one for the command specific options, and one for the format. llvm-svn: 130334
-
- Apr 27, 2011
-
-
NAKAMURA Takumi authored
A few styles are brought from http://llvm.org/test-doxygen/api/api.css llvm-svn: 130333
-
Johnny Chen authored
method names of all the lldb container objects and returns an iterator object when passed an eligible lldb container object. Example: from lldb_util import smart_iter for thread in smart_iter(process): ID = thread.GetThreadID() if thread.GetStopReason() == lldb.eStopReasonBreakpoint: stopped_due_to_breakpoint = True for frame in smart_iter(thread): self.assertTrue(frame.GetThread().GetThreadID() == ID) ... Add a test case for lldb.smart_iter(). llvm-svn: 130332
-
Rafael Espindola authored
llvm-svn: 130331
-
Kevin Enderby authored
value is zero so it does not add a NULL expr operand. llvm-svn: 130330
-
Dan Gohman authored
llvm-svn: 130327
-
Devang Patel authored
llvm-svn: 130326
-
Johnny Chen authored
llvm-svn: 130325
-
Evan Cheng authored
successors) and use inverse depth first search to traverse the BBs. However that doesn't work when the CFG has infinite loops. Simply do a linear traversal of all BBs work just fine. rdar://9344645 llvm-svn: 130324
-
Johnny Chen authored
Add another test case for lldb_iter(), this time using SBTarget to get at its SBBreakpoint containees. llvm-svn: 130323
-
Ted Kremenek authored
Update scan-build to '-analyzer-checker debug.Stats' instead of the old '-analyzer-stats' -cc1 argument. llvm-svn: 130320
-
Jim Ingham authored
llvm-svn: 130319
-
Chandler Carruth authored
silence this warning. ;] Fixed that obvious bug and added a bit more testing as well. llvm-svn: 130318
-
Dan Gohman authored
only check arguments with pointer types. Update the documentation of IntrReadArgMem reflect this. While here, add support for TBAA tags on intrinsic calls. llvm-svn: 130317
-
Andrew Trick authored
llvm-svn: 130316
-
Devang Patel authored
Simplify cfg inserts a call to trap when unreachable code is detected. Assign DebugLoc to this new trap instruction. llvm-svn: 130315
-
Johnny Chen authored
And modify the test cases accordingly. llvm-svn: 130314
-
Jakob Stoklund Olesen authored
We cannot rely on the <imp-def> operands added by LiveIntervals in all cases as demonstrated by the test case. llvm-svn: 130313
-
-
Fariborz Jahanian authored
// rdar://8823265 related. llvm-svn: 130311
-
Douglas Gregor authored
pack expansion. Fixes PR9452. llvm-svn: 130310
-
Douglas Gregor authored
llvm-svn: 130307
-
Manuel Klimek authored
This patch simplifies writing of standalone Clang tools. As an example, we add clang-check, a tool that runs a syntax only frontend action over a .cc file. When you integrate this into your favorite editor, you get much faster feedback on your compilation errors, thus reducing your feedback cycle especially when writing new code. The tool depends on integration of an outstanding patch to CMake to work which allows you to always have a current compile command database in your cmake output directory when you set CMAKE_EXPORT_COMPILE_COMMANDS. llvm-svn: 130306
-
Rafael Espindola authored
non private symbol. This will be use for handling foo: .cfi_startproc ... On OS X where we have to create a foo.eh symbol. llvm-svn: 130305
-
Lenny Maiorani authored
More accurately model realloc() when the size argument is 0. realloc() with a size of 0 is equivalent to free(). The memory region should be marked as free and not used again. Unit tests f2_realloc_0(), f6_realloc(), and f7_realloc() contributed by Marshall Clow <mclow.lists@gmail.com>. Thanks! llvm-svn: 130303
-
Duncan Sands authored
effective in avoiding recomputation of LCSSA form; the widespread use of instsimplify (which looks through phi nodes) means it was not preserving LCSSA form anyway; and instcombine is no longer scheduled in the middle of the loop passes so this doesn't matter anymore. llvm-svn: 130301
-
Chandler Carruth authored
a destination pointer that points to a non-POD type. This can flag such horrible bugs as overwriting vptrs when a previously POD structure is suddenly given a virtual method, or creating objects that crash on practically any use by zero-ing out a member when its changed from a const char* to a std::string, etc. llvm-svn: 130299
-
John McCall authored
fully defined. Somehow this escaped notice for a very long time. llvm-svn: 130298
-
Douglas Gregor authored
ClassifyName() builds a primary expression, generate one of these annotation tokens rather than jumping into the parser. llvm-svn: 130297
-
Eric Christopher authored
been running into it. llvm-svn: 130296
-
Douglas Gregor authored
llvm-svn: 130295
-
Andrew Trick authored
llvm-svn: 130294
-
Douglas Gregor authored
creating a type-annotation token rather than jumping into the declaration parsing. llvm-svn: 130293
-
Ted Kremenek authored
Allow 'Environment::getSVal()' to allow an optional way for checkers to do a direct lookup to values bound to expressions, without resulting to lazy logic. This is critical for the OSAtomicChecker that does a simulated load on any arbitrary expression. llvm-svn: 130292
-
Chandler Carruth authored
Apologies. llvm-svn: 130291
-