summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't warn for "if ((a == b))" if the parens came from a macro. Thanks to ↵Argyrios Kyrtzidis2011-02-012-0/+9
| | | | | | Fariborz for the hint! llvm-svn: 124689
* Take Bill Wendling's suggestion for structuring a couple of asserts.Matt Beaumont-Gay2011-02-011-6/+6
| | | | llvm-svn: 124688
* Update to match changes in lldb interface.Devang Patel2011-02-011-1/+2
| | | | llvm-svn: 124687
* Do the right thing for zero-initializing VLAs that don't have a zeroJohn McCall2011-02-012-6/+61
| | | | | | | bit-pattern. It's not clear that this is actually useful given current language restrictions. llvm-svn: 124685
* Add updated Debian ARM include path.Nick Lewycky2011-02-011-0/+2
| | | | llvm-svn: 124684
* Provide constant strings for certain common code completion strings,Douglas Gregor2011-02-011-22/+90
| | | | | | eliminating the need to copy those strings. llvm-svn: 124683
* Add test case for dead stores checker to not flag dead assignments to 'self' ↵Ted Kremenek2011-02-011-0/+17
| | | | | | within a nested assignment. llvm-svn: 124681
* Fix the message. Thanks to Thomas Clement for noticing.Argyrios Kyrtzidis2011-02-011-1/+1
| | | | llvm-svn: 124680
* Fix imm printing for logical instructions.Anton Korobeynikov2011-02-013-24/+45
| | | | | | Patch by Brian G. Lucas! llvm-svn: 124679
* Document the LLVM GIT mirrorAnton Korobeynikov2011-02-011-0/+20
| | | | llvm-svn: 124677
* For "if ((a == b))" only warn if 'a' is a modifiable l-value. Caught by John!Argyrios Kyrtzidis2011-02-012-1/+13
| | | | llvm-svn: 124675
* [analyzer] Slightly improve the diagnostic message of ObjCSelfInitChecker.Argyrios Kyrtzidis2011-02-011-2/+2
| | | | llvm-svn: 124674
* Allocate CodeCompletionString and all of its components in aDouglas Gregor2011-02-017-994/+967
| | | | | | | | | | | | BumpPtrAllocator, rather than manually new/delete'ing them. This optimization also allows us to avoid allocating memory for and copying constant strings (e.g., "return", "class"). This also required embedding the priority and availability of results within the code completion string, to avoid extra memory allocation within libclang. llvm-svn: 124673
* [AVX] Implement EnforceSmallerThan for mixed int/fp type lists. ThisDavid Greene2011-02-011-27/+130
| | | | | | | | | | | | | makes type checking for extract_subvector and insert_subvector more robust and will allow stricter typechecking of more patterns in the future. This change handles int and fp as disjoint sets so that it will enforce integer types to be smaller than the largest integer type and fp types to be smaller than the largest fp type. There is no attempt to check type sizes across the int/fp sets. llvm-svn: 124672
* Remove the 'lldb_private::' namespace resolution operator.Johnny Chen2011-02-011-34/+34
| | | | llvm-svn: 124671
* Add EmulateVPOP() to the g_arm_opcodes and g_thumb_opcodes tables, which ↵Johnny Chen2011-02-012-5/+106
| | | | | | | | represents an operation to load multiple extension registers from the stack. llvm-svn: 124670
* Warn for "if ((a == b))" where the equality expression is needlessly wrapped ↵Argyrios Kyrtzidis2011-02-015-1/+38
| | | | | | | | | | inside parentheses. It's highly likely that the user intended an assignment used as condition. Addresses rdar://8848646. llvm-svn: 124668
* Add temporary hack to -Wuninitialize to create a separate CFG (for C++ code) ↵Ted Kremenek2011-02-011-1/+18
| | | | | | | | | | | | | that doesn't include implicit dtors. Implicit dtors confuse the ad hoc path-sensitivity of UninitializedValuesV2.cpp. This isn't the ideal solution, as it will directly impact compile time, but should significantly reduce the noise of -Wuninitialized on some code bases. This immediately "fixes" the false positive reported in PR 9063, although this isn't the right fix in the long run. llvm-svn: 124667
* Enhance -Wuninitialized to better reason about || and &&, tracking dual ↵Ted Kremenek2011-02-012-38/+81
| | | | | | | | dataflow facts and properly merging them. Fixes PR 9076. llvm-svn: 124666
* Remove stale references of obsolete @llvm.dbg.variable.Devang Patel2011-02-011-8/+3
| | | | llvm-svn: 124664
* Implement access checking for the "delete" operator. Fixes PR9050,Douglas Gregor2011-02-015-6/+41
| | | | | | from Alex Miller! llvm-svn: 124663
* Fix a thinko where I didn't update a consistency check forDouglas Gregor2011-02-013-1/+30
| | | | | | | PackExpansionType in the AST reader. We need more testing for variadic templates + PCH, but this fixes PR9073. llvm-svn: 124662
* Basic support for -mms-bitfields, from Carl Norum!Douglas Gregor2011-02-0110-1/+56
| | | | llvm-svn: 124661
* Support EFI target triple, from Carl Norum!Douglas Gregor2011-02-011-1/+4
| | | | llvm-svn: 124660
* Make SwitchInst::removeCase() more efficient.Jay Foad2011-02-012-9/+6
| | | | llvm-svn: 124659
* A missed endian fix for the linux register context for x86_64.Greg Clayton2011-02-011-1/+1
| | | | llvm-svn: 124658
* Add a m_Undef pattern for convenience. This is so that code that usesDuncan Sands2011-02-012-16/+26
| | | | | | | pattern matching can also pattern match undef, creating a more uniform style. llvm-svn: 124657
* Add a m_SignBit pattern for convenience.Duncan Sands2011-02-012-3/+16
| | | | llvm-svn: 124656
* Have m_One also match constant vectors for which every element is 1.Duncan Sands2011-02-015-11/+16
| | | | llvm-svn: 124655
* Make that test case actually test something, and add another test.John McCall2011-02-011-2/+12
| | | | llvm-svn: 124654
* The code trying to assign a typedef to an anonymous tag declaration wasJohn McCall2011-02-013-15/+57
| | | | | | | | extremely rambunctious, both on parsing and on template instantiation. Calm it down, fixing an internal consistency assert on anonymous enum instantiation manglings. llvm-svn: 124653
* Test commit - fix a double 'should' in a comment.Carl Norum2011-02-011-1/+1
| | | | llvm-svn: 124652
* Revert 124633. The linker has been told how to merge available_externally.Rafael Espindola2011-02-012-2/+3
| | | | llvm-svn: 124651
* Correctly merge available_externally and regular definitions when they haveRafael Espindola2011-02-013-2/+13
| | | | | | different visibilities. llvm-svn: 124650
* Added a cleanup helper object to make sure the directory that was opened ↵Greg Clayton2011-02-011-11/+9
| | | | | | with "DIR *opendir(const char *)" is closed if it is valid with a call to "int closedir (DIR *)". llvm-svn: 124649
* Added a cleanup helper object to make sure the directory that was opened ↵Greg Clayton2011-02-011-3/+4
| | | | | | with "DIR *opendir(const char *)" is closed if it is valid with a call to "int closedir (DIR *)". llvm-svn: 124648
* Correct units in doxygen comment for NonVirtualSize.Ken Dyck2011-02-011-1/+1
| | | | llvm-svn: 124647
* Convert RecordLayout::NonVirtualSize from bit units to CharUnits.Ken Dyck2011-02-016-17/+23
| | | | llvm-svn: 124646
* Fix bogus assert condition noticed by Csaba Raduly.Evan Cheng2011-02-011-2/+2
| | | | llvm-svn: 124645
* Added EmulateIntruction plug-in manager support.Greg Clayton2011-02-014-0/+141
| | | | llvm-svn: 124644
* Endian patch from Kirk Beitz that allows better cross platform building.Greg Clayton2011-02-0141-191/+169
| | | | llvm-svn: 124643
* Add TestVirtual.py to go with test/cpp/virtual/main.cpp file, which testsJohnny Chen2011-02-013-12/+104
| | | | | | C++ virtual function and virtual inheritance. llvm-svn: 124642
* Reapply 124275 since the Dragonegg failure was unreproducible.Eric Christopher2011-02-012-85/+88
| | | | llvm-svn: 124641
* Fix test for non-darwin targets.Evan Cheng2011-02-011-2/+2
| | | | llvm-svn: 124640
* Patches to build EFI with Clang/LLVM. By Carl Norum.Evan Cheng2011-02-018-17/+41
| | | | llvm-svn: 124639
* Patch from Kirk Beitz that removes an unneeded include of "sys/errno.h".Greg Clayton2011-02-011-1/+1
| | | | llvm-svn: 124638
* When initializing struct members, the important thing is that the ↵Argyrios Kyrtzidis2011-02-012-2/+14
| | | | | | | | | | "initializing" expression is compatible, not having the same type. Fix rdar://8183908 in which compatible vector types weren't initialized properly leading to a crash. llvm-svn: 124637
* Cleaned up the EmulateInstructionARM to have the evaluate instructionGreg Clayton2011-02-012-207/+294
| | | | | | callbacks use member functions. llvm-svn: 124636
* Remove stale test that has never worked, afaik.Devang Patel2011-02-011-60/+0
| | | | llvm-svn: 124635
* Don't tell the linker about available_externally definitions. If we do, it willRafael Espindola2011-02-011-0/+4
| | | | | | complain about duplicated definitions. llvm-svn: 124634
OpenPOWER on IntegriCloud