| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix for PR5190, Credit to Zhanyong Wan. | Edward O'Callaghan | 2009-10-17 | 1 | -5/+14 |
| | | | | | llvm-svn: 84346 | ||||
| * | Avoid std::string thrashing in MultiKeywordSelector::getName(), and simplify. | Daniel Dunbar | 2009-10-17 | 1 | -19/+12 |
| | | | | | llvm-svn: 84343 | ||||
| * | Simplify more. | Daniel Dunbar | 2009-10-17 | 1 | -9/+5 |
| | | | | | llvm-svn: 84342 | ||||
| * | Simplify. | Daniel Dunbar | 2009-10-17 | 1 | -25/+4 |
| | | | | | llvm-svn: 84341 | ||||
| * | Use raw_ostream instead of C stdio. | Daniel Dunbar | 2009-10-17 | 1 | -9/+6 |
| | | | | | llvm-svn: 84340 | ||||
| * | Rewrite AttributeList::getKind to use StringRef API. | Daniel Dunbar | 2009-10-17 | 1 | -8/+5 |
| | | | | | llvm-svn: 84339 | ||||
| * | Simplify. | Daniel Dunbar | 2009-10-17 | 1 | -15/+5 |
| | | | | | llvm-svn: 84338 | ||||
| * | Use raw_ostream for formatting integers, and use IdentifierInfo::getNameStr | Daniel Dunbar | 2009-10-17 | 1 | -10/+4 |
| | | | | | | | | instead of getName. - -2 FIXMEs. llvm-svn: 84337 | ||||
| * | Minor cleanup: move typedef out of anonymous namespace (which now contains ↵ | Ted Kremenek | 2009-10-17 | 1 | -4/+2 |
| | | | | | | | nothing) and into RemoveDeadBindings. No functionality change. llvm-svn: 84335 | ||||
| * | Write the preprocessor block after we write out types + declarations, | Douglas Gregor | 2009-10-17 | 2 | -2/+3 |
| | | | | | | | | | so that we catch any macros used within the declarations and types. Also, properly store a NULL selector. llvm-svn: 84334 | ||||
| * | Suppress -Asserts warning. | Daniel Dunbar | 2009-10-17 | 1 | -0/+1 |
| | | | | | llvm-svn: 84329 | ||||
| * | Per discussion with Ted, the 'FromSuper'/'FromSub' logic is invalid. Simplify | Zhongxing Xu | 2009-10-17 | 1 | -72/+33 |
| | | | | | | | | the code to standard worklist algorithm. Always add both sub and super regions of live regions. llvm-svn: 84323 | ||||
| * | Fix another static analyzer crash due to a corner case in "folding" symbolic ↵ | Ted Kremenek | 2009-10-17 | 1 | -11/+16 |
| | | | | | | | values that are constrained to be a constant. llvm-svn: 84320 | ||||
| * | Actually all regions whose super region is not MemSpaceRegion are of these 3 | Zhongxing Xu | 2009-10-17 | 1 | -5/+4 |
| | | | | | | | kinds. This means we are visiting all regions 'from super region'. llvm-svn: 84319 | ||||
| * | Don't crash when dumping pretty stack traces, if the current tok is an | Daniel Dunbar | 2009-10-17 | 1 | -1/+4 |
| | | | | | | | | | annotation token. - I'm not sure what the best thing to print is, for now we just print the token location and 'at annotation token'. llvm-svn: 84312 | ||||
| * | Fix PR5211: codegen shouldn't assume that the result of ||/&& is int | Chris Lattner | 2009-10-17 | 1 | -10/+14 |
| | | | | | | | anymore. In C++ it is bool. llvm-svn: 84308 | ||||
| * | Simplify. | Daniel Dunbar | 2009-10-17 | 1 | -3/+1 |
| | | | | | llvm-svn: 84307 | ||||
| * | Add Ubuntu 9.04 C++ search path. | Daniel Dunbar | 2009-10-17 | 1 | -0/+5 |
| | | | | | llvm-svn: 84301 | ||||
| * | Add 'UseBumpPtrAllocator' flag to ASTUnit::LoadFromPCHFile() to cause the ↵ | Ted Kremenek | 2009-10-17 | 1 | -2/+3 |
| | | | | | | | | | | | | created ASTContext to use its own BumpPtrAllocator to allocate ASTs. Change clang_createTranslationUnit (CIndex) to pass 'UseBumpPtrAllocator = true' to ASTUnit::LoadFromPCHFile(). llvm-svn: 84296 | ||||
| * | Merge the "types" and "declarations" blocks in the precompiled header | Douglas Gregor | 2009-10-17 | 3 | -116/+78 |
| | | | | | | | | | | | | | | | | format, so that we don't end up with multiple declaration and types blocks. Also, fix a few obscure bugs with PCH loading and generation: - If the DeclIDs DenseMap reallocates while we are writing a declaration (due to recursively writing other declarations), we could end up writing a bad ID to ExternalDefinitions. - When loading an ArrayLoc (part of DeclaratorInfo), we need to set the size expression to NULL if no size expression was provided. PCH -> AST rewriting is still partly broken, unfortunately. llvm-svn: 84293 | ||||
| * | Patch to clean up and improve visual display of | Fariborz Jahanian | 2009-10-16 | 1 | -7/+14 |
| | | | | | | | builtin function ambiguity. llvm-svn: 84289 | ||||
| * | While writing source-location entries to a PCH file, go through an | Douglas Gregor | 2009-10-16 | 2 | -8/+7 |
| | | | | | | | | interface that can load those source-location entries on demand (from another PCH file). llvm-svn: 84287 | ||||
| * | Allow TypeLocs to be fully initialized with a single SourceLocation. This | John McCall | 2009-10-16 | 1 | -12/+27 |
| | | | | | | | will be the keystone of converting existing rewrites to be rewrites on TypeLocs. llvm-svn: 84286 | ||||
| * | Use VisibleQuals to control setting of Volatile/Restrict qualifiers on | Fariborz Jahanian | 2009-10-16 | 1 | -7/+15 |
| | | | | | | | | candidate types in BuiltinCandidateTypeSet::AddPointerWithMoreQualifiedTypeVariants further trimming the overload candidate set. llvm-svn: 84281 | ||||
| * | Factor out routines to encode/decode DeclaratorInfos and move them into the | John McCall | 2009-10-16 | 4 | -153/+163 |
| | | | | | | | core PCH reader/writer implementation files. llvm-svn: 84278 | ||||
| * | Fix static analyzer crash due to recently add symbolic-value constant ↵ | Ted Kremenek | 2009-10-16 | 1 | -1/+9 |
| | | | | | | | | | | folding. The issue was falsely converting the constant value of the LHS of a '<<'/'>>' operation to the same APSInt value of the RHS. llvm-svn: 84269 | ||||
| * | Keep track of whether declararions were loaded from a precompiled | Douglas Gregor | 2009-10-16 | 3 | -2/+7 |
| | | | | | | | | | | | header or not via a new "PCHLevel" field in Decl. We currently use this information to help CIndex filter out declarations that came from a precompiled header (rather than from an AST file). Further down the road, it can be used to help implement multi-level precompiled headers. llvm-svn: 84267 | ||||
| * | dynamic linker arg is incorrectly invoking gnu ld arg syntax instead of svr4 ↵ | Edward O'Callaghan | 2009-10-16 | 1 | -1/+1 |
| | | | | | | | ld syntax in AuroraUX toolchain. llvm-svn: 84266 | ||||
| * | Implement derived-to-base AST/code gen. There is a | Fariborz Jahanian | 2009-10-16 | 3 | -9/+60 |
| | | | | | | | | FIXME in CGCXX.cpp that I would like Anders to take a look at. llvm-svn: 84265 | ||||
| * | Add support for a chain of stat caches in the FileManager, rather than | Douglas Gregor | 2009-10-16 | 6 | -20/+59 |
| | | | | | | | | | | only supporting a single stat cache. The immediate benefit of this change is that we can now generate a PCH/AST file when including another PCH file; in the future, the chain of stat caches will likely be useful with multiple levels of PCH files. llvm-svn: 84263 | ||||
| * | Implement PR4407 - missing warnings on case value overflow, | Chris Lattner | 2009-10-16 | 1 | -2/+27 |
| | | | | | | | patch by Zhanyong Wan! llvm-svn: 84259 | ||||
| * | ignore 'using' directive in CodeGenFunction::EmitDecl(). this fixes PR5085 | Nuno Lopes | 2009-10-16 | 1 | -0/+1 |
| | | | | | llvm-svn: 84255 | ||||
| * | fix -ansi in c++: it means -std=c++98 | Nuno Lopes | 2009-10-16 | 1 | -1/+4 |
| | | | | | llvm-svn: 84254 | ||||
| * | Add CK_VectorSplat and use it for casting non-pointer scalars to ExtVectors. | Anders Carlsson | 2009-10-16 | 3 | -10/+22 |
| | | | | | llvm-svn: 84245 | ||||
| * | Make CheckVectorCast return a CastKind. Reduce nesting of if statements in ↵ | Anders Carlsson | 2009-10-16 | 2 | -20/+33 |
| | | | | | | | CheckCastTypes. llvm-svn: 84242 | ||||
| * | Add a ToVoid cast kind and start using it. | Anders Carlsson | 2009-10-16 | 2 | -1/+7 |
| | | | | | llvm-svn: 84241 | ||||
| * | increase helpfulness of assert message. | Chris Lattner | 2009-10-16 | 1 | -1/+6 |
| | | | | | llvm-svn: 84240 | ||||
| * | Builtin types are subsitutable if they are qualified. Fixes PR5196. | Anders Carlsson | 2009-10-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 84237 | ||||
| * | The result type of logical || and && is bool in C++. Fixes PR5206. | Anders Carlsson | 2009-10-16 | 1 | -3/+10 |
| | | | | | llvm-svn: 84231 | ||||
| * | Work-around wchar_t and __pragma problem in VC headers | John Thompson | 2009-10-16 | 1 | -2/+11 |
| | | | | | llvm-svn: 84227 | ||||
| * | retain/release checker: Stop tracking reference counts for any symbols ↵ | Ted Kremenek | 2009-10-16 | 3 | -14/+37 |
| | | | | | | | | | touched by StoreManager::InvalidateRegion(). This fixes <rdar://problem/7257223> and <rdar://problem/7283470>. llvm-svn: 84223 | ||||
| * | Remove the ConstantArrayType subtypes. This information is preserved in the | John McCall | 2009-10-16 | 10 | -239/+9 |
| | | | | | | | | | | | TypeLoc records for declarations; it should not be necessary to represent it directly in the type system. Please complain if you were using these classes and feel you can't replicate previous functionality using the TypeLoc API. llvm-svn: 84222 | ||||
| * | Disallow arbitrary custom inline asm constraints for msp430. | Anton Korobeynikov | 2009-10-15 | 1 | -2/+2 |
| | | | | | llvm-svn: 84219 | ||||
| * | Improve point-of-instantiation location information for members of class ↵ | Douglas Gregor | 2009-10-15 | 1 | -2/+2 |
| | | | | | | | templates llvm-svn: 84217 | ||||
| * | Make the remaining explicit-instantiation semantic action use | Douglas Gregor | 2009-10-15 | 1 | -51/+19 |
| | | | | | | | | | | CheckSpecializationInstantiationRedecl to check for redeclarations/instantiations. Also fixes a longstanding issue where our explicit-instantiation location information wasn't as good as it could have been. llvm-svn: 84216 | ||||
| * | Educate the retain/release checker about [NSCursor dragCopyCursor]. | Ted Kremenek | 2009-10-15 | 1 | -0/+5 |
| | | | | | | | This fixes <rdar://problem/7306898> llvm-svn: 84213 | ||||
| * | retain/release checker: Use simpler utility method for creating class method ↵ | Ted Kremenek | 2009-10-15 | 1 | -7/+5 |
| | | | | | | | summaries. No functionality change. llvm-svn: 84210 | ||||
| * | Make sure temporary files get unlinked. | Steve Naroff | 2009-10-15 | 1 | -2/+9 |
| | | | | | llvm-svn: 84208 | ||||
| * | Driver: Default to using PTH for C++ precompiled header support, PCH for C++ | Daniel Dunbar | 2009-10-15 | 1 | -5/+15 |
| | | | | | | | | | isn't implemented yet. - <rdar://problem/7297571> Clang should use pretokenized headers for C++ PCH files llvm-svn: 84197 | ||||
| * | Make sure that we're diagnosing duplicate explicit instantiation definitions. | Douglas Gregor | 2009-10-15 | 2 | -3/+12 |
| | | | | | llvm-svn: 84189 | ||||

