summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Make StoreManager::InvalidateRegion() virtual, move the current implementationTed Kremenek2009-07-294-95/+132
| | | | | | | | | | in StoreManager to RegionStoreManager, and create a special, highly reduced version in BasicStoreManager. These changes are in preparation for future RegionStore-specific changes to InvalidateRegion. llvm-svn: 77483
* Add 'MemRegion::getBaseRegion()', a utility method to strip ElementRegions withTed Kremenek2009-07-294-2/+30
| | | | | | index 0. This will be used for refinements to InvalidateRegion and CastRegion. llvm-svn: 77481
* canSymbolicate() should only return true for integer types that are scalars.Ted Kremenek2009-07-291-1/+1
| | | | llvm-svn: 77479
* Check for identical types in C++ catch expression. Patch by Erik Verbruggen.Sebastian Redl2009-07-293-5/+87
| | | | llvm-svn: 77475
* Don't use a formatted ostream when writing .ll either.Daniel Dunbar2009-07-291-1/+1
| | | | llvm-svn: 77474
* Don't use a formatted ostream when writing .bc files. I don't really understandDaniel Dunbar2009-07-291-1/+1
| | | | | | this interface design, Chris please check. llvm-svn: 77473
* When lookup of an identifier preceding a '<' finds a set of overloadedDouglas Gregor2009-07-291-9/+35
| | | | | | | | functions, only return those overloaded functions that are actually function templates. Note that there is still a glaring problem with treating an OverloadedFunctionDecl as a TemplateName. llvm-svn: 77472
* scan-build: Don't try to index plist-html output directoriesDaniel Dunbar2009-07-291-5/+5
| | | | llvm-svn: 77465
* Remove an obsolete kludge based on the previous, completely broken handling ↵Douglas Gregor2009-07-292-8/+3
| | | | | | of function templates llvm-svn: 77464
* Test redefinition of class template partial specializationsDouglas Gregor2009-07-291-1/+8
| | | | llvm-svn: 77463
* Use the new statement/expression profiling code to unique dependentDouglas Gregor2009-07-299-28/+63
| | | | | | | | template arguments, as in template specialization types. This permits matching out-of-line definitions of members for class templates that involve non-type template parameters. llvm-svn: 77462
* Use the existing API for base offset. Use suitable llvm typeFariborz Jahanian2009-07-291-20/+4
| | | | | | for offset ir-gen. llvm-svn: 77458
* Make the Python TestRunner work for individual testsDouglas Gregor2009-07-291-1/+5
| | | | llvm-svn: 77456
* Remove an ObjC-specific XFAIL (and tweak test).Steve Naroff2009-07-291-2/+1
| | | | llvm-svn: 77454
* Fix <rdar://problem/7100524> regression: "error: incompatible operand types ↵Steve Naroff2009-07-292-9/+30
| | | | | | | | | ('void *' and 'NSString *')". Remove XFAIL from 'conditional-expr-4.m' test case (which would have caught this). Also tweaked several aspects of the test to jive with the current type checking. llvm-svn: 77453
* Incorporate feedback from Chris (on r76979).Steve Naroff2009-07-292-3/+4
| | | | llvm-svn: 77452
* Make functional-style casts emit correct messages, and fix a crash-on-invalid.Sebastian Redl2009-07-297-11/+310
| | | | llvm-svn: 77451
* add a fixmeZhongxing Xu2009-07-291-2/+4
| | | | llvm-svn: 77447
* delete an undefined method.Zhongxing Xu2009-07-291-2/+1
| | | | llvm-svn: 77446
* MultiTestRunner: Reenable --vg option.Daniel Dunbar2009-07-292-7/+16
| | | | | | | - Simplified from before and using --error-exitcode so failures show up as failures. llvm-svn: 77424
* Destroy the ASTConsumer prior to the Context, HTMLPrinter for example wants toDaniel Dunbar2009-07-291-5/+7
| | | | | | | do a significant amount of work in its destructor, which may access the context. (PR4642). llvm-svn: 77423
* BlockScopeInfo::hasPrototype was uninitialized.Daniel Dunbar2009-07-291-0/+1
| | | | llvm-svn: 77421
* CharLiteralParser::IsMultiChar was sometimes uninitialized.Daniel Dunbar2009-07-291-1/+2
| | | | llvm-svn: 77420
* Add missing '"'Daniel Dunbar2009-07-291-1/+1
| | | | llvm-svn: 77416
* Code refactoring to define getCXXRecordDeclForPointerTypeFariborz Jahanian2009-07-294-23/+23
| | | | | | and use it in several places. llvm-svn: 77411
* Be sure to turn on -fblocks.Mike Stump2009-07-292-2/+2
| | | | llvm-svn: 77406
* Some minor cleanups, thanks Chris.Mike Stump2009-07-283-21/+10
| | | | llvm-svn: 77402
* Some style fixes, thanks Chris.Mike Stump2009-07-282-16/+14
| | | | llvm-svn: 77400
* Add support for -Wmissing-noreturn.Mike Stump2009-07-284-2/+41
| | | | llvm-svn: 77391
* Refactor the code that produces a TemplateSpecializationType, so thatDouglas Gregor2009-07-284-114/+103
| | | | | | | | canonicalization for dependent TemplateSpecializationTypes occurs within ASTContext::getTemplateSpecializationType. Also, move template argument canonicalization into ASTContext::getCanonicalTemplateArgument. llvm-svn: 77388
* remove extraneous bracesChris Lattner2009-07-281-5/+2
| | | | llvm-svn: 77386
* Add noreturn support for blocks.Mike Stump2009-07-287-5/+75
| | | | llvm-svn: 77377
* ir-gen derived-to-base conversion in implicit casts.Fariborz Jahanian2009-07-281-1/+15
| | | | llvm-svn: 77374
* Update for LLVM API change.Owen Anderson2009-07-283-11/+11
| | | | llvm-svn: 77368
* Remove the old RecordOrganizer.Anders Carlsson2009-07-281-151/+0
| | | | llvm-svn: 77365
* Fix PR 4631. The compound initializers of unions were not being evaluated, whichTed Kremenek2009-07-282-8/+24
| | | | | | | | | could cause false positives if any the subexpressions had side-effects. These initializers weren't evaluated because the StoreManager would need to handle them, but that's an orthogonal problem of whether or not the StoreManager can handle the binding. llvm-svn: 77361
* Add missing break statement.Ted Kremenek2009-07-281-1/+2
| | | | llvm-svn: 77356
* Update comments.Mike Stump2009-07-281-2/+2
| | | | llvm-svn: 77355
* Fix regression in attribute 'nonnull' checking when a transition nodeTed Kremenek2009-07-283-1/+23
| | | | | | was created but not added to the destination NodeSet. This fixes PR 4630. llvm-svn: 77353
* Add a field for C++ specific data to ASTRecordLayout. Use it to store the ↵Anders Carlsson2009-07-283-22/+119
| | | | | | non-virtual size and alignment + base offsets. llvm-svn: 77352
* More cleanup of data member access and then some.Fariborz Jahanian2009-07-283-10/+28
| | | | llvm-svn: 77351
* Update for LLVM API change.Owen Anderson2009-07-284-37/+37
| | | | llvm-svn: 77349
* fix PR4633: cast to void should silence the 'unused expression' warning.Chris Lattner2009-07-282-4/+10
| | | | llvm-svn: 77344
* add some fixme'sChris Lattner2009-07-281-2/+2
| | | | llvm-svn: 77343
* this test crashes, disable it harder.Chris Lattner2009-07-281-1/+3
| | | | llvm-svn: 77342
* Some code cleanup.Fariborz Jahanian2009-07-282-26/+11
| | | | llvm-svn: 77339
* More CGRecordLayoutBuilder cleanup.Anders Carlsson2009-07-282-33/+12
| | | | llvm-svn: 77335
* More work toward data member access ir-gen.Fariborz Jahanian2009-07-284-0/+57
| | | | llvm-svn: 77332
* Add two more tests.Anders Carlsson2009-07-281-0/+13
| | | | llvm-svn: 77330
* Add a template test that requires canonical expression comparisonDouglas Gregor2009-07-281-0/+17
| | | | llvm-svn: 77325
OpenPOWER on IntegriCloud