- Dec 01, 2011
-
-
Dylan Noblesmith authored
Missing file from r145629. llvm-svn: 145634
-
Dylan Noblesmith authored
It was getting ignored after r144788. Also fix an accidental implicit cast from the OptLevel enum to an optional bool argument. MSVC warned on this, but gcc didn't. llvm-svn: 145633
-
Kostya Serebryany authored
llvm-svn: 145631
-
Chad Rosier authored
where it appeared beneficial to pass. More of rdar://10500969 llvm-svn: 145630
-
Anshuman Dasgupta authored
llvm-svn: 145629
-
Sean Callanan authored
in the face of failures to import types, since blithely passing on NULL types can sometimes lead to trouble. Also eliminated a use of getAs and replaced it with dyn_cast, which is more robust. llvm-svn: 145628
-
David Blaikie authored
llvm-svn: 145627
-
Jim Ingham authored
llvm-svn: 145625
-
Howard Hinnant authored
llvm-svn: 145624
-
Daniel Dunbar authored
- Another reapply of r144300, with hopefully one last fix. llvm-svn: 145623
-
Daniel Dunbar authored
directory when running from a build directory. llvm-svn: 145622
-
Sanjoy Das authored
llvm-svn: 145619
-
Pete Cooper authored
Improved fix for abs(val) != 0 to check other similar case. Also fixed style issues and confusing comment llvm-svn: 145618
-
Kostya Serebryany authored
[asan] two minor fixes: use UnreachableInst after the neverreturn function call; use report_fatal_error when blacklist file can not be found llvm-svn: 145611
-
David Chisnall authored
old dispatch mechanism when I introduced the new one. llvm-svn: 145609
-
Chad Rosier authored
llvm-svn: 145608
-
Benjamin Kramer authored
llvm-svn: 145607
-
Benjamin Kramer authored
llvm-svn: 145606
-
-
Chris Lattner authored
llvm-svn: 145590
-
Douglas Gregor authored
(sub)module, all of the names may be hidden, just the macro names may be exposed (for example, after the preprocessor has seen the import of the module but the parser has not), or all of the names may be exposed. Importing a module makes its names, and the names in any of its non-explicit submodules, visible to name lookup (transitively). This commit only introduces the notion of name visible and marks modules and submodules as visible when they are imported. The actual name-hiding logic in the AST reader will follow (along with test cases). llvm-svn: 145586
-
radar://10508828Anna Zaks authored
We trigger an error if free is called after a possibly failed allocation. Do not trigger the error if we know that the buffer is not null. llvm-svn: 145584
-
Douglas Gregor authored
typo-correct to ourselves. llvm-svn: 145583
-
Duncan Sands authored
Original commit message: llvm-config: Replace with C++ version (was llvm-config-2). - Reapply of r144300, with lots of fixes/migration easement in between. llvm-svn: 145582
-
Michael J. Spencer authored
llvm-svn: 145581
-
Francois Pichet authored
Change the Microsoft __interface keyword to be an alias for struct (not class) since members are public by default. llvm-svn: 145580
-
Eric Christopher authored
sure we can emit both the high and low versions of those registers. Fixes rdar://10392864 llvm-svn: 145579
-
David Blaikie authored
llvm-svn: 145578
-
Ted Kremenek authored
llvm-svn: 145577
-
Anna Zaks authored
We are getting name of the called function or it's declaration in a few checkers. Refactor them to use the helper function in the CheckerContext. llvm-svn: 145576
-
Ted Kremenek authored
When analyzing a C++ method (without a specific caller), assume 'this' is non-null. Fixes <rdar://problem/10508787>. llvm-svn: 145575
-
Eli Friedman authored
Don't use a varargs convention for calls unprototyped functions where one of the arguments is an AVX vector. llvm-svn: 145574
-
-
Pete Cooper authored
llvm-svn: 145570
-
Sean Callanan authored
enhancements. With these enhancements, the return values of Objective-C methods with unknown return types can be implicitly cast to id for the purpose of making method calls. So what would have required this: (int)[(id)[ClassWithNoDebugInfo methodReturningObject] methodReturningInt] can now be written as: (int)[[ClassWithNoDebugInfo methodReturningObject] methodReturningInt] llvm-svn: 145567
-
rdar://problem/10507811Greg Clayton authored
Avoid a crash for the new DW_OP_stack_value and DW_OP_implicit_value opcodes that was due to an assertion. llvm-svn: 145564
-
Pete Cooper authored
(val != 0) == (-val != 0) so "abs(val) != 0" becomes "val != 0" Fixes <rdar://problem/10482509> llvm-svn: 145563
-
Greg Clayton authored
llvm-svn: 145561
-
Chad Rosier authored
InstructionSimplify.cpp. Other fixups as needed. Part of rdar://10500969 llvm-svn: 145559
-
Jim Ingham authored
If we are going to assert due to an unhanded opcode, stuff the opcode value into the CrashReporter string first. llvm-svn: 145558
-