summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Try making BuildBot happy again.Fariborz Jahanian2010-06-251-3/+3
| | | | llvm-svn: 106898
* Test case for pr7490.Fariborz Jahanian2010-06-251-0/+16
| | | | llvm-svn: 106887
* Add "checker caching" to GRExprEngine::CheckerVisit to progressively buildTed Kremenek2010-06-254-18/+87
| | | | | | | | | | | | a winowed list of checkers that actually do something for a given StmtClass. As the number of checkers grows, this may potentially significantly reduce the number of checkers called at any one time. My own measurements show that for the ~20 registered Checker objects, only ~5 of them respond at any one time to a give statement. While this isn't a net performance win right now (there is a minor slowdown on sqlite.3) this improvement does greatly improve debugging when stepping through the checkers used to evaluate a given statement. llvm-svn: 106884
* Fix -analyze-display-progress (once again), this time with an additional ↵Ted Kremenek2010-06-252-5/+13
| | | | | | regression test. llvm-svn: 106883
* Minor change to my last patch to fix PR7490.Fariborz Jahanian2010-06-251-4/+8
| | | | llvm-svn: 106875
* Translate numbers properly.Eric Christopher2010-06-251-1/+1
| | | | llvm-svn: 106873
* IRGen for trivial initialization of dynamiccaly allocatedFariborz Jahanian2010-06-252-19/+80
| | | | | | array of other done c++ objects. Fixes PR7490. llvm-svn: 106869
* Change RegionStoreManager::Retrieve to infer the type of a symbolic region ↵Tom Care2010-06-251-1/+6
| | | | | | from the context when it is not already available. llvm-svn: 106868
* build: Get CLANG_VERSION from Version.inc instead of depending on VER file ↵Daniel Dunbar2010-06-253-3/+7
| | | | | | directly. llvm-svn: 106864
* build: Add a generated Version.inc file instead of duplicating information.Daniel Dunbar2010-06-255-12/+54
| | | | llvm-svn: 106863
* Support NonTypeTemplateParmDecl for PCH.Argyrios Kyrtzidis2010-06-255-6/+30
| | | | llvm-svn: 106860
* Make PCHWriter::FlushStmts() robust. If we added null Stmts, reading them ↵Argyrios Kyrtzidis2010-06-251-0/+1
| | | | | | back got messed up. llvm-svn: 106859
* Support DependentTemplateSpecializationType and ElaboratedType for PCH.Argyrios Kyrtzidis2010-06-253-16/+33
| | | | llvm-svn: 106858
* Add forgotten breaks in case statements.Argyrios Kyrtzidis2010-06-251-0/+2
| | | | llvm-svn: 106857
* A bug I've introduced in STDIN handling surfaced a few broken tests, fix them.Benjamin Kramer2010-06-255-8/+9
| | | | | | Lexer/hexfloat.cpp is now XFAIL'd, I'd appreciate if someone could look into it. llvm-svn: 106840
* Support UnresolvedLookupExpr for PCH.Argyrios Kyrtzidis2010-06-256-1/+58
| | | | llvm-svn: 106832
* Support UnresolvedMemberExpr for PCH.Argyrios Kyrtzidis2010-06-257-8/+148
| | | | llvm-svn: 106831
* Print source location when we encounter unhandled statement during PCH writing.Argyrios Kyrtzidis2010-06-251-1/+3
| | | | llvm-svn: 106830
* I don't know when I committed this, but it's probably a "bad thing".Chris Lattner2010-06-251-1/+1
| | | | llvm-svn: 106821
* Implement dependent alignment attribute support. This is a bit gross given theChandler Carruth2010-06-255-27/+87
| | | | | | | | | | | | | current attribute system, but it is enough to handle class templates which specify parts of their alignment in terms of their template parameters. This also replaces the attributes test in SemaTemplate with one that actually tests working attributes instead of broken ones. I plan to add more tests here for non-dependent attributes in a subsequent patch. Thanks to John for walking me through some of this. =D llvm-svn: 106818
* Add comment for my last patch.Fariborz Jahanian2010-06-251-1/+7
| | | | llvm-svn: 106813
* Fixed another double-char in PPC-specific asm constraints.John Thompson2010-06-251-2/+6
| | | | llvm-svn: 106812
* Added PPC-specific asm constraints, PS3 configuration changes.John Thompson2010-06-241-2/+91
| | | | llvm-svn: 106806
* Remove HAS_TLS define.Eric Christopher2010-06-241-4/+0
| | | | llvm-svn: 106786
* Fixes a regression when redeclaration of a global satic Fariborz Jahanian2010-06-242-1/+11
| | | | | | is an extern local to a function. Radar 8125274. llvm-svn: 106773
* Renamed selactor-expr-lvalue.mm to selector-expr-lvalue.mm.Fariborz Jahanian2010-06-241-0/+0
| | | | | | Thanks Daniel D. llvm-svn: 106758
* Return null pointer instead of 'false' (fixes clang warning).Ted Kremenek2010-06-241-1/+1
| | | | llvm-svn: 106755
* Add check for illegal whence argument of fseek.Zhongxing Xu2010-06-242-3/+35
| | | | llvm-svn: 106742
* Should return stateNotNull.Zhongxing Xu2010-06-241-1/+1
| | | | llvm-svn: 106741
* Let StreamChecker::CheckNullStream() return a GRState after successful check.Zhongxing Xu2010-06-241-15/+16
| | | | llvm-svn: 106738
* Don't depend on system headers in clang -cc1 tests.Benjamin Kramer2010-06-242-2/+2
| | | | | | The constant was copied from clang's limits.h. llvm-svn: 106732
* Support a couple more C++ Exprs for PCH.Argyrios Kyrtzidis2010-06-2411-11/+216
| | | | llvm-svn: 106727
* Fix broken de/serialization for a couple of C++ Exprs.Argyrios Kyrtzidis2010-06-243-11/+14
| | | | llvm-svn: 106726
* More clang support for darwin tls. Add a __has_feature macro andEric Christopher2010-06-243-1/+7
| | | | | | target specific preprocessor define as well. llvm-svn: 106715
* Patch to correctly mangle block helper functionsFariborz Jahanian2010-06-248-16/+78
| | | | | | | when block literal is declared inside a ctor/dtor. Fixes radr 8096995. llvm-svn: 106700
* Add 'VisitEndAnalysis' callback to Checker class. This callback is called ↵Ted Kremenek2010-06-235-14/+32
| | | | | | | | | by GRExprEngine when the worklist algorithm has terminated. This allows some checkers to do a post-analysis phase after all paths have been analyzed. llvm-svn: 106689
* Add parentheses suggested by gcc.Duncan Sands2010-06-231-2/+2
| | | | llvm-svn: 106668
* Revert "Tweak tests to hopefully fix include of limits.h on win32.", tweak ↵Daniel Dunbar2010-06-232-3/+3
| | | | | | fails on linux. llvm-svn: 106661
* Driver: Add make variable to allow disabling default integrated assembler, tillDaniel Dunbar2010-06-231-0/+4
| | | | | | all the kinks are worked out. llvm-svn: 106641
* Add USR tests for ObjC class extensions.Ted Kremenek2010-06-231-0/+14
| | | | llvm-svn: 106640
* Tweak tests to hopefully fix include of limits.h on win32.Daniel Dunbar2010-06-232-3/+3
| | | | llvm-svn: 106639
* Add isArrayType() to CanProxy's forwarders.Sebastian Redl2010-06-231-0/+1
| | | | llvm-svn: 106629
* Support C++ class template specializations and partial specializations for PCH.Argyrios Kyrtzidis2010-06-238-54/+192
| | | | llvm-svn: 106625
* Modify ClassTemplateSpecializationDecl and ↵Argyrios Kyrtzidis2010-06-233-16/+123
| | | | | | ClassTemplatePartialSpecializationDecl to allow PCH read/write. llvm-svn: 106624
* improve altivec vector bool/pixel support, patch by Anton YartsevChris Lattner2010-06-2317-86/+168
| | | | | | with several tweaks by me. llvm-svn: 106619
* polish the -finstrument-functions implementation, patch by Nelson Elhage!Chris Lattner2010-06-231-3/+8
| | | | llvm-svn: 106618
* add comments.Zhongxing Xu2010-06-231-1/+5
| | | | llvm-svn: 106617
* add comments.Zhongxing Xu2010-06-231-1/+3
| | | | llvm-svn: 106616
* Correctly construct an ElementRegion for alloca() + pointer arithmetic. ↵Ted Kremenek2010-06-222-2/+9
| | | | | | | | Fixes analyzer crash reported in PR 7450. llvm-svn: 106609
* String literals enclosed in parentheses are still stringDouglas Gregor2010-06-222-1/+2
| | | | | | literals. Fixes PR7488. llvm-svn: 106607
OpenPOWER on IntegriCloud