summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Warn when cases are missing from a switch on a value of enumerationDouglas Gregor2010-02-084-2/+231
| | | | | | type (-Wswitch), from Michal! llvm-svn: 95592
* Remove table (for now). Doesn't look so hot.Ted Kremenek2010-02-081-1/+2
| | | | llvm-svn: 95590
* Add images showing the results in a web browser and Xcode respectively.Ted Kremenek2010-02-083-0/+13
| | | | llvm-svn: 95589
* Keep track of whether a tag was defined in a declarator vs. beingDouglas Gregor2010-02-084-2/+19
| | | | | | defined by itself, from Enea Zaffanella! llvm-svn: 95586
* Emit global references with constant initializers as constants. Fixes PR5585.John McCall2010-02-082-3/+3
| | | | | | | The standard actually says that such references should have internal linkage, but gcc doesn't do that, so we probably can't get away with it. llvm-svn: 95577
* Remove link to Developer Meeting and tighten menu.Ted Kremenek2010-02-082-8/+2
| | | | llvm-svn: 95576
* Add link to the current status of analysis support for C++.Ted Kremenek2010-02-082-0/+55
| | | | llvm-svn: 95573
* Add some diagnostics for when we cannot update the original spec file.Ted Kremenek2010-02-081-3/+9
| | | | llvm-svn: 95572
* Merge block/function pointer types with objc's __weakFariborz Jahanian2010-02-083-5/+35
| | | | | | | | | attribute properly and avoid bogus warning. This is an objective-c fix only. objective-c++ follows different code pass and requires separate fix (which will come at a later time). Fixes radar 7214820. llvm-svn: 95571
* Implement basic importing and merging of variable declarations withinDouglas Gregor2010-02-085-3/+190
| | | | | | | the AST importer. This doesn't actually do anything (yet), because we don't have driver logic for merging ASTs. llvm-svn: 95570
* Add a Python script to change what version of Clang is used by Xcode for ↵Ted Kremenek2010-02-081-0/+65
| | | | | | static analysis (and ONLY static analysis). llvm-svn: 95569
* Fix -Asserts warning.Daniel Dunbar2010-02-081-1/+3
| | | | llvm-svn: 95563
* Add a test case for r95555.Sebastian Redl2010-02-081-0/+15
| | | | llvm-svn: 95562
* Simplify another switch/strcmp construct. No functionality/performance change.Benjamin Kramer2010-02-081-55/+16
| | | | llvm-svn: 95561
* When placing an annotation token over an existing annotation token, make ↵Sebastian Redl2010-02-084-3/+8
| | | | | | sure that the new token's range extends to the end of the old token. Assert that in AnnotateCachedTokens. Fixes PR6248. llvm-svn: 95555
* Fix the crash-on-invalid from PR6259.John McCall2010-02-082-1/+16
| | | | llvm-svn: 95554
* Ensure that a operator delete overload is rocognized regardless of cv-quals.Chandler Carruth2010-02-082-1/+10
| | | | llvm-svn: 95553
* Reapply r95546, no intended change in performance or functionality.Benjamin Kramer2010-02-083-152/+77
| | | | llvm-svn: 95552
* Revert 95546 since it changed the algorithmic characteristics of the ↵Ted Kremenek2010-02-083-76/+153
| | | | | | convention lookup. llvm-svn: 95547
* Simplify code with StringRef.Benjamin Kramer2010-02-083-153/+76
| | | | | | 3 files changed, 76 insertions(+), 153 deletions(-) llvm-svn: 95546
* Revert 95541.Ted Kremenek2010-02-0829-138/+133
| | | | llvm-svn: 95545
* Cache imported typesDouglas Gregor2010-02-082-2/+15
| | | | llvm-svn: 95543
* Rename: GRState::getSVal(Stmt*) => getExprVal(),Zhongxing Xu2010-02-0829-133/+138
| | | | | | GRState::getSVal(MemRegion*) => Load(). llvm-svn: 95541
* BindInternal is redundant. Remove it.Zhongxing Xu2010-02-081-14/+9
| | | | llvm-svn: 95540
* Like for symbolic region, automatically create a element zero region for Zhongxing Xu2010-02-081-15/+5
| | | | | | alloca region. llvm-svn: 95539
* Unify the implementation of getLValueElement of store managers.Zhongxing Xu2010-02-085-119/+56
| | | | | | | It's more sophisticated than the original one of BasicStore. But it does matter. llvm-svn: 95536
* Unify the implementation of getLValueIvar and getLValueField of store managers.Zhongxing Xu2010-02-085-124/+45
| | | | llvm-svn: 95535
* Move common methods to the base StoreManager class.Zhongxing Xu2010-02-084-61/+10
| | | | llvm-svn: 95534
* This doesn't seem to be used code as it didn't break any tests, but fix theChandler Carruth2010-02-081-1/+1
| | | | | | glaring logic bug anyways. =D llvm-svn: 95533
* ASTContext is now a reference member of StoreManager.Zhongxing Xu2010-02-083-3/+4
| | | | llvm-svn: 95531
* Add support for binding and retrieving VarRegions in flat store.Zhongxing Xu2010-02-082-12/+71
| | | | llvm-svn: 95529
* Require a complete type before examining base classes during template argumentChandler Carruth2010-02-072-72/+92
| | | | | | | | | | deduction. This requires refactoring the deduction to have access to the Sema object instead of merely the ASTContext. Still leaves something to be desired due to poor source location. Fixes PR6257 and half of PR6259. llvm-svn: 95528
* Make sure to set vtable pointers in the destructors as well.Anders Carlsson2010-02-074-1/+58
| | | | llvm-svn: 95525
* Use the right type when taking the address of a non-virtual member function ↵Anders Carlsson2010-02-073-6/+28
| | | | | | pointer. Fixes PR6258. llvm-svn: 95524
* Workaround for friend template instantiation crash in PR5848, from Keir Mierle!Douglas Gregor2010-02-072-3/+26
| | | | llvm-svn: 95517
* Fix assertion failure when parsing linkage specifications (PR5921),Douglas Gregor2010-02-073-1/+5
| | | | | | from Keir Mierle! llvm-svn: 95516
* Roll r95513 back in.Sam Weinig2010-02-077-9/+88
| | | | llvm-svn: 95515
* Roll out r95513, it seems to have broken self hosting.Sam Weinig2010-02-077-88/+9
| | | | llvm-svn: 95514
* Add PCH support for CXXBoolLiteralExpr and CXXNullPtrLiteralExpr.Sam Weinig2010-02-077-9/+88
| | | | llvm-svn: 95513
* Use the right linkage for static variables inside C++ inline functions.Anders Carlsson2010-02-073-7/+33
| | | | llvm-svn: 95512
* Improved handling of the visibility attribute. Declarations now inherit ↵Anders Carlsson2010-02-072-0/+70
| | | | | | | | their parent's visibility. (This is kind of a risky change, but I did a self-host build and everything appears to work fine!) llvm-svn: 95511
* Add attributes to namespace decls.Anders Carlsson2010-02-075-6/+12
| | | | llvm-svn: 95510
* Make EmitStartEHSpec and EmitEndEHSpec return early when exceptions are ↵Anders Carlsson2010-02-062-0/+18
| | | | | | disabled. llvm-svn: 95509
* Add support for threadsafe statics, and make them the default (matching gcc).Anders Carlsson2010-02-068-28/+118
| | | | | | Daniel, I'd appreciate a review of the driver/cc1 parts. llvm-svn: 95508
* Call destructors for constructed bases as well.Anders Carlsson2010-02-061-0/+13
| | | | llvm-svn: 95502
* If a constructor throws an exception we need to execute the destructors for ↵Anders Carlsson2010-02-061-0/+19
| | | | | | all fully constructed members. Fixes ctor_dtor_count.cpp in the test suite. llvm-svn: 95501
* Use a substituted type when determining how to substitute in non-type templateJohn McCall2010-02-062-35/+42
| | | | | | | | | | | params. Don't insert addrof operations when matching against a pointer; array/function conversions should take care of this for us, assuming the argument type-checked in the first place. Add a fixme where we seem to be using a less-restrictive reference type than we should. Fixes PR 6249. llvm-svn: 95495
* Silence GCC warning and stay in 80 cols.Benjamin Kramer2010-02-061-4/+5
| | | | llvm-svn: 95494
* Extract a function to instantiate references to value template parameters.John McCall2010-02-061-109/+116
| | | | llvm-svn: 95491
* Update checker build.Ted Kremenek2010-02-061-1/+1
| | | | llvm-svn: 95490
OpenPOWER on IntegriCloud