summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix and add tests for all cases in x86 and x86_64 where gnu as implicitlyRafael Espindola2010-11-243-16/+109
| | | | | | sets the type of a symbol to STT_TLS. llvm-svn: 120100
* Testcase for r120017.Rafael Espindola2010-11-241-0/+1
| | | | llvm-svn: 120099
* Add template alias emulation to <ratio>Howard Hinnant2010-11-241-8/+37
| | | | llvm-svn: 120098
* Updating MBlaze .mask and .frame directives to match GCC's output and fixing ↵Wesley Peck2010-11-241-12/+19
| | | | | | regression introduced in 120095 by checking MCStreamer::hasRawTextSupport. llvm-svn: 120097
* 1. Fixing error where basic block labels were not being printed out when ↵Wesley Peck2010-11-245-33/+126
| | | | | | | | | | they need to be for the MBlaze backend because AsmPrinter::isBlockOnlyReachableByFallthrough does not take into account delay slots. 2. Re-adding .mask and .frame directives in printed assembly. 3. Adding .ent and .end directives in printed assembly. 4. Minor cleanups to MBlaze backend. llvm-svn: 120095
* When getting CXXThisRegion from CXXMethodDecl, use the qualifiers. This is Zhongxing Xu2010-11-243-2/+11
| | | | | | | | | | | to be consistent with the type of 'this' expr in the method. 此行及以下内容将会被忽略-- M test/Analysis/method-call.cpp M include/clang/Checker/PathSensitive/GRExprEngine.h M lib/Checker/GRCXXExprEngine.cpp llvm-svn: 120094
* Let StackFrameContext represent if the call expr is evaluated as lvalue.Zhongxing Xu2010-11-249-39/+83
| | | | | | This is required for supporting const reference to temporary objects. llvm-svn: 120093
* Use i8 as SETCC result type for i1 in SPU.Kalle Raiskila2010-11-241-4/+14
| | | | llvm-svn: 120092
* Appease versions of GCC which don't correctly support injected classJohn McCall2010-11-241-2/+2
| | | | | | names. llvm-svn: 120091
* Allow for 'fcmp ogt' in SPU.Kalle Raiskila2010-11-242-8/+21
| | | | | | Fix by Visa Putkinen! llvm-svn: 120090
* This is probably an important file.John McCall2010-11-241-0/+861
| | | | llvm-svn: 120089
* Add -cc1 -ast-dump-xml, an excessively detailed XML dump of the internalsJohn McCall2010-11-2410-0/+51
| | | | | | | | | | | | | of the ASTs. Only available in assertions builds. No stability guarantee. This is intended solely as a debugging tool. I'm not sure if the goals are sufficiently aligned with the XML printer to allow a common implementation. Currently just falls back on the StmtDumper to display statements, which means it doesn't produce valid XML in those cases. llvm-svn: 120088
* Use StackFrameContext directly in CallEnter program point. Then we don't needZhongxing Xu2010-11-247-39/+36
| | | | | | to remake the stackframe everytime in GRExprEngine::ProcessCallEnter(). llvm-svn: 120087
* print asLValue attribute of CFGStmt.Zhongxing Xu2010-11-241-0/+3
| | | | llvm-svn: 120086
* Switch a lot of call-sites over to using the new value-kind calculations.John McCall2010-11-2413-54/+61
| | | | llvm-svn: 120084
* Improve comments in Clang static analyzer, based on kremenek'sZhanyong Wan2010-11-245-32/+55
| | | | | | explanation on how things work there. Reviewed by kremenek. llvm-svn: 120081
* Refactor AddStmtChoice to make it easier to use; also add comments on how ↵Zhanyong Wan2010-11-241-49/+57
| | | | | | the class works. Reviewed by kremenek. llvm-svn: 120080
* Fix 2 problems with Chris Lattner's FileManager redesign on Windows.Francois Pichet2010-11-242-2/+1
| | | | | | | - FileEntry::operator= is needed on Win32. - There was an error in the S_ISDIR() macro. llvm-svn: 120079
* If a symbol is used as tls, mark it as tls even if not declare as so. ProbablyRafael Espindola2010-11-242-2/+54
| | | | | | fixes PR8659. llvm-svn: 120076
* Add an assert() to catch errors using EvalLoad(). Reviewed by kremenek.Zhanyong Wan2010-11-241-1/+2
| | | | llvm-svn: 120073
* include/llvm/System/system_error.h: ECANCELED is undefined on Cygwin-1.5.NAKAMURA Takumi2010-11-241-0/+4
| | | | llvm-svn: 120072
* Adjust method calls to reflect name changes inTed Kremenek2010-11-2416-121/+128
| | | | | | | | | | ImmutableSet/ImmtuableMap/ImmutableList APIs. Along the way, clean up some method names in the static analyzer so that they are more descriptive and/or start with lowercase letters. llvm-svn: 120071
* Tweak ImmutableMap/ImmutableSet/ImmutableList APIsTed Kremenek2010-11-245-260/+235
| | | | | | | | | | to use lowercase letters for the start of most method names and to replace some method names with more descriptive names (e.g., "getLeft()" instead of "Left()"). No real functionality change. llvm-svn: 120070
* Unbreak clang-interpreter. (Should there be some automated testing for this?)Eli Friedman2010-11-241-1/+2
| | | | llvm-svn: 120069
* Generalize overflowLeaf to also handle overflows in branch nodes.Jakob Stoklund Olesen2010-11-241-29/+50
| | | | | | | This doesn't quite work yet because the calls to treeDecrement and treeIncrement operate at the leaf level, not on pathNode(Level) as required. llvm-svn: 120068
* The final result of all this refactoring: instead of doing stat immediatelyChris Lattner2010-11-233-7/+55
| | | | | | | | | | | | | followed by an open for every source file we open, probe the file system with 'open' and then do an fstat when it succeeds. open+fstat is faster than stat+open because the kernel only has to perform the string->inode mapping once. Presumably it gets faster the deeper in your filesystem a lookup happens. For -Eonly on cocoa.h, this reduces system time from 0.042s to 0.039s on my machine, a 7.7% speedup. llvm-svn: 120066
* add a MemoryBuffer::getOpenFile method, which turns an openChris Lattner2010-11-232-4/+16
| | | | | | file descriptor into a MemoryBuffer (and closes the FD). llvm-svn: 120065
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-237-0/+84
| | | | llvm-svn: 120064
* Redeclarations of using declarations are not okay in function scopes.John McCall2010-11-232-5/+14
| | | | | | | | Not sure what I was thinking before. Fixes PR8668. llvm-svn: 120063
* if we succeed in opening a directory but expected a file, ensure we don'tChris Lattner2010-11-231-1/+22
| | | | | | leak a filedescriptor if a client ever starts returning one. llvm-svn: 120062
* hopefully resolve the windows buildbot issue (retch)Chris Lattner2010-11-231-0/+8
| | | | llvm-svn: 120061
* change the 'is directory' indicator to be a null-or-notChris Lattner2010-11-237-35/+75
| | | | | | | | | pointer that is passed down through the APIs, and make FileSystemStatCache::get be the one that filters out directory lookups that hit files. This also paves the way to have stat queries be able to return opened files. llvm-svn: 120060
* system_error: Add fixme.Michael J. Spencer2010-11-231-0/+3
| | | | llvm-svn: 120059
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-2315-608/+0
| | | | llvm-svn: 120058
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-2315-0/+608
| | | | llvm-svn: 120057
* pull "is directory" handling into FileManager::getStatValueChris Lattner2010-11-232-34/+56
| | | | | | | which simplifies clients and is important for future directions. Add a FD member to FileEntry which isn't used but will be shortly. llvm-svn: 120056
* A few tweaks to the value-kind computation:John McCall2010-11-234-75/+92
| | | | | | | | | | | | | - Default argument expressions pick up the value kind of the incoming expression, not the value kind of the parameter it initializes. - When building a template argument for substitution, A::x is an rvalue if x is an instance method. - Anonymous struct/union paths pick up value kind the same way that normal member accesses do; extract out a common code path for this. Enable the value-kind assertion, now that it passes self-host. llvm-svn: 120055
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-2312-0/+0
| | | | llvm-svn: 120054
* Remove static_casts from SemaDeclAttr.cppPeter Collingbourne2010-11-231-22/+22
| | | | llvm-svn: 120053
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-230-0/+0
| | | | llvm-svn: 120052
* Rename SimplifyDistributed to the more meaningfull name SimplifyByFactorizing.Duncan Sands2010-11-234-15/+15
| | | | llvm-svn: 120051
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-230-0/+0
| | | | llvm-svn: 120050
* The srem -> urem transform is not safe for any divisor that's not a power of ↵Benjamin Kramer2010-11-233-16/+14
| | | | | | | | | | two. E.g. -5 % 5 is 0 with srem and 1 with urem. Also addresses Frits van Bommel's comments. llvm-svn: 120049
* tidy up code, add a comment about dir caching.Chris Lattner2010-11-231-20/+16
| | | | llvm-svn: 120048
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-230-0/+0
| | | | llvm-svn: 120047
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-230-0/+0
| | | | llvm-svn: 120046
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-234-748/+0
| | | | llvm-svn: 120045
* Replace calls to ConstantFoldInstruction with calls to SimplifyInstructionDuncan Sands2010-11-232-11/+12
| | | | | | | in two places that are really interested in simplified instructions, not constants. llvm-svn: 120044
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-234-0/+748
| | | | llvm-svn: 120043
* Constant folding here is pointless, because InstructionSimplifyDuncan Sands2010-11-231-8/+1
| | | | | | | (which does constant folding and more) is called a few lines later. llvm-svn: 120042
OpenPOWER on IntegriCloud