| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Slight cleanup, and fix for va_arg on architectures where va_list is a | Eli Friedman | 2009-01-20 | 4 | -15/+16 |
| | | | | | | | struct. llvm-svn: 62585 | ||||
| * | Do codegen correctly for va_start/end/copy on architectures where | Eli Friedman | 2009-01-20 | 1 | -4/+14 |
| | | | | | | | | | | va_list is a struct, like x86-64. If anyone has a better idea for how to do the check in the if statements, suggestions are welcome. llvm-svn: 62582 | ||||
| * | Rename DeclContext::insert to DeclContext::makeDeclVisibleInContext and ↵ | Douglas Gregor | 2009-01-20 | 2 | -9/+9 |
| | | | | | | | document both it and DeclContext::addDecl properly llvm-svn: 62581 | ||||
| * | Fix for PR3350: add special-casing for "references" to va_lists in | Eli Friedman | 2009-01-20 | 2 | -5/+18 |
| | | | | | | | | | builtins. Also, a minor tweak to va_copy for consistency. llvm-svn: 62574 | ||||
| * | Remove the TopLevelDecls from TranslationUnit, since all of those decls are ↵ | Douglas Gregor | 2009-01-20 | 4 | -114/+10 |
| | | | | | | | owned by the ASTContext's TranslationUnitDecl. There are definitely some leaking Decls now that I'll tackle tomorrow llvm-svn: 62568 | ||||
| * | Remove ScopedDecl, collapsing all of its functionality into Decl, so | Douglas Gregor | 2009-01-20 | 27 | -450/+305 |
| | | | | | | | | | | | | | | | | | that every declaration lives inside a DeclContext. Moved several things that don't have names but were ScopedDecls (and, therefore, NamedDecls) to inherit from Decl rather than NamedDecl, including ObjCImplementationDecl and LinkageSpecDecl. Now, we don't store empty DeclarationNames for these things, nor do we try to insert them into DeclContext's lookup structure. The serialization tests are temporarily disabled. We'll re-enable them once we've sorted out the remaining ownership/serialiazation issues between DeclContexts and TranslationUnion, DeclGroups, etc. llvm-svn: 62562 | ||||
| * | Update for new SourceLocation API. | Daniel Dunbar | 2009-01-20 | 1 | -0/+1 |
| | | | | | llvm-svn: 62556 | ||||
| * | Dead stores checker: Fix <rdar://problem/6506065> by being more selective ↵ | Ted Kremenek | 2009-01-20 | 2 | -13/+44 |
| | | | | | | | when say that a store is dead even though the computed value is used in the enclosing expression. llvm-svn: 62552 | ||||
| * | PTH: Emitted tokens now consist of 12 bytes that are loaded used 3 32-bit ↵ | Ted Kremenek | 2009-01-19 | 1 | -5/+8 |
| | | | | | | | loads. This reduces user time but increases system time because of the slightly larger PTH file. Although there is no performance win on Cocoa.h and -Eonly, overall this seems like a good step. llvm-svn: 62542 | ||||
| * | Make sure all types are allocated with 8-byte alignment. | Steve Naroff | 2009-01-19 | 1 | -21/+21 |
| | | | | | | | The QualType smart pointer assumes we have 3 flag bits available. llvm-svn: 62540 | ||||
| * | Convert more expression actions to smart pointers. | Sebastian Redl | 2009-01-19 | 4 | -98/+110 |
| | | | | | llvm-svn: 62537 | ||||
| * | Allocate Types using ASTContext's 'Allocator' object. | Ted Kremenek | 2009-01-19 | 2 | -42/+75 |
| | | | | | llvm-svn: 62530 | ||||
| * | Type of property and its ivar is more restrictive | Fariborz Jahanian | 2009-01-19 | 1 | -0/+15 |
| | | | | | | | that rules for assignment. llvm-svn: 62524 | ||||
| * | Centralize error reporting of improper uses of incomplete types in the | Douglas Gregor | 2009-01-19 | 7 | -53/+138 |
| | | | | | | | | | | | new DiagnoseIncompleteType. It provides additional information about struct/class/union/enum types when possible, either by pointing to the forward declaration of that type or by pointing to the definition (if we're in the process of defining that type). Fixes <rdar://problem/6500531>. llvm-svn: 62521 | ||||
| * | Patch to allow @dynamic synthesis of property in a category, | Fariborz Jahanian | 2009-01-19 | 1 | -2/+11 |
| | | | | | | | with @synthesize being illegal. llvm-svn: 62515 | ||||
| * | do not use SourceManager::getFileCharacteristic(FileID), it is not | Chris Lattner | 2009-01-19 | 1 | -6/+7 |
| | | | | | | | | safe because a #line can change the file characteristic on a per-loc basis. llvm-svn: 62502 | ||||
| * | do not use SourceManager::getFileCharacteristic(FileID), it is not | Chris Lattner | 2009-01-19 | 1 | -1/+1 |
| | | | | | | | | safe because a #line can change the file characteristic on a per-loc basis. llvm-svn: 62501 | ||||
| * | Rename SourceManager::getCanonicalFileID -> getFileID. There is | Chris Lattner | 2009-01-19 | 7 | -31/+23 |
| | | | | | | | no longer such thing as a non-canonical FileID. llvm-svn: 62499 | ||||
| * | Run destructors of MacroInfo objects to free memory they allocate. This ↵ | Ted Kremenek | 2009-01-19 | 1 | -1/+3 |
| | | | | | | | addresses <rdar://problem/6506035>. llvm-svn: 62498 | ||||
| * | remove the public SourceManager::getContentCacheForLoc method. | Chris Lattner | 2009-01-19 | 1 | -1/+4 |
| | | | | | llvm-svn: 62497 | ||||
| * | remove the SourceManager:: and FullSourceLoc::getFileEntryForLoc methods. | Chris Lattner | 2009-01-19 | 2 | -6/+1 |
| | | | | | llvm-svn: 62496 | ||||
| * | SourceManager::getBufferData(SourceLocation) is dead, delete it. | Chris Lattner | 2009-01-19 | 1 | -8/+2 |
| | | | | | llvm-svn: 62495 | ||||
| * | some minor cleanups to SourceManager, and eliminate the | Chris Lattner | 2009-01-19 | 2 | -2/+2 |
| | | | | | | | SourceManager::getBuffer(SourceLocation) method. llvm-svn: 62494 | ||||
| * | Make some enums in SourceLocation private, remove a useless assertion from ↵ | Chris Lattner | 2009-01-19 | 1 | -3/+0 |
| | | | | | | | ScratchBuffer. llvm-svn: 62492 | ||||
| * | Make SourceLocation::getFileLoc private to reduce the API exposure of | Chris Lattner | 2009-01-19 | 3 | -13/+23 |
| | | | | | | | | SourceLocation. This requires making some cleanups to token pasting and _Pragma expansion. llvm-svn: 62490 | ||||
| * | Convert more expression actions to smart pointers. | Sebastian Redl | 2009-01-19 | 6 | -256/+294 |
| | | | | | | | Fix type of logical negation for C++. llvm-svn: 62475 | ||||
| * | fix rdar://6505352 - Bogus warning with -WUndef, a case | Chris Lattner | 2009-01-18 | 1 | -1/+2 |
| | | | | | | | Anders noticed. llvm-svn: 62472 | ||||
| * | fix deallocation of FunctionDecl::ParamInfo | Nuno Lopes | 2009-01-18 | 1 | -5/+3 |
| | | | | | llvm-svn: 62469 | ||||
| * | Convert a few expression actions to smart pointers. | Sebastian Redl | 2009-01-18 | 6 | -148/+152 |
| | | | | | | | These actions are extremely widely used (identifier expressions and literals); still no performance regression. llvm-svn: 62468 | ||||
| * | Rename move_convert to move_arg and move_res. The new names are less ↵ | Sebastian Redl | 2009-01-18 | 6 | -53/+47 |
| | | | | | | | misleading (and shorter). llvm-svn: 62466 | ||||
| * | Convert ObjC statement actions to smart pointers. | Sebastian Redl | 2009-01-18 | 3 | -56/+55 |
| | | | | | llvm-svn: 62465 | ||||
| * | Convert asm statement action to smart pointers. | Sebastian Redl | 2009-01-18 | 3 | -83/+77 |
| | | | | | llvm-svn: 62464 | ||||
| * | Convert more statement actions to smart pointers. | Sebastian Redl | 2009-01-18 | 3 | -70/+69 |
| | | | | | llvm-svn: 62463 | ||||
| * | Switch MinimalAction from new/delete'ing its TypeNameInfo to | Chris Lattner | 2009-01-18 | 1 | -37/+56 |
| | | | | | | | | | allocating them from a recycling bump pointer allocator. This reduces malloc/free traffic of parse-noop (but no other mode), which makes sharking -parse-noop more meaningful. llvm-svn: 62460 | ||||
| * | Vector codegen improvements | Nate Begeman | 2009-01-18 | 5 | -46/+87 |
| | | | | | llvm-svn: 62458 | ||||
| * | Support evaluation of vector constant expressions, and codegen of same. | Nate Begeman | 2009-01-18 | 5 | -10/+92 |
| | | | | | llvm-svn: 62455 | ||||
| * | rearrange GetIdentifierInfo so that the fast path can be partially inlined ↵ | Chris Lattner | 2009-01-18 | 1 | -10/+4 |
| | | | | | | | into PTHLexer::Lex. This speeds up the user time of PTH -Eonly by another 2ms (4.4%) llvm-svn: 62454 | ||||
| * | rename some variables, only set a tokens identifierinfo if non-null. | Chris Lattner | 2009-01-18 | 1 | -10/+11 |
| | | | | | llvm-svn: 62450 | ||||
| * | On i386 and x86-64, just do unaligned loads | Chris Lattner | 2009-01-18 | 1 | -0/+20 |
| | | | | | | | | instead of assembling from bytes. This speeds up -Eonly PTH reading of cocoa.h by about 2ms, which is 4.2%. llvm-svn: 62447 | ||||
| * | Handle the 'X' constraint. Fixes <rdar://problem/6504897>. | Anders Carlsson | 2009-01-18 | 1 | -0/+2 |
| | | | | | llvm-svn: 62446 | ||||
| * | switch PTHLexer to use Read32 and friends instead of lots of inlined | Chris Lattner | 2009-01-18 | 1 | -107/+60 |
| | | | | | | | copies. I verified that this causes no performance change in PTH. llvm-svn: 62445 | ||||
| * | CG support for inline asm constraints with symbolic names. Fixes PR3345 | Anders Carlsson | 2009-01-18 | 1 | -2/+18 |
| | | | | | llvm-svn: 62444 | ||||
| * | A couple more vector component access fixes. | Nate Begeman | 2009-01-18 | 1 | -0/+11 |
| | | | | | llvm-svn: 62443 | ||||
| * | switch PTH lexer from using "const char*"s to "const unsigned char*"s | Chris Lattner | 2009-01-18 | 1 | -48/+71 |
| | | | | | | | | internally. This is just a cleanup that reduces the need to cast to unsigned char before assembling a larger integer. llvm-svn: 62442 | ||||
| * | Add sema support for symbolic names in inline asm statements. | Anders Carlsson | 2009-01-18 | 2 | -2/+40 |
| | | | | | llvm-svn: 62441 | ||||
| * | Update support for vector component access on ExtVectors. | Nate Begeman | 2009-01-18 | 2 | -43/+47 |
| | | | | | llvm-svn: 62440 | ||||
| * | Fit in 80 cols | Nate Begeman | 2009-01-18 | 1 | -1/+2 |
| | | | | | llvm-svn: 62439 | ||||
| * | Add support for vectors to APValue. Vector constant evaluator and tests coming. | Nate Begeman | 2009-01-18 | 2 | -0/+23 |
| | | | | | llvm-svn: 62438 | ||||
| * | Remove outdated diagnostic. Tests are coming. | Nate Begeman | 2009-01-18 | 1 | -11/+1 |
| | | | | | llvm-svn: 62437 | ||||
| * | Allow targets to override IntMaxTWidth | Nate Begeman | 2009-01-17 | 1 | -0/+1 |
| | | | | | llvm-svn: 62434 | ||||

